Serialized Form


Package tnt

Class tnt.FormatException extends java.lang.Exception implements Serializable


Package tnt.gui

Class tnt.gui.ExportDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

closeButton

javax.swing.JButton closeButton
The button that, when activated, closes this dialog.


md

ModelDefinition md
The source of model data.


ws

Workspace ws
The source of workspace data.

Class tnt.gui.HelpFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

htmlPane

javax.swing.JEditorPane htmlPane
The pane that displays HTML content.


closeButton

javax.swing.JButton closeButton
The button to close this frame.


backButton

javax.swing.JButton backButton
The button to traverse backward in the navigation history.


homeButton

javax.swing.JButton homeButton
The button to navigate to the main page.

See Also:
HelpFrame.MAIN_PAGE

forwardButton

javax.swing.JButton forwardButton
The button to traverse forward in the navigation history.


backHistory

java.util.Stack<E> backHistory
The stack used to track URLs for the back button.


forwardHistory

java.util.Stack<E> forwardHistory
The stack used to track URLs for the foward button.

Class tnt.gui.KeyButtonListModel extends javax.swing.DefaultListModel implements Serializable

Class tnt.gui.KeyLetterDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

keys

java.lang.StringBuilder keys

letterKey

javax.swing.JRadioButton letterKey

nextKey

javax.swing.JRadioButton nextKey

spaceKey

javax.swing.JRadioButton spaceKey

leftThumb

javax.swing.JRadioButton leftThumb

rightThumb

javax.swing.JRadioButton rightThumb

bothThumbs

javax.swing.JRadioButton bothThumbs

chkBoxes

javax.swing.JCheckBox[] chkBoxes

idField

javax.swing.JTextField idField

okButton

javax.swing.JButton okButton

cancelButton

javax.swing.JButton cancelButton

chars

java.lang.StringBuilder chars

EMPTY_CHAR

char EMPTY_CHAR

editedKey

char editedKey

Class tnt.gui.MetricsOutputDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

closeButton

javax.swing.JButton closeButton
The button that, when activated, closes this dialog.


helpButton

javax.swing.JButton helpButton
The button that, when activated, presents help.


kspc

TnKSPC kspc
The source of KSPC data.


wpm

TnWPM wpm
The source of WPM data.

Class tnt.gui.OutputPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

copyButton

javax.swing.JButton copyButton
The button that, when activated, triggers a call to copy().


copyText

java.lang.String copyText
The text to be copied to the clipboard.

Class tnt.gui.ParametersDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

validInputs

boolean validInputs
A flag to indicate whether or not all the inputs are valid.


mhpCardLayout

java.awt.CardLayout mhpCardLayout
A reference to the CardLayout in the MHP panel.


mhp_categories

java.lang.String[] mhp_categories
The selectable MHP categories.


mhpTimings

int[][] mhpTimings
An array of MHP timings, indexed by [category][timing].


browseButton

javax.swing.JButton browseButton
The button that, when activated, allows the user to browse for a word-frequency file.


cancelButton

javax.swing.JButton cancelButton
The button that, when activated, reverts the dialog's values and hides it.


okButton

javax.swing.JButton okButton
The button that, when activated, commits the dialog's values and hides it.


catComboBox

javax.swing.JComboBox catComboBox
The combo box that presents MHP categories.


fileChooser

javax.swing.JFileChooser fileChooser

tEPreset

javax.swing.JLabel tEPreset
The label used to display preset tE timings


tPPreset

javax.swing.JLabel tPPreset
The label used to display preset tP timings


tMPreset

javax.swing.JLabel tMPreset
The label used to display preset tM timings


tCPreset

javax.swing.JLabel tCPreset
The label used to display preset tC timings


tSPreset

javax.swing.JLabel tSPreset
The label used to display preset tS timings


mhpValuesPanel

javax.swing.JPanel mhpValuesPanel
A reference to the panel organizing MHP values -- required to manipulate its CardLayout.


filePathField

javax.swing.JTextField filePathField
The text field used to display the word-frequency file path.


leftIntField

javax.swing.JTextField leftIntField
The (Integer-formatted) text field used to display and input the left intercept.


leftSlopeField

javax.swing.JTextField leftSlopeField
The text field used to display and input the left slope.


rightIntField

javax.swing.JTextField rightIntField
The text field used to display and input the right intercept.


rightSlopeField

javax.swing.JTextField rightSlopeField
The text field used to display and input the right slope.


tMinField

javax.swing.JTextField tMinField
The text field used to display and input the tmin value.


tECustom

javax.swing.JTextField tECustom
The text field used to display and input the custom tE value.


tPCustom

javax.swing.JTextField tPCustom
The text field used to display and input the custom tP value.


tMCustom

javax.swing.JTextField tMCustom
The text field used to display and input the custom tM value.


tCCustom

javax.swing.JTextField tCCustom
The text field used to display and input the custom tC value.


tSCustom

javax.swing.JTextField tSCustom
The text field used to display and input the custom tS value.


leftOption

boolean leftOption

ok

boolean ok

verifier

ParametersDialog.WholeNumberVerifier verifier

selectedMHPCategory

int selectedMHPCategory

leftIntercept

int leftIntercept

rightIntercept

int rightIntercept

leftSlope

int leftSlope

rightSlope

int rightSlope

tMin

int tMin

tE

int tE

tP

int tP

tM

int tM

tC

int tC

tS

int tS

wordfreqFile

java.lang.String wordfreqFile

Class tnt.gui.ScrollablePaintPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

bkgdImage

javax.swing.ImageIcon bkgdImage
The background image


panelHeight

int panelHeight
The width and height of this panel


panelWidth

int panelWidth
The width and height of this panel


color

java.awt.Color color
The colour of the outlines


dataModel

javax.swing.ListModel dataModel
The model containing all the outlines


mouseX

int mouseX
The current position of the mouse


mouseY

int mouseY
The current position of the mouse


mouseDownX

int mouseDownX
The position of the last mouse pres


mouseDownY

int mouseDownY
The position of the last mouse pres


selectedOutline

java.awt.geom.Rectangle2D.Double selectedOutline
The selected outline


tempOutline

java.awt.geom.Rectangle2D.Double tempOutline
The temporary outline representing one that is being created


moveHandle

java.awt.geom.Rectangle2D.Double moveHandle
Rectangles representing handles to move and resize the selected outline


resizeHandle

java.awt.geom.Rectangle2D.Double resizeHandle
Rectangles representing handles to move and resize the selected outline


HANDLE_SIZE

int HANDLE_SIZE
The width and height of the (square) outline handles


mouseMode

int mouseMode

EMPTY_RECT

java.awt.geom.Rectangle2D.Double EMPTY_RECT

Class tnt.gui.TnTFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

SPACE

int SPACE
The amount of space between some components


STATUS_LABEL_WIDTH

int STATUS_LABEL_WIDTH
The width of certain labels on the status panel


VIEWPORT_DIMENSIONS

int VIEWPORT_DIMENSIONS
The size of the square viewport


statusHelp

javax.swing.JLabel statusHelp

mouseLocation

javax.swing.JLabel mouseLocation

pointLocation

javax.swing.JLabel pointLocation

dimension

javax.swing.JLabel dimension

newMenuItem

javax.swing.JMenuItem newMenuItem

openMenuItem

javax.swing.JMenuItem openMenuItem

saveMenuItem

javax.swing.JMenuItem saveMenuItem

saveAsMenuItem

javax.swing.JMenuItem saveAsMenuItem

exportMenuItem

javax.swing.JMenuItem exportMenuItem

exitMenuItem

javax.swing.JMenuItem exitMenuItem

undoMenuItem

javax.swing.JMenuItem undoMenuItem

redoMenuItem

javax.swing.JMenuItem redoMenuItem

parametersMenuItem

javax.swing.JMenuItem parametersMenuItem

calculateMenuItem

javax.swing.JMenuItem calculateMenuItem

userManualMenuItem

javax.swing.JMenuItem userManualMenuItem

aboutMenuItem

javax.swing.JMenuItem aboutMenuItem

blackLineMenuItem

javax.swing.JRadioButtonMenuItem blackLineMenuItem

blueLineMenuItem

javax.swing.JRadioButtonMenuItem blueLineMenuItem

greenLineMenuItem

javax.swing.JRadioButtonMenuItem greenLineMenuItem

magentaLineMenuItem

javax.swing.JRadioButtonMenuItem magentaLineMenuItem

redLineMenuItem

javax.swing.JRadioButtonMenuItem redLineMenuItem

yellowLineMenuItem

javax.swing.JRadioButtonMenuItem yellowLineMenuItem

customLineMenuItem

javax.swing.JRadioButtonMenuItem customLineMenuItem

canvas

ScrollablePaintPanel canvas

canvasScrollPane

javax.swing.JScrollPane canvasScrollPane

dataModel

KeyButtonListModel dataModel
The model storing the outline keys. This object must be initialized before instantiating an InfoPanel object.


shapesList

javax.swing.JList shapesList
The list displaying the object stored in dataModel. This object must be initialized before instantiating an InfoPanel object.


cxValueLabel

javax.swing.JLabel cxValueLabel
Displays the selected key's center x-coordinate. This object must be initialized before instantiating an InfoPanel object.


cyValueLabel

javax.swing.JLabel cyValueLabel
Displays the selected key's center y-coordinate. This object must be initialized before instantiating an InfoPanel object.


twValueLabel

javax.swing.JLabel twValueLabel
Displays the selected key's target width. This object must be initialized before instantiating an InfoPanel object.


xValueLabel

javax.swing.JLabel xValueLabel
Displays the x-coordinate of the selected key's outline. This object must be initialized before instantiating an InfoPanel object.


yValueLabel

javax.swing.JLabel yValueLabel
Displays the y-coordinate of the selected key's outline. This object must be initialized before instantiating an InfoPanel object.


wValueLabel

javax.swing.JLabel wValueLabel
Displays the width of the selected key's outline. This object must be initialized before instantiating an InfoPanel object.


hValueLabel

javax.swing.JLabel hValueLabel
Displays the width of the selected key's outline. This object must be initialized before instantiating an InfoPanel object.


editKeyButton

javax.swing.JButton editKeyButton
The "Edit" button in the InfoPanel. This object must be initialized before instantiating an InfoPanel object.


deleteKeyButton

javax.swing.JButton deleteKeyButton
The "Delete" button in the InfoPanel. This object must be initialized before instantiating an InfoPanel object.

Class tnt.gui.Workspace extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

imageFileName

java.lang.String imageFileName
The path to an image file representing a keyboard layout.

See Also:
TnTApp, ScrollablePaintPanel

color

java.awt.Color color
The color used to outline the key-buttons.

See Also:
TnTApp, ScrollablePaintPanel

keys

KeyButton[] keys
The defined KeyButton objects.

See Also:
TnTApp

mapping

java.lang.String mapping
The sequence of mapped characters.

See Also:
KeyLetterDialog

wordfreqFile

java.lang.String wordfreqFile
The word-frequency file used as input to the metrics.

See Also:
ParametersDialog, TnKSPC

leftOption

boolean leftOption
A value of true indicates preference for the left thumb when both thumbs are equally accessible.

See Also:
ParametersDialog, ModelDefinition

leftIntercept

int leftIntercept
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

leftSlope

int leftSlope
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

rightSlope

int rightSlope
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

rightIntercept

int rightIntercept
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

tMin

int tMin
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

selectedMHPCategory

int selectedMHPCategory
The index corresponding to the selected MHP timing category.

See Also:
ParametersDialog, TnWPM

cust1_tE

int cust1_tE
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tP

int cust1_tP
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tM

int cust1_tM
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tC

int cust1_tC
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tS

int cust1_tS
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

Package tnt.metrics

Class tnt.metrics.KeyButton extends java.awt.geom.Rectangle2D.Double implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

key

char key
This key's identifier.


chars

java.lang.String chars
The characters associated with this key.


thumb

int thumb
This key's thumb assignment.

See Also:
KeyButton.LEFT_THUMB, KeyButton.RIGHT_THUMB, KeyButton.BOTH_THUMBS



Copyright © 2006 Steven Castellucci and Scott MacKenzie. All Rights Reserved.