confutil
Class ConfUtil
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
confutil.ConfUtil
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- class ConfUtil
- extends javax.swing.JFrame
Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
protected java.lang.String |
adminPasswd
|
(package private) javax.swing.border.Border |
border1
|
(package private) javax.swing.border.Border |
border2
|
(package private) javax.swing.border.Border |
border3
|
(package private) javax.swing.border.Border |
border4
|
(package private) javax.swing.border.Border |
border5
|
(package private) javax.swing.border.Border |
border6
|
(package private) javax.swing.border.Border |
border7
|
(package private) javax.swing.border.Border |
border8
|
(package private) java.awt.BorderLayout |
borderLayout1
|
(package private) javax.swing.JButton |
btBrowse
|
(package private) javax.swing.JButton |
btSet
|
(package private) javax.swing.JButton |
btUnset
|
(package private) java.awt.CardLayout |
cardLayout1
|
(package private) javax.swing.JCheckBox |
chkInitAp
|
(package private) javax.swing.JCheckBox |
chkIpt
|
(package private) javax.swing.JCheckBox |
chkMask
|
(package private) javax.swing.JCheckBox |
chkMqKey
|
(package private) javax.swing.JCheckBox |
chkPort
|
(package private) javax.swing.JCheckBox |
chkPublicKey
|
(package private) javax.swing.JCheckBox |
chkSubnet
|
(package private) javax.swing.JCheckBox |
chkTCAAddr
|
protected ConfClient |
client
|
(package private) javax.swing.JPanel |
configPanel
|
(package private) java.awt.GridBagLayout |
gridBagLayout1
|
(package private) java.awt.GridBagLayout |
gridBagLayout2
|
(package private) java.awt.GridBagLayout |
gridBagLayout3
|
(package private) java.awt.GridBagLayout |
gridBagLayout4
|
(package private) java.awt.GridBagLayout |
gridBagLayout5
|
(package private) java.awt.GridBagLayout |
gridBagLayout6
|
(package private) javax.swing.JLabel |
jLabel1
|
(package private) javax.swing.JLabel |
jLabel2
|
(package private) javax.swing.JLabel |
jLabel3
|
(package private) javax.swing.JLabel |
jLabel4
|
(package private) javax.swing.JLabel |
jLabel5
|
(package private) javax.swing.JPanel |
jPanel1
|
(package private) javax.swing.JPanel |
jPanel2
|
(package private) javax.swing.JPanel |
jPanel3
|
(package private) javax.swing.JPanel |
jPanel4
|
(package private) javax.swing.JPanel |
jPanel5
|
(package private) javax.swing.JPanel |
jPanel6
|
(package private) javax.swing.JScrollPane |
jScrollPane1
|
(package private) javax.swing.JLabel |
lblStatus
|
(package private) javax.swing.JLabel |
lblWithSelected
|
(package private) javax.swing.JMenuBar |
mbMenuBar
|
(package private) javax.swing.JPanel |
messagesPanel
|
(package private) javax.swing.JMenuItem |
miAbout
|
(package private) javax.swing.JMenuItem |
miAddr
|
(package private) javax.swing.JMenuItem |
miCheckAll
|
(package private) javax.swing.JMenuItem |
miConfig
|
(package private) javax.swing.JMenuItem |
miGetVars
|
(package private) javax.swing.JMenuItem |
miMessages
|
(package private) javax.swing.JMenuItem |
miPasswd
|
(package private) javax.swing.JMenuItem |
miUncheckAll
|
(package private) javax.swing.JMenu |
mnuHelp
|
(package private) javax.swing.JMenu |
mnuRouter
|
(package private) javax.swing.JMenu |
mnuView
|
protected java.net.InetAddress |
serverAddr
|
(package private) javax.swing.JPanel |
statusPanel
|
(package private) javax.swing.JTabbedPane |
tabs
|
(package private) javax.swing.border.TitledBorder |
titledBorder1
|
(package private) javax.swing.border.TitledBorder |
titledBorder2
|
(package private) javax.swing.JTextField |
txtIpt
|
(package private) javax.swing.JTextField |
txtKeyPath
|
(package private) javax.swing.JTextField |
txtMask
|
(package private) javax.swing.JTextArea |
txtMessages
|
(package private) javax.swing.JTextField |
txtMqKey
|
(package private) javax.swing.JTextField |
txtPort
|
(package private) javax.swing.JTextField |
txtSubnet
|
(package private) javax.swing.JTextField |
txtSubnet2
|
(package private) javax.swing.JTextField |
txtTcaIpAfddr
|
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
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 |
(package private) |
ConfUtil()
|
Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, 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, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
client
protected ConfClient client
serverAddr
protected java.net.InetAddress serverAddr
adminPasswd
protected java.lang.String adminPasswd
mbMenuBar
javax.swing.JMenuBar mbMenuBar
mnuRouter
javax.swing.JMenu mnuRouter
miPasswd
javax.swing.JMenuItem miPasswd
miAddr
javax.swing.JMenuItem miAddr
mnuView
javax.swing.JMenu mnuView
miCheckAll
javax.swing.JMenuItem miCheckAll
miUncheckAll
javax.swing.JMenuItem miUncheckAll
miConfig
javax.swing.JMenuItem miConfig
miMessages
javax.swing.JMenuItem miMessages
mnuHelp
javax.swing.JMenu mnuHelp
miAbout
javax.swing.JMenuItem miAbout
tabs
javax.swing.JTabbedPane tabs
configPanel
javax.swing.JPanel configPanel
messagesPanel
javax.swing.JPanel messagesPanel
statusPanel
javax.swing.JPanel statusPanel
lblStatus
javax.swing.JLabel lblStatus
borderLayout1
java.awt.BorderLayout borderLayout1
border1
javax.swing.border.Border border1
txtTcaIpAfddr
javax.swing.JTextField txtTcaIpAfddr
jLabel1
javax.swing.JLabel jLabel1
jLabel2
javax.swing.JLabel jLabel2
jLabel3
javax.swing.JLabel jLabel3
jLabel4
javax.swing.JLabel jLabel4
jPanel1
javax.swing.JPanel jPanel1
chkPublicKey
javax.swing.JCheckBox chkPublicKey
txtKeyPath
javax.swing.JTextField txtKeyPath
btBrowse
javax.swing.JButton btBrowse
border2
javax.swing.border.Border border2
jPanel2
javax.swing.JPanel jPanel2
jPanel3
javax.swing.JPanel jPanel3
txtSubnet
javax.swing.JTextField txtSubnet
chkSubnet
javax.swing.JCheckBox chkSubnet
chkMask
javax.swing.JCheckBox chkMask
border3
javax.swing.border.Border border3
titledBorder1
javax.swing.border.TitledBorder titledBorder1
gridBagLayout2
java.awt.GridBagLayout gridBagLayout2
chkTCAAddr
javax.swing.JCheckBox chkTCAAddr
txtMask
javax.swing.JTextField txtMask
jPanel4
javax.swing.JPanel jPanel4
chkMqKey
javax.swing.JCheckBox chkMqKey
txtMqKey
javax.swing.JTextField txtMqKey
gridBagLayout1
java.awt.GridBagLayout gridBagLayout1
border4
javax.swing.border.Border border4
titledBorder2
javax.swing.border.TitledBorder titledBorder2
gridBagLayout3
java.awt.GridBagLayout gridBagLayout3
border5
javax.swing.border.Border border5
lblWithSelected
javax.swing.JLabel lblWithSelected
gridBagLayout4
java.awt.GridBagLayout gridBagLayout4
jPanel5
javax.swing.JPanel jPanel5
btSet
javax.swing.JButton btSet
jLabel5
javax.swing.JLabel jLabel5
btUnset
javax.swing.JButton btUnset
border6
javax.swing.border.Border border6
gridBagLayout5
java.awt.GridBagLayout gridBagLayout5
miGetVars
javax.swing.JMenuItem miGetVars
jScrollPane1
javax.swing.JScrollPane jScrollPane1
txtMessages
javax.swing.JTextArea txtMessages
jPanel6
javax.swing.JPanel jPanel6
chkInitAp
javax.swing.JCheckBox chkInitAp
border7
javax.swing.border.Border border7
chkPort
javax.swing.JCheckBox chkPort
txtSubnet2
javax.swing.JTextField txtSubnet2
txtPort
javax.swing.JTextField txtPort
txtIpt
javax.swing.JTextField txtIpt
chkIpt
javax.swing.JCheckBox chkIpt
border8
javax.swing.border.Border border8
gridBagLayout6
java.awt.GridBagLayout gridBagLayout6
cardLayout1
java.awt.CardLayout cardLayout1
ConfUtil
ConfUtil()
retrieveValues
public void retrieveValues()
authenticateUser
public boolean authenticateUser(java.lang.String passwd,
java.net.Socket socket)
handleVariable
public java.lang.String handleVariable(int action,
java.lang.String var,
java.lang.String val)
main
public static void main(java.lang.String[] args)
miCheckAll_actionPerformed
public void miCheckAll_actionPerformed(java.awt.event.ActionEvent e)
miUncheckAll_actionPerformed
public void miUncheckAll_actionPerformed(java.awt.event.ActionEvent e)
miConfig_actionPerformed
public void miConfig_actionPerformed(java.awt.event.ActionEvent e)
miMessages_actionPerformed
public void miMessages_actionPerformed(java.awt.event.ActionEvent e)
chkPublicKey_stateChanged
public void chkPublicKey_stateChanged(javax.swing.event.ChangeEvent e)
chkPublicKey_actionPerformed
public void chkPublicKey_actionPerformed(java.awt.event.ActionEvent e)
chkMqKey_actionPerformed
public void chkMqKey_actionPerformed(java.awt.event.ActionEvent e)
chkTCAAddr_actionPerformed
public void chkTCAAddr_actionPerformed(java.awt.event.ActionEvent e)
chkMask_actionPerformed
public void chkMask_actionPerformed(java.awt.event.ActionEvent e)
chkSubnet_actionPerformed
public void chkSubnet_actionPerformed(java.awt.event.ActionEvent e)
miAddr_actionPerformed
public void miAddr_actionPerformed(java.awt.event.ActionEvent e)
miPasswd_actionPerformed
public void miPasswd_actionPerformed(java.awt.event.ActionEvent e)
btSet_actionPerformed
void btSet_actionPerformed(java.awt.event.ActionEvent e)
btUnset_actionPerformed
void btUnset_actionPerformed(java.awt.event.ActionEvent e)
miGetVars_actionPerformed
void miGetVars_actionPerformed(java.awt.event.ActionEvent e)
btBrowse_actionPerformed
void btBrowse_actionPerformed(java.awt.event.ActionEvent e)
readPublicKey
public java.lang.String readPublicKey(java.lang.String path)
chkIpt_actionPerformed
void chkIpt_actionPerformed(java.awt.event.ActionEvent e)
chkInitAp_actionPerformed
void chkInitAp_actionPerformed(java.awt.event.ActionEvent e)
chkPort_actionPerformed
void chkPort_actionPerformed(java.awt.event.ActionEvent e)