|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.swt.widgets.Dialog
net.fenyo.gnetwatch.GUI.DialogCredentials
public class DialogCredentials
This class manages the "credentials" dialog.
| Field Summary | |
|---|---|
private int |
bglevel
|
private org.eclipse.swt.widgets.Composite |
bottom_composite
|
private org.eclipse.swt.layout.RowLayout |
bottom_composite_layout
|
private java.lang.String |
community
|
private org.eclipse.swt.widgets.Group |
group_credentials
|
private org.eclipse.swt.layout.GridLayout |
group_credentials_layout
|
private org.eclipse.swt.widgets.Group |
group_credentials_v2c
|
private org.eclipse.swt.layout.GridLayout |
group_credentials_v2c_layout
|
private org.eclipse.swt.widgets.Text |
group_credentials_v2c_value
|
private org.eclipse.swt.widgets.Text |
group_credentials_value
|
private org.eclipse.swt.widgets.Text |
group_credentials_value2
|
private org.eclipse.swt.widgets.Text |
group_credentials_value3
|
private org.eclipse.swt.widgets.Group |
group_network_parameters
|
private org.eclipse.swt.layout.GridLayout |
group_network_parameters_layout
|
private org.eclipse.swt.widgets.Composite |
groups_composite
|
private org.eclipse.swt.layout.GridData |
groups_composite_grid_data
|
private org.eclipse.swt.layout.RowLayout |
groups_composite_layout
|
private GUI |
gui
|
private org.eclipse.swt.layout.GridLayout |
layout
|
private static Log |
log
|
private java.lang.String |
password_auth
|
private java.lang.String |
password_priv
|
private int |
pdu_max_size
|
private int |
port
|
private int |
retries
|
private int |
sec
|
private int |
timeout
|
private java.lang.String |
username
|
private int |
version
|
| Constructor Summary | |
|---|---|
DialogCredentials(GUI gui,
org.eclipse.swt.widgets.Shell parent)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCommunity()
Returns the community string. |
java.lang.String |
getPasswordAuth()
Returns the password authentication. |
java.lang.String |
getPasswordPriv()
Returns the password privacy. |
int |
getPDUMaxSize()
Returns the maximum PDU size. |
int |
getPort()
Returns the SNMP agent UDP port. |
int |
getRetries()
Gets number of retries. |
int |
getSec()
Gets security level. |
int |
getTimeout()
Gets SNMP timeout per try. |
java.lang.String |
getUsername()
Returns the username. |
int |
getVersion()
Gets SNMP version. |
void |
open()
Displays the dialog. |
void |
setCommunity(java.lang.String community)
Sets the community string. |
void |
setPasswordAuth(java.lang.String password_auth)
Sets the password authentication. |
void |
setPasswordPriv(java.lang.String password_priv)
Sets the password privacy. |
void |
setPDUMaxSize(int pdu_max_size)
Sets the PDU maximum size. |
void |
setPort(int port)
Sets the SNMP agent UDP port. |
void |
setRetries(int retries)
Sets the number of SNMP retries. |
void |
setSec(int sec)
Sets the security level. |
void |
setTimeout(int timeout)
Sets the SNMP timeout per try. |
void |
setUsername(java.lang.String username)
Sets the username. |
void |
setVersion(int version)
Sets the SNMP version. |
| Methods inherited from class org.eclipse.swt.widgets.Dialog |
|---|
checkSubclass, getParent, getStyle, getText, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Log log
private final GUI gui
private final int bglevel
private org.eclipse.swt.layout.GridLayout layout
private org.eclipse.swt.widgets.Composite groups_composite
private org.eclipse.swt.widgets.Composite bottom_composite
private org.eclipse.swt.layout.RowLayout groups_composite_layout
private org.eclipse.swt.layout.RowLayout bottom_composite_layout
private org.eclipse.swt.layout.GridData groups_composite_grid_data
private org.eclipse.swt.widgets.Group group_network_parameters
private org.eclipse.swt.widgets.Group group_credentials
private org.eclipse.swt.widgets.Group group_credentials_v2c
private org.eclipse.swt.layout.GridLayout group_network_parameters_layout
private org.eclipse.swt.layout.GridLayout group_credentials_layout
private org.eclipse.swt.layout.GridLayout group_credentials_v2c_layout
private org.eclipse.swt.widgets.Text group_credentials_value
private org.eclipse.swt.widgets.Text group_credentials_value2
private org.eclipse.swt.widgets.Text group_credentials_value3
private org.eclipse.swt.widgets.Text group_credentials_v2c_value
private int version
private int sec
private int retries
private int timeout
private int port
private java.lang.String community
private java.lang.String username
private java.lang.String password_auth
private java.lang.String password_priv
private int pdu_max_size
| Constructor Detail |
|---|
public DialogCredentials(GUI gui,
org.eclipse.swt.widgets.Shell parent)
gui - current GUI instance.parent - parent shell.| Method Detail |
|---|
public int getVersion()
none. -
public int getSec()
none. -
public int getRetries()
none. -
public int getTimeout()
none. -
public int getPort()
none. -
public java.lang.String getCommunity()
none. -
public java.lang.String getUsername()
none. -
public java.lang.String getPasswordAuth()
none. -
public java.lang.String getPasswordPriv()
none. -
public int getPDUMaxSize()
none. -
public void setVersion(int version)
version - SNMP version.public void setSec(int sec)
sec - security level.public void setRetries(int retries)
int - number of SNMP retries.public void setTimeout(int timeout)
timeout - timeout per try.public void setPort(int port)
port - SNMP agent UDP port.public void setCommunity(java.lang.String community)
community - community string.public void setUsername(java.lang.String username)
username - username.public void setPasswordAuth(java.lang.String password_auth)
password_auth - password authentication.public void setPasswordPriv(java.lang.String password_priv)
password_priv - password privacy.;public void setPDUMaxSize(int pdu_max_size)
pdu_max_size - PDU maximum size.public void open()
none. -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||