inescID.revs.commissioner
Class ConfigurationSelection

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

public class ConfigurationSelection
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
(package private)  javax.swing.JCheckBox anonymizers
           
(package private)  javax.swing.JButton back
           
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  javax.swing.Box box1
           
(package private)  javax.swing.Box box3
           
(package private)  javax.swing.Box box5
           
(package private)  java.awt.Component component1
           
(package private)  java.awt.Component component2
           
(package private)  java.awt.Component component3
           
(package private)  Configuration configuration
           
(package private)  java.util.Vector configurations
           
(package private)  javax.swing.JTextField description
           
(package private)  javax.swing.JCheckBox election_keys
           
(package private)  javax.swing.JComboBox end_day
           
(package private)  javax.swing.JComboBox end_hour
           
(package private)  javax.swing.JComboBox end_month
           
(package private)  javax.swing.JComboBox end_year
           
(package private)  java.awt.GridBagLayout gridBagLayout1
           
(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.JLabel jLabel6
           
(package private)  javax.swing.JPanel jPanel1
           
(package private)  javax.swing.JPanel jPanel2
           
(package private)  javax.swing.JPanel jPanel3
           
(package private)  javax.swing.JLabel lAdministrators
           
(package private)  javax.swing.JLabel lDescriptiton
           
(package private)  javax.swing.JLabel lend
           
(package private)  javax.swing.JScrollPane listScrollPane
           
(package private)  javax.swing.JLabel lsignatures
           
(package private)  javax.swing.JLabel lstart
           
(package private)  javax.swing.Box mainBox
           
(package private)  javax.swing.JButton next
           
(package private)  javax.swing.JComboBox number_of_administrators
           
(package private)  javax.swing.JPanel pButtons1
           
(package private)  javax.swing.JPanel pMain
           
(package private)  javax.swing.JPanel pTitle
           
(package private)  javax.swing.JComboBox required_signatures
           
(package private)  javax.swing.JList selectionList
           
(package private)  javax.swing.JCheckBox signing_keys
           
(package private)  javax.swing.JComboBox start_day
           
(package private)  javax.swing.JComboBox start_hour
           
(package private)  javax.swing.JComboBox start_month
           
(package private)  javax.swing.JComboBox start_year
           
(package private)  javax.swing.JLabel title
           
(package private)  javax.swing.border.TitledBorder titledBorder1
           
(package private)  javax.swing.border.TitledBorder titledBorder2
           
(package private)  VerticalFlowLayout verticalFlowLayout1
           
 
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
ConfigurationSelection()
           
ConfigurationSelection(Commissioner commi)
           
 
Method Summary
(package private)  void clear()
           
 boolean generateAdministratorsSigningKeys()
           
 boolean generateElectionKeys()
           
 Configuration getConfiguration()
           
(package private)  void init()
           
(package private)  void jbInit()
           
 void releaseMemory()
           
(package private)  void selectionList_valueChanged(javax.swing.event.ListSelectionEvent e)
           
 void setActionListener(Commissioner commi)
           
 void showKeys(boolean option)
           
 void updateList(java.util.Vector configurations)
           
 
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

configurations

java.util.Vector configurations

configuration

Configuration configuration

box1

javax.swing.Box box1

pTitle

javax.swing.JPanel pTitle

title

javax.swing.JLabel title

listScrollPane

javax.swing.JScrollPane listScrollPane

lDescriptiton

javax.swing.JLabel lDescriptiton

selectionList

javax.swing.JList selectionList

box3

javax.swing.Box box3

next

javax.swing.JButton next

gridBagLayout1

java.awt.GridBagLayout gridBagLayout1

component2

java.awt.Component component2

box5

javax.swing.Box box5

number_of_administrators

javax.swing.JComboBox number_of_administrators

component3

java.awt.Component component3

lsignatures

javax.swing.JLabel lsignatures

required_signatures

javax.swing.JComboBox required_signatures

back

javax.swing.JButton back

lstart

javax.swing.JLabel lstart

pMain

javax.swing.JPanel pMain

component1

java.awt.Component component1

jPanel1

javax.swing.JPanel jPanel1

description

javax.swing.JTextField description

mainBox

javax.swing.Box mainBox

lAdministrators

javax.swing.JLabel lAdministrators

pButtons1

javax.swing.JPanel pButtons1

start_month

javax.swing.JComboBox start_month

start_day

javax.swing.JComboBox start_day

start_year

javax.swing.JComboBox start_year

lend

javax.swing.JLabel lend

end_month

javax.swing.JComboBox end_month

end_day

javax.swing.JComboBox end_day

end_year

javax.swing.JComboBox end_year

start_hour

javax.swing.JComboBox start_hour

end_hour

javax.swing.JComboBox end_hour

jLabel1

javax.swing.JLabel jLabel1

jLabel2

javax.swing.JLabel jLabel2

jLabel3

javax.swing.JLabel jLabel3

jLabel4

javax.swing.JLabel jLabel4

jLabel5

javax.swing.JLabel jLabel5

jLabel6

javax.swing.JLabel jLabel6

anonymizers

javax.swing.JCheckBox anonymizers

titledBorder1

javax.swing.border.TitledBorder titledBorder1

titledBorder2

javax.swing.border.TitledBorder titledBorder2

jPanel2

javax.swing.JPanel jPanel2

borderLayout1

java.awt.BorderLayout borderLayout1

election_keys

javax.swing.JCheckBox election_keys

signing_keys

javax.swing.JCheckBox signing_keys

jPanel3

javax.swing.JPanel jPanel3

verticalFlowLayout1

VerticalFlowLayout verticalFlowLayout1
Constructor Detail

ConfigurationSelection

public ConfigurationSelection(Commissioner commi)

ConfigurationSelection

public ConfigurationSelection()
Method Detail

jbInit

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

init

void init()

releaseMemory

public void releaseMemory()

updateList

public void updateList(java.util.Vector configurations)

clear

void clear()

getConfiguration

public Configuration getConfiguration()

generateElectionKeys

public boolean generateElectionKeys()

generateAdministratorsSigningKeys

public boolean generateAdministratorsSigningKeys()

showKeys

public void showKeys(boolean option)

setActionListener

public void setActionListener(Commissioner commi)

selectionList_valueChanged

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