A C D G I J K M O P S U

A

actionPerformed(ActionEvent) - Method in class JTDispAction
Handle all actions associated with menu items and action buttons.
actionPerformed(ActionEvent) - Method in class JTReader
The action to be taken each time an event is received.
actionPerformed(ActionEvent) - Method in class JTSerialAction
Handle all actions associated with menu items and action buttons.
actionPerformed(ActionEvent) - Method in class JTServerAction
Handle all actions associated with menu items and action buttons.
addContent(String, String, String) - Method in class JTDisp
This method is called after the model and controller have been created to add the menubar and content pane objects.

C

closePort() - Method in class JTModel
Stop polling the server.
connectServer(String, int) - Method in class JTModel
Open a connection to spd, the SerialPort server.

D

disconnect() - Method in class JTerm
Make sure the model has closed server and serial connections before stopping the application.
disconnectServer() - Method in class JTModel
Close the server connection and mark as inactive.

G

getArray() - Method in class JTStringParser
Get an array containing the parsed string.
getError() - Method in class JTModel
Return the error description.
getField(int) - Method in class JTStringParser
Get the nth field.
getFieldCount() - Method in class JTStringParser
Return the number of fields in the string.
getHostname() - Method in class JTModel
Return the TCP/IP hostname of the server.
getHostname() - Method in class JTServerConnect
Return the hostname.
getModel() - Method in class JTerm
Make the model reference available to called classes.
getOSList() - Method in class JTModel
Return the operating system list, used to identify the target operating system.
getOSName() - Method in class JTSerialConnect
Return the selected target operating system.
getPortDialog() - Method in class JTDisp
Get a reference to the serial port opening dialog.
getPortList() - Method in class JTModel
Return the serial port list.
getPortName() - Method in class JTModel
Return the serial port name.
getPortName() - Method in class JTSerialConnect
Return the selected serial port.
getPortNumber() - Method in class JTModel
Return the server's TCP/IP port number.
getPortNumber() - Method in class JTServerConnect
Return the port number.
getPortParameters() - Method in class JTModel
Return the serial port parameters.
getPortParameters() - Method in class JTSerialConnect
Return the port parameters as a comma delimited string.
getResponse() - Method in class JTModel
Retrieve any data received from the serial connection.
getSelected() - Method in class JTList
Get the displayed text.
getServerDialog() - Method in class JTDisp
Get a reference to the server connection dialog.
getTabSpace() - Method in class JTModel
Return the (target operating system dependent) tab spacing.
getText() - Static method in class JTHelpContent
Return the help text for this application.
getText() - Method in class JTInput
Retrieve the current text value.
getTitle() - Method in class JTModel
Return the frame title.
getVersion() - Static method in class JTerm
Make the window version string available to called classes.
getView() - Method in class JTerm
Make the view controller reference available to called classes.
getWindow() - Method in class JTerm
Make the window reference available to called classes.

I

isConnectedToPort() - Method in class JTModel
Returns true if a serial connection is open.
isConnectedToServer() - Method in class JTModel
Returns true if the server connection is open.
isErrorCondition() - Method in class JTModel
Check whether an error has ocurred.
isOSSelected() - Method in class JTModel
Check whether an operating system has been selected.
isPortName() - Method in class JTSerialConnect
See if a serial port has been selected.
isResponse() - Method in class JTModel
Check whether new data has been received from the serial port.
isSelected() - Method in class JTList
See if there is a selection.

J

JTDisp - class JTDisp.
JTDisp - display handler for JTerm.
JTDisp(JTerm, int) - Constructor for class JTDisp
The only constructor.
JTDispAction - class JTDispAction.
JTDispAction - Menu and button action listener for JTDisp.
JTDispAction(JTerm, int, int) - Constructor for class JTDispAction
ActionListener constructor.
JTHelpContent - class JTHelpContent.
JTHelpContent builds the content of the JTerm help dialog.
JTHelpContent() - Constructor for class JTHelpContent
 
JTInput - class JTInput.
JTInput - defines an input field.
JTInput(int) - Constructor for class JTInput
Constructor parameter: the length of the field.
JTKeyListener - class JTKeyListener.
This class implements a KeyListener for JTerm.
JTKeyListener(JTerm, ReportError, int) - Constructor for class JTKeyListener
The only constructor.
JTList - class JTList.
JTList - defines an input list field with its mouse listener.
JTList(JTSerialMouseListener) - Constructor for class JTList
Constructor parameter: the MouseListener.
JTModel - class JTModel.
JTModel - holds the JTerm connection details and response.
JTModel(JTerm, String, int) - Constructor for class JTModel
The only constructor.
JTReader - class JTReader.
This class implements an action that queries spd for incoming data by calling the JTModel.scanForData() method, which uses it to update the JTScreen display object.
JTReader(JTerm, int) - Constructor for class JTReader
The only constructor.
JTScreen - class JTScreen.
JTScreen - the terminal screen used by JTerm.
JTScreen(JTerm, int, int, int) - Constructor for class JTScreen
The only constructor.
JTSerialAction - class JTSerialAction.
JTSerialAction - Menu and button action listener for JTSerialConnect.
JTSerialAction(JTerm, JTSerialConnect, int, int) - Constructor for class JTSerialAction
ActionListener constructor.
JTSerialConnect - class JTSerialConnect.
JTSerialConnect - sets up the connection conditions by selecting the port from a list and, when it has been selected, allowing the serial connection's operating conditions to be changed.
JTSerialConnect(JTerm, Rectangle, int) - Constructor for class JTSerialConnect
The only constructor.
JTSerialMouseListener - class JTSerialMouseListener.
This class traps mouse events used by JTerm.
JTSerialMouseListener(JTerm, JTSerialConnect, int, int) - Constructor for class JTSerialMouseListener
The only constructor.
JTServerAction - class JTServerAction.
JTServerAction - Menu and button action listener for JTServerConnect.
JTServerAction(JTerm, JTServerConnect, int, int) - Constructor for class JTServerAction
ActionListener constructor.
JTServerConnect - class JTServerConnect.
JTServerConnect - sets up the connection conditions by inputting the host name and port.
JTServerConnect(JTerm, Rectangle, int) - Constructor for class JTServerConnect
The only constructor.
JTStringParser - class JTStringParser.
JTStringParser - Split a comma-delimited string into fields.
JTStringParser(String) - Constructor for class JTStringParser
Construct a parser for the vals String.
JTView - class JTView.
JTView - implements the JTerm controller.
JTView(JTerm, int) - Constructor for class JTView
The only constructor.
JTerm - class JTerm.
JTerm - a Java terminal emulator.
JTerm() - Constructor for class JTerm
 

K

keyTyped(KeyEvent) - Method in class JTKeyListener
Pass the key notified in the KeyEvent to the JTerm model.
keyTyped(char) - Method in class JTModel
Accept a single character input by the keyboard.

M

MSDOS - Variable in class JTModel
 
main(String[]) - Static method in class JTerm
Initial method called to start the application.
mouseClicked(MouseEvent) - Method in class JTSerialMouseListener
Invoked when the mouse button has been clicked on the component.
mouseEntered(MouseEvent) - Method in class JTSerialMouseListener
Invoked when the mouse pointer enters the component.
mouseExited(MouseEvent) - Method in class JTSerialMouseListener
Invoked when the mouse pointer exits the component.
mousePressed(MouseEvent) - Method in class JTSerialMouseListener
Invoked when the mouse button has been pressed on the component.
mouseReleased(MouseEvent) - Method in class JTSerialMouseListener
Invoked when the mouse button has been released on the component.

O

OS9 - Variable in class JTModel
 
openPort(String) - Method in class JTModel
Cause spd to open the specified serial port.

P

processWindowEvent(WindowEvent) - Method in class JTDisp
Window event handler.

S

scanForData() - Method in class JTModel
Poll the server for data.
serialError() - Method in class JTModel
Trap and report SerialPort errors.
setMenu(boolean, boolean, boolean, boolean, String) - Method in class JTDisp
Set the state of the open and close menu items and change the frame title to suit.
setOSList(String) - Method in class JTSerialConnect
Set the OS list ready for display.
setOSName(String) - Method in class JTModel
Store the OS name.
setPortList(String) - Method in class JTSerialConnect
Set the portlist ready for display.
setPortParameters(String) - Method in class JTModel
Store the serial port parameters.
setPortParameters(String) - Method in class JTSerialConnect
Set the port parameters ready for display.
setSelectionList(String) - Method in class JTList
Set the selectable content from a string containing a comma delimited list of values.
setText(String) - Method in class JTInput
Set the text value to be displayed.
setValues(String, int) - Method in class JTServerConnect
Set initial displayable values.
setVisible(boolean) - Method in class JTSerialConnect
Make the dialogue visible.
setVisible(boolean) - Method in class JTServerConnect
Make the dialogue visible.
showCursor() - Method in class JTDisp
Force the cursor to be displayed.
showCursor() - Method in class JTScreen
Make sure the cursor is visible at its current location.
startReader() - Method in class JTModel
Create and start a thread to poll the server for input.

U

UNIX - Variable in class JTModel
 
update(int, String) - Method in class JTDisp
Update the screen with received data.
update(int, String) - Method in class JTScreen
Update the screen with a string of characters.
update(Observable, Object) - Method in class JTView
A method called when the Observable object, JTModel, notifies changes.
updateCompleted() - Method in class JTModel
Clear the changed flag.

A C D G I J K M O P S U