inescID.revs.commissioner
Class ServersAdministration

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended byinescID.revs.commissioner.ServersAdministration
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class ServersAdministration
extends javax.swing.JPanel

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
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
static byte ADMINISTRATOR
           
(package private)  javax.swing.JPanel Administrators
           
(package private)  javax.swing.JList administrators_selection
           
static byte ANONYMIZER
           
(package private)  javax.swing.JPanel Anonymizers
           
(package private)  javax.swing.JList anonymizers_selection
           
(package private)  javax.swing.JButton back
           
(package private)  javax.swing.Box box1
           
(package private)  javax.swing.Box box2
           
(package private)  javax.swing.Box box3
           
(package private)  BoxLayout2 boxLayout21
           
(package private)  javax.swing.JButton cancel
           
(package private)  java.awt.Component component1
           
(package private)  java.awt.Component component2
           
static byte COUNTER
           
(package private)  javax.swing.JPanel Counters
           
(package private)  javax.swing.JList counters_selection
           
(package private)  javax.swing.JTextField description
           
static byte DISTRIBUTOR
           
(package private)  javax.swing.JPanel Distributors
           
(package private)  javax.swing.JList distributors_selection
           
(package private)  javax.swing.JButton edit
           
(package private)  javax.swing.JCheckBox enable
           
(package private)  java.awt.GridBagLayout gridBagLayout1
           
(package private)  javax.swing.JPanel jPanelButtons
           
(package private)  javax.swing.JPanel jPanelEdit
           
(package private)  javax.swing.JScrollPane jScrollPane1
           
(package private)  javax.swing.JScrollPane jScrollPane2
           
(package private)  javax.swing.JScrollPane jScrollPane3
           
(package private)  javax.swing.JScrollPane jScrollPane4
           
(package private)  javax.swing.JLabel ldescription
           
(package private)  javax.swing.JButton load_key
           
(package private)  javax.swing.JLabel lURL
           
static byte NONE
           
(package private)  javax.swing.JButton ok
           
(package private)  javax.swing.JPanel pTitle
           
private  int selection
           
(package private)  java.util.Vector[] server_list
           
(package private)  javax.swing.JList[] server_selection
           
(package private)  javax.swing.JTabbedPane servers
           
private  byte state
           
(package private)  javax.swing.JLabel title
           
(package private)  javax.swing.border.TitledBorder titledBorder1
           
(package private)  javax.swing.border.TitledBorder titledBorder2
           
(package private)  javax.swing.border.TitledBorder titledBorder3
           
static byte UPDATE
           
(package private)  javax.swing.JTextField URL
           
 
Fields inherited from class javax.swing.JPanel
 
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.Container
 
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
ServersAdministration()
           
ServersAdministration(Commissioner commi)
           
 
Method Summary
(package private)  void Administrators_focusGained(java.awt.event.FocusEvent e)
           
(package private)  void administrators_selection_valueChanged(javax.swing.event.ListSelectionEvent e)
           
(package private)  void Anonymizers_focusGained(java.awt.event.FocusEvent e)
           
(package private)  void anonymizers_selection_valueChanged(javax.swing.event.ListSelectionEvent e)
           
(package private)  void cancel_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void change_server()
           
(package private)  void Counters_focusGained(java.awt.event.FocusEvent e)
           
(package private)  void counters_selection_valueChanged(javax.swing.event.ListSelectionEvent e)
           
(package private)  void Distributors_focusGained(java.awt.event.FocusEvent e)
           
(package private)  void distributors_selection_valueChanged(javax.swing.event.ListSelectionEvent e)
           
(package private)  void edit_actionPerformed(java.awt.event.ActionEvent e)
           
 Server getServer()
           
 byte getTypeOfServer()
           
(package private)  void init()
           
(package private)  void jbInit()
           
 void releaseMemory()
           
 void setActionListener(Commissioner commi)
           
(package private)  void setSelected()
           
 void updateAdministratorsList(java.util.Vector administrators)
           
 void updateAnonymizersList(java.util.Vector anonymizers)
           
 void updateCountersList(java.util.Vector counters)
           
 void updateDistributorsList(java.util.Vector distributors)
           
 void updateLists(java.util.Vector distributors, java.util.Vector administrators, java.util.Vector anonymizers, java.util.Vector counters)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, 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

NONE

public static final byte NONE
See Also:
Constant Field Values

UPDATE

public static final byte UPDATE
See Also:
Constant Field Values

state

private byte state

selection

private int selection

DISTRIBUTOR

public static final byte DISTRIBUTOR
See Also:
Constant Field Values

ADMINISTRATOR

public static final byte ADMINISTRATOR
See Also:
Constant Field Values

ANONYMIZER

public static final byte ANONYMIZER
See Also:
Constant Field Values

COUNTER

public static final byte COUNTER
See Also:
Constant Field Values

server_list

java.util.Vector[] server_list

server_selection

javax.swing.JList[] server_selection

box1

javax.swing.Box box1

pTitle

javax.swing.JPanel pTitle

title

javax.swing.JLabel title

ldescription

javax.swing.JLabel ldescription

lURL

javax.swing.JLabel lURL

Administrators

javax.swing.JPanel Administrators

description

javax.swing.JTextField description

servers

javax.swing.JTabbedPane servers

URL

javax.swing.JTextField URL

titledBorder1

javax.swing.border.TitledBorder titledBorder1

titledBorder2

javax.swing.border.TitledBorder titledBorder2

titledBorder3

javax.swing.border.TitledBorder titledBorder3

Distributors

javax.swing.JPanel Distributors

Anonymizers

javax.swing.JPanel Anonymizers

Counters

javax.swing.JPanel Counters

jScrollPane1

javax.swing.JScrollPane jScrollPane1

distributors_selection

javax.swing.JList distributors_selection

box2

javax.swing.Box box2

box3

javax.swing.Box box3

jPanelEdit

javax.swing.JPanel jPanelEdit

gridBagLayout1

java.awt.GridBagLayout gridBagLayout1

jPanelButtons

javax.swing.JPanel jPanelButtons

edit

javax.swing.JButton edit

boxLayout21

BoxLayout2 boxLayout21

back

javax.swing.JButton back

ok

javax.swing.JButton ok

cancel

javax.swing.JButton cancel

component1

java.awt.Component component1

component2

java.awt.Component component2

jScrollPane2

javax.swing.JScrollPane jScrollPane2

administrators_selection

javax.swing.JList administrators_selection

jScrollPane3

javax.swing.JScrollPane jScrollPane3

anonymizers_selection

javax.swing.JList anonymizers_selection

jScrollPane4

javax.swing.JScrollPane jScrollPane4

counters_selection

javax.swing.JList counters_selection

enable

javax.swing.JCheckBox enable

load_key

javax.swing.JButton load_key
Constructor Detail

ServersAdministration

public ServersAdministration(Commissioner commi)

ServersAdministration

public ServersAdministration()
Method Detail

init

void init()

jbInit

void jbInit()
      throws java.lang.Exception
Throws:
java.lang.Exception

releaseMemory

public void releaseMemory()

updateLists

public void updateLists(java.util.Vector distributors,
                        java.util.Vector administrators,
                        java.util.Vector anonymizers,
                        java.util.Vector counters)

updateDistributorsList

public void updateDistributorsList(java.util.Vector distributors)

updateAdministratorsList

public void updateAdministratorsList(java.util.Vector administrators)

updateAnonymizersList

public void updateAnonymizersList(java.util.Vector anonymizers)

updateCountersList

public void updateCountersList(java.util.Vector counters)

setSelected

void setSelected()

getTypeOfServer

public byte getTypeOfServer()

getServer

public Server getServer()

change_server

void change_server()

distributors_selection_valueChanged

void distributors_selection_valueChanged(javax.swing.event.ListSelectionEvent e)

administrators_selection_valueChanged

void administrators_selection_valueChanged(javax.swing.event.ListSelectionEvent e)

anonymizers_selection_valueChanged

void anonymizers_selection_valueChanged(javax.swing.event.ListSelectionEvent e)

counters_selection_valueChanged

void counters_selection_valueChanged(javax.swing.event.ListSelectionEvent e)

cancel_actionPerformed

void cancel_actionPerformed(java.awt.event.ActionEvent e)

edit_actionPerformed

void edit_actionPerformed(java.awt.event.ActionEvent e)

setActionListener

public void setActionListener(Commissioner commi)

Distributors_focusGained

void Distributors_focusGained(java.awt.event.FocusEvent e)

Administrators_focusGained

void Administrators_focusGained(java.awt.event.FocusEvent e)

Anonymizers_focusGained

void Anonymizers_focusGained(java.awt.event.FocusEvent e)

Counters_focusGained

void Counters_focusGained(java.awt.event.FocusEvent e)