| 
SNMP Stack 4_12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--uk.co.westhawk.examplev3.propertyDialog2
The class propertyDialog is used to set the SNMPv3 properties. A user can add an actionListener to be notified when the "Apply" or "OK" button is pressed.
The user can configure
| Inner classes inherited from class javax.swing.JDialog | 
javax.swing.JDialog.AccessibleJDialog | 
| Inner classes inherited from class java.awt.Dialog | 
java.awt.Dialog.AccessibleAWTDialog | 
| Inner classes inherited from class java.awt.Window | 
java.awt.Window.AccessibleAWTWindow | 
| Inner classes inherited from class java.awt.Container | 
java.awt.Container.AccessibleAWTContainer | 
| Inner classes inherited from class java.awt.Component | 
java.awt.Component.AccessibleAWTComponent | 
| Field Summary | |
protected  java.util.Vector | 
actionPerformedListener
 | 
protected  byte[] | 
contextEngineId
 | 
protected  java.lang.String | 
contextName
 | 
protected  boolean | 
doAuthentication
 | 
protected  boolean | 
doPrivacy
 | 
protected  javax.swing.JFileChooser | 
fileChooser
 | 
protected  java.lang.String | 
host
 | 
protected  java.lang.String | 
port
 | 
protected  int | 
protocol
 | 
protected  java.lang.String | 
socketType
 | 
protected  java.lang.String | 
userAuthPassw
 | 
protected  java.lang.String | 
userName
 | 
protected  java.lang.String | 
userPrivPassw
 | 
protected  Util | 
util
 | 
| Fields inherited from class javax.swing.JDialog | 
accessibleContext, rootPane, rootPaneCheckingEnabled | 
| Fields inherited from class java.awt.Component | 
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | 
| Fields inherited from interface javax.swing.WindowConstants | 
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE | 
| Fields inherited from interface java.awt.image.ImageObserver | 
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | 
| Constructor Summary | |
propertyDialog2()
 | 
|
propertyDialog2(javax.swing.JFrame frame)
 | 
|
propertyDialog2(javax.swing.JFrame frame,
                Util u)
 | 
|
| Method Summary | |
 void | 
actionPerformed(java.awt.event.ActionEvent evt)
 | 
 void | 
addActionListener(java.awt.event.ActionListener l)
Adds an action listener to be notified when the "Apply" or "OK" button is pressed.  | 
 void | 
fillinFromUtil(Util u)
 | 
protected  void | 
fireActionPerformed(java.awt.event.ActionEvent evt)
Fires a action event when the "Apply" or "OK" button is pressed.  | 
 byte[] | 
getContextEngineId()
 | 
 java.lang.String | 
getContextName()
 | 
static java.awt.GridBagConstraints | 
getGridBagConstraints2(int x,
                       int y,
                       int w,
                       int h,
                       double wx,
                       double wy,
                       int anchor,
                       int fill,
                       java.awt.Insets ins,
                       int ix,
                       int iy)
 | 
 java.lang.String | 
getHost()
Returns the host string  | 
 java.lang.String | 
getPort()
Returns the port string  | 
 int | 
getProtocol()
 | 
 java.lang.String | 
getSocketType()
 | 
 java.lang.String | 
getUserAuthPassw()
 | 
 java.lang.String | 
getUserName()
 | 
 java.lang.String | 
getUserPrivPassw()
 | 
 boolean | 
isAuthentication()
 | 
 boolean | 
isPrivacy()
 | 
 void | 
itemStateChanged(java.awt.event.ItemEvent evt)
 | 
 void | 
removeActionListener(java.awt.event.ActionListener l)
Removes an action listener.  | 
 void | 
setAuthentication(boolean newVar)
 | 
 void | 
setContextEngineId(byte[] newVar)
 | 
 void | 
setContextName(java.lang.String newVar)
 | 
 void | 
setHost(java.lang.String newVar)
Sets the host string.  | 
 void | 
setPort(java.lang.String newVar)
Sets the port string.  | 
 void | 
setPrivacy(boolean newVar)
 | 
 void | 
setProtocol(int newVar)
 | 
 void | 
setSocketType(java.lang.String newVar)
 | 
 void | 
setUserAuthPassw(java.lang.String newVar)
 | 
 void | 
setUserName(java.lang.String newVar)
 | 
 void | 
setUserPrivPassw(java.lang.String newVar)
 | 
 void | 
windowActivated(java.awt.event.WindowEvent evt)
 | 
 void | 
windowClosed(java.awt.event.WindowEvent evt)
 | 
 void | 
windowClosing(java.awt.event.WindowEvent evt)
 | 
 void | 
windowDeactivated(java.awt.event.WindowEvent evt)
 | 
 void | 
windowDeiconified(java.awt.event.WindowEvent evt)
 | 
 void | 
windowIconified(java.awt.event.WindowEvent evt)
 | 
 void | 
windowOpened(java.awt.event.WindowEvent evt)
 | 
| Methods inherited from class javax.swing.JDialog | 
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update | 
| Methods inherited from class java.awt.Dialog | 
addNotify, dispose, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show | 
| Methods inherited from class java.awt.Window | 
addWindowListener, applyResourceBundle, applyResourceBundle, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, removeWindowListener, setCursor, toBack, toFront | 
| Methods inherited from class java.awt.Container | 
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree | 
| Methods inherited from class java.awt.Component | 
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus | 
| Methods inherited from class java.lang.Object | 
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected java.util.Vector actionPerformedListener
protected java.lang.String host
protected java.lang.String port
protected byte[] contextEngineId
protected java.lang.String contextName
protected java.lang.String userName
protected boolean doAuthentication
protected boolean doPrivacy
protected java.lang.String userAuthPassw
protected java.lang.String userPrivPassw
protected java.lang.String socketType
protected int protocol
protected javax.swing.JFileChooser fileChooser
protected Util util
| Constructor Detail | 
public propertyDialog2()
public propertyDialog2(javax.swing.JFrame frame)
public propertyDialog2(javax.swing.JFrame frame,
                       Util u)
| Method Detail | 
public java.lang.String getHost()
public java.lang.String getPort()
public byte[] getContextEngineId()
public java.lang.String getContextName()
public java.lang.String getUserName()
public java.lang.String getUserAuthPassw()
public java.lang.String getSocketType()
public boolean isAuthentication()
public int getProtocol()
public boolean isPrivacy()
public java.lang.String getUserPrivPassw()
public void setHost(java.lang.String newVar)
newVar - the stringpublic void setPort(java.lang.String newVar)
newVar - the stringpublic void setSocketType(java.lang.String newVar)
public void setContextEngineId(byte[] newVar)
public void setContextName(java.lang.String newVar)
public void setUserName(java.lang.String newVar)
public void setAuthentication(boolean newVar)
public void setUserAuthPassw(java.lang.String newVar)
public void setProtocol(int newVar)
public void setPrivacy(boolean newVar)
public void setUserPrivPassw(java.lang.String newVar)
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic void itemStateChanged(java.awt.event.ItemEvent evt)
itemStateChanged in interface java.awt.event.ItemListenerpublic void fillinFromUtil(Util u)
public void addActionListener(java.awt.event.ActionListener l)
removeActionListener(java.awt.event.ActionListener)public void removeActionListener(java.awt.event.ActionListener l)
addActionListener(java.awt.event.ActionListener)protected void fireActionPerformed(java.awt.event.ActionEvent evt)
removeActionListener(java.awt.event.ActionListener), 
addActionListener(java.awt.event.ActionListener), 
ActionEvent, 
ActionListener
public static java.awt.GridBagConstraints getGridBagConstraints2(int x,
                                                                 int y,
                                                                 int w,
                                                                 int h,
                                                                 double wx,
                                                                 double wy,
                                                                 int anchor,
                                                                 int fill,
                                                                 java.awt.Insets ins,
                                                                 int ix,
                                                                 int iy)
public void windowActivated(java.awt.event.WindowEvent evt)
windowActivated in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent evt)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent evt)
windowClosing in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent evt)
windowClosed in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent evt)
windowIconified in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent evt)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent evt)
windowOpened in interface java.awt.event.WindowListener
  | 
SNMP Stack 4_12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||