tnt.gui
Class Workspace

java.lang.Object
  extended by tnt.gui.Workspace
All Implemented Interfaces:
java.io.Serializable

public class Workspace
extends java.lang.Object
implements java.io.Serializable

Stores workspace values for an instance of TnTApp.

Version:
1.0 - 02/2006
Author:
Steven J. Castellucci
See Also:
Serialized Form

Field Summary
 java.awt.Color color
          The color used to outline the key-buttons.
 int cust1_tC
          Custom MHP timing.
 int cust1_tE
          Custom MHP timing.
 int cust1_tM
          Custom MHP timing.
 int cust1_tP
          Custom MHP timing.
 int cust1_tS
          Custom MHP timing.
 java.lang.String imageFileName
          The path to an image file representing a keyboard layout.
 KeyButton[] keys
          The defined KeyButton objects.
 int leftIntercept
          Fitts' Law coefficient.
 boolean leftOption
          A value of true indicates preference for the left thumb when both thumbs are equally accessible.
 int leftSlope
          Fitts' Law coefficient.
 java.lang.String mapping
          The sequence of mapped characters.
 int rightIntercept
          Fitts' Law coefficient.
 int rightSlope
          Fitts' Law coefficient.
 int selectedMHPCategory
          The index corresponding to the selected MHP timing category.
 int tMin
          Fitts' Law coefficient.
 java.lang.String wordfreqFile
          The word-frequency file used as input to the metrics.
 
Constructor Summary
Workspace()
          Initializes the workspace with the following default values:
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imageFileName

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

See Also:
TnTApp, ScrollablePaintPanel

color

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

See Also:
TnTApp, ScrollablePaintPanel

keys

public KeyButton[] keys
The defined KeyButton objects.

See Also:
TnTApp

mapping

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

See Also:
KeyLetterDialog

wordfreqFile

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

See Also:
ParametersDialog, TnKSPC

leftOption

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

See Also:
ParametersDialog, ModelDefinition

leftIntercept

public int leftIntercept
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

leftSlope

public int leftSlope
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

rightSlope

public int rightSlope
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

rightIntercept

public int rightIntercept
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

tMin

public int tMin
Fitts' Law coefficient.

See Also:
ParametersDialog, TnWPM

selectedMHPCategory

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

See Also:
ParametersDialog, TnWPM

cust1_tE

public int cust1_tE
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tP

public int cust1_tP
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tM

public int cust1_tM
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tC

public int cust1_tC
Custom MHP timing.

See Also:
ParametersDialog, TnWPM

cust1_tS

public int cust1_tS
Custom MHP timing.

See Also:
ParametersDialog, TnWPM
Constructor Detail

Workspace

public Workspace()
Initializes the workspace with the following default values:
                imageFileName = "";
                color = Constants.COLOR;
                keys = null;
                mapping = "";
                wordfreqFile = Constants.WORDFREQ_FILE;
                leftIntercept = 176;
                rightIntercept = 176;
                leftSlope = 64;
                rightSlope = 64;
                tMin = 88;
                selectedMHPCategory = 0;
                cust1_tE = 0;
                cust1_tP = 0;
                cust1_tM = 0;
                cust1_tC = 0;
                cust1_tS = 0;
                leftOption = false;
                



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