Serialized Form

Class javabook.DrawingBoard implements Serializable

Serialized Fields

g

java.awt.Graphics g
The Graphics object used in the drawing.
See Also:
Graphics


Class javabook.InputBox implements Serializable

Serialized Fields

errorMessage

java.awt.Label errorMessage
Error message text

errorMsgText

java.lang.String errorMsgText
Text for error message

font

java.awt.Font font
Font used for the labels

inputLine

java.awt.TextField inputLine
TextField for user input

okButton

java.awt.Button okButton
The OK button

prompt

java.awt.Label prompt
Prompt text

showErrorMsg

boolean showErrorMsg
true if error message needs to be shown


Class javabook.JavaBookDialog implements Serializable

Serialized Fields

font

java.awt.Font font
The font used for this dialog.

wasMoved

boolean wasMoved
Tells whether this dialog has moved or not from the center of the screen. Initially, any javabook dialog is displayed at the center of the screen. But once this dialog is moved and shown again, it will be shown at the position it was last moved to.


Class javabook.ListBox implements Serializable

Serialized Fields

cancelButton

java.awt.Button cancelButton
The Cancel button

list

java.awt.List list
The actual object that contains the list of items

okButton

java.awt.Button okButton
The OK buton

status

int status
Tells which of the two buttons is clicked


Class javabook.MainWindow implements Serializable

Serialized Fields

screenSize

java.awt.Dimension screenSize
The size of the screen


Class javabook.MessageBox implements Serializable

Serialized Fields

font

java.awt.Font font
The font used for the message

label

java.awt.Label label
The displayed message of this dialog

okButton

java.awt.Button okButton
The OK button


Class javabook.MultiInputBox implements Serializable

Serialized Fields

cancelButton

java.awt.Button cancelButton
The CANCEL button

currentLine

int currentLine
The input line that is current, i.e. has input focus

font

java.awt.Font font
The font used for labels

inputLine

java.awt.TextField[] inputLine
The array of TextField objects for accepting user input

numOfRows

int numOfRows
The number of input liness in this dialog

okButton

java.awt.Button okButton
The OK button

prompt

java.awt.Label[] prompt
The array of labels for input lines

status

int status
The state of this dialog


Class javabook.OutputBox implements Serializable

Serialized Fields

font

java.awt.Font font
The default font used for the text

outputArea

java.awt.TextArea outputArea
The constant to represent the state of action pending


Class javabook.ResponseBox implements Serializable

Serialized Fields

button

java.awt.Button[] button
The array of buttons attached to this dialog

font

java.awt.Font font
The font used in displaying the prompt

numberOfButtons

int numberOfButtons
Keeps the number of buttons assigned to this dialog

prompt

java.awt.Label prompt
The prompt text of this dialog

status

int status
The state of this dialog box


Class javabook.SketchPad implements Serializable

Serialized Fields

last_x

int last_x
The X coordinate of the last position of the mouse

last_y

int last_y
The Y coordinate of the last position of the mouse