Serialized Form


Package <Unnamed>

Class AdminPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

allButtons

java.util.LinkedList<E> allButtons
All the buttons controlled by this panel


passwdField

javax.swing.JPasswordField passwdField
The text field where you enter the passwd


adminPasswd

java.lang.String adminPasswd
The password that enables this panel

Class BallotConfirmPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

yesButton

javax.swing.JButton yesButton
Confirm selection


noButton

javax.swing.JButton noButton
No, start over


votes

java.util.Hashtable<K,V> votes
Hashtable of cast votes

Class BallotGUI extends javax.swing.JPanel implements Serializable

Serialized Fields

nextBallotLine

javax.swing.JButton nextBallotLine
Next ballot line


prevBallotLine

javax.swing.JButton prevBallotLine
Previous ballot line


commitVote

javax.swing.JButton commitVote
Commit your vote


administer

javax.swing.JButton administer
Enter administrative mode


adminPanel

AdminPanel adminPanel
Panel that manages 'administer' button


ballotPanelHolder

javax.swing.JPanel ballotPanelHolder
Panel containing the ballot panels and the PIN query panel


confirmPanel

BallotConfirmPanel confirmPanel
Panel For confirming your votes before they are recorded. Never used here but referenced from BallotControl.


panels

BallotPanel[] panels
The list of panels for the individual elections.


activePanel

BallotPanel activePanel
The current Ballot panel


pq

PINQueryPanel pq
The PIN query panel


displayedPanel

int displayedPanel
The current ballot panel. An index into the panels array.

Class BallotPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

title

java.lang.String title
The name of this election


group

javax.swing.ButtonGroup group
The button group we represent here


buttonMap

java.util.Hashtable<K,V> buttonMap
hashtable mapping ButtonModels to Candidates


ballotEntries

java.util.List<E> ballotEntries
The list of Candidates for this panel


noneButton

javax.swing.JToggleButton noneButton
The hidden none-selected button

Class ConsoleGUI extends javax.swing.JFrame implements Serializable

Serialized Fields

pinVector

java.util.Vector<E> pinVector
Vector of valid PINs. Will be updated from outside.


pinArea

javax.swing.JTextArea pinArea
Text area displaying the vector of PINs


consolePanel

javax.swing.JPanel consolePanel

Class PINQueryPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

pinField

javax.swing.JTextField pinField
Text field in the PIN query panel where the PIN is entered.


this2

PINQueryPanel this2
Self reference used below

Class ResultsTable extends javax.swing.JPanel implements Serializable

Serialized Fields

DEBUG

boolean DEBUG