com.adventnet.snmp.beans
Class PropertyCustomPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.adventnet.snmp.beans.PropertyCustomPanel
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class PropertyCustomPanel
extends javax.swing.JPanel

This is the custom panel for v3 settings for all AdventNet Snmp Beans.

See Also:
Serialized Form

Nested Class Summary
(package private)  class PropertyCustomPanel.selectionListener
           
(package private)  class PropertyCustomPanel.UserAddEditor
           
(package private)  class PropertyCustomPanel.UserTableModel
           
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  java.lang.String aPass
           
(package private)  javax.swing.JComboBox authProtChoice
           
(package private)  java.lang.String authProtocol
           
(package private)  int currentUser
           
(package private)  SnmpEngineTable engineTable
           
(package private)  java.lang.String host
           
(package private)  java.awt.Font lfont
           
(package private)  int port
           
(package private)  java.lang.String pPass
           
(package private)  javax.swing.JComboBox privProtChoice
           
(package private)  javax.swing.JScrollPane scrpan
           
(package private)  java.lang.String secLevel
           
(package private)  javax.swing.JComboBox secLevelChoice
           
(package private)  javax.swing.JLabel statlabel
           
(package private)  java.beans.PropertyChangeSupport support
           
(package private)  javax.swing.JTable table
           
(package private)  CustomizerTemplate target
           
(package private)  java.lang.String uName
           
(package private)  PropertyCustomPanel.UserAddEditor useraddpanel
           
(package private)  java.util.Vector usersVec
           
(package private)  USMUserTable usmTable
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PropertyCustomPanel(java.lang.Object o, java.beans.PropertyChangeSupport support)
           
 
Method Summary
(package private)  void addUsers()
           
(package private) static int authToInt(java.lang.String auth)
           
(package private) static java.lang.String authToString(int auth)
           
(package private)  void deleteUsers()
           
(package private)  void fillUsersData(boolean update)
           
(package private)  void modifyUsers()
           
(package private) static java.lang.String privToString(int priv)
           
(package private) static byte secToByte(java.lang.String secLevel)
           
(package private) static java.lang.String secToString(byte secLevel)
           
 void updateEditor()
          this will refesh the USM Table entry in JTable
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

target

CustomizerTemplate target

usersVec

java.util.Vector usersVec

host

java.lang.String host

port

int port

scrpan

javax.swing.JScrollPane scrpan

support

java.beans.PropertyChangeSupport support

useraddpanel

PropertyCustomPanel.UserAddEditor useraddpanel

usmTable

USMUserTable usmTable

engineTable

SnmpEngineTable engineTable

lfont

java.awt.Font lfont

table

javax.swing.JTable table

currentUser

int currentUser

authProtChoice

javax.swing.JComboBox authProtChoice

privProtChoice

javax.swing.JComboBox privProtChoice

secLevelChoice

javax.swing.JComboBox secLevelChoice

statlabel

javax.swing.JLabel statlabel

uName

java.lang.String uName

aPass

java.lang.String aPass

pPass

java.lang.String pPass

secLevel

java.lang.String secLevel

authProtocol

java.lang.String authProtocol
Constructor Detail

PropertyCustomPanel

public PropertyCustomPanel(java.lang.Object o,
                           java.beans.PropertyChangeSupport support)
Method Detail

updateEditor

public void updateEditor()
this will refesh the USM Table entry in JTable


addUsers

void addUsers()

modifyUsers

void modifyUsers()

deleteUsers

void deleteUsers()

fillUsersData

void fillUsersData(boolean update)

authToInt

static int authToInt(java.lang.String auth)

secToString

static java.lang.String secToString(byte secLevel)

secToByte

static byte secToByte(java.lang.String secLevel)

authToString

static java.lang.String authToString(int auth)

privToString

static java.lang.String privToString(int priv)