A B C D E F G H I K L M N O P Q R S T U V W X Y

A

actionPerformed(ActionEvent) - Method in class Animator
 
actionPerformed(ActionEvent) - Method in class CloseableDialog
Closes the dialog.
actionPerformed(ActionEvent) - Method in class CloseableFrame
Closes the window.
actionPerformed(ActionEvent) - Method in class ConsoleParent
Quits the program, saves the contents of the window, or prints the contents of the window, depending on which button is pressed.
actionPerformed(ActionEvent) - Method in class PaintBugWindow
 
actionPerformed(ActionEvent) - Method in class VisibleHanoi
 
actualCol - Variable in class Console
 
actualRow - Variable in class Console
 
add(Moveable) - Method in class Animator
 
add(Bounceable) - Method in class Animator
 
add(Paintable) - Method in class Animator
 
add(String, String) - Method in class PhoneBook
 
addNotify() - Method in class Animator.WindowCanvas
 
addNotify() - Method in class ConsoleCanvas
Overrides addNotify in order to set up the cursor thread once the canvas has been created.
addNotify() - Method in class ConsoleCanvasGraphics
Overrides addNotify in order to set up the device dependent features once the canvas has actually been created.
addNotify() - Method in class PaintBugWindow.WindowCanvas
 
addNotify() - Method in class SortFrame.SortCanvas
 
addNotify() - Method in class VisibleHanoi.WindowCanvas
 
adjustmentValueChanged(AdjustmentEvent) - Method in class PaintBugWindow
 
adjustmentValueChanged(AdjustmentEvent) - Method in class SortFrame
 
adjustmentValueChanged(AdjustmentEvent) - Method in class VisibleHanoi
 
Animator - Class in <Unnamed>
 
Animator() - Constructor for class Animator
 
Animator(int, int) - Constructor for class Animator
 
Animator.WindowCanvas - Class in <Unnamed>
 
Animator.WindowCanvas(int, int) - Constructor for class Animator.WindowCanvas
 
Animator.WindowCloser - Class in <Unnamed>
 
Animator.WindowCloser() - Constructor for class Animator.WindowCloser
 

B

BASE_MARGIN - Static variable in class VisibleHanoi.WindowCanvas
 
BASE_THICKNESS - Static variable in class VisibleHanoi.WindowCanvas
 
beep() - Static method in class Message
Causes the speaker to beep.
BI_COMPRESSED_RLE4 - Static variable in class PaintBugWindow.WindowCanvas
 
BI_COMPRESSED_RLE8 - Static variable in class PaintBugWindow.WindowCanvas
 
BI_RGB - Static variable in class PaintBugWindow.WindowCanvas
 
blinkCursor() - Method in class ConsoleCanvas
Blinks the cursor off it was on and on if it was off.
BOTTOM - Static variable in class ConsoleEdges
 
Bounceable - Class in <Unnamed>
 
Bounceable(double, double, double, double) - Constructor for class Bounceable
 
BUFFER_SIZE - Static variable in class ConsoleParent
 
bug - Variable in class PaintBugWindow.PaintBugThread
 
bugColor - Variable in class PaintBugWindow.WindowCanvas
 
bugDirection - Variable in class PaintBugWindow.WindowCanvas
 
bugLabel - Variable in class PaintBugWindow.WindowCanvas
 
bugLabelFM - Variable in class PaintBugWindow.WindowCanvas
 
bugLabelFont - Variable in class PaintBugWindow.WindowCanvas
 
bugs - Variable in class PaintBugWindow.WindowCanvas
 
bugX - Variable in class PaintBugWindow.WindowCanvas
 
bugY - Variable in class PaintBugWindow.WindowCanvas
 

C

calculateDelayTimeFromSlider(int) - Method in class PaintBugWindow
 
calculateDelayTimeFromSlider(int) - Method in class VisibleHanoi
 
canvas - Variable in class Animator
 
canvas - Variable in class PaintBugWindow
 
canvas - Variable in class PaintBugWindow.PaintBugThread
 
canvas - Variable in class VisibleHanoi
 
canvasHeight - Variable in class PaintBugWindow.WindowCanvas
 
canvasWidth - Variable in class PaintBugWindow.WindowCanvas
 
changeAngle - Variable in class PaintBugWindow.PaintBugThread
 
clear() - Method in class Console
Clears the screen and moves the cursor to the top left corner.
clearRect(int, int, int, int) - Method in class Console
Clears a rectangle in the console to white.
clearRect(int, int, int, int) - Method in class ConsoleCanvasGraphics
Clears a rectangle on the console canvas.
clearScreen(Color) - Method in class ConsoleCanvasGraphics
Clears the entire console canvas to a specified colour
clearToEOL - Variable in class Console
 
clearToEOL(int, int, Color) - Method in class ConsoleCanvasGraphics
Clears a rectangle on console canvas from the specified row and column to the end of line
close() - Method in class ConsoleParent
Closes the console window.
close() - Static method in class Stdin
Closes Stdin to further reading.
close() - Static method in class Stdout
Close Stdout to further writing.
close() - Method in class TextInputFile
Close the file to further reading.
close() - Method in class TextOutputFile
Close the file to further writing.
CloseableDialog - Class in <Unnamed>
Internal to hsa package.
CloseableDialog(Frame, String) - Constructor for class CloseableDialog
Creates a closeable dialog with a close box that closes the dialog.
CloseableFrame - Class in <Unnamed>
Internal to hsa package.
CloseableFrame(String) - Constructor for class CloseableFrame
Creates a closeable window with a close box that closes the window.
closed - Variable in class TextInputFile
Set if the file has been closed.
closed - Variable in class TextOutputFile
Set if the file has been closed.
color - Variable in class PaintBug
 
color - Variable in class PaintBugWindow.PaintBugThread
 
colorNumber - Static variable in class PaintBug
 
colors - Static variable in class PaintBug
 
commandKind - Variable in class PaintBugWindow.PaintBugThread
 
Console - Class in <Unnamed>
 
Console() - Constructor for class Console
Creates a console using the default values of: 25x80 screen, 14 pt font, "Console" as title.
Console(int) - Constructor for class Console
Creates a console using the default values of: 25x80 screen, "Console" as title.
Console(int, int) - Constructor for class Console
Creates a console using the default values of: 14 pt font, "Console" as title.
Console(int, int, int) - Constructor for class Console
Creates a console using the default values of: "Console" as title.
Console(int, int, int, String) - Constructor for class Console
Creates a console.
Console(int, int, String) - Constructor for class Console
Creates a console using the default values of: 14 pt font.
Console(int, String) - Constructor for class Console
Creates a console using the default values of: 25x80 screen.
Console(String) - Constructor for class Console
Creates a console using the default values of: 25x80 screen, 14 pt font.
CONSOLE_CURSOR_THREAD_NAME - Static variable in class ConsoleCanvas
The name of thread for blinking the cursor.
ConsoleCanvas - Class in <Unnamed>
 
ConsoleCanvas(ConsoleParent, int, int, int) - Constructor for class ConsoleCanvas
Creates the console canvas given the size of the screen in rows and columns and font size.
consoleCanvas - Variable in class ConsoleParent
The drawing surface.
ConsoleCanvasGraphics - Class in <Unnamed>
 
ConsoleCanvasGraphics(ConsoleParent, int, int, int) - Constructor for class ConsoleCanvasGraphics
Creates the console canvas given the size of the screen in rows and columns and font size.
consoleCanvasPanelInner - Variable in class ConsoleParent
 
ConsoleEdges - Class in <Unnamed>
 
ConsoleEdges(int) - Constructor for class ConsoleEdges
Creates the ConsoleEdge.
ConsoleFrame - Class in <Unnamed>
 
ConsoleFrame(ConsoleParent, Panel) - Constructor for class ConsoleFrame
 
ConsoleParent - Class in <Unnamed>
 
ConsoleParent() - Constructor for class ConsoleParent
 
copyArea(int, int, int, int, int, int) - Method in class Console
Copies an area of the screen from (x, y) to (x + width, y + height) onto the screen with top corner at (x + delta_x, y + delta_y).
copyArea(int, int, int, int, int, int) - Method in class ConsoleCanvasGraphics
Copies an area of the screen from (x, y) to (x + width, y + height) onto the screen with top corner at (x + delta_x, y + delta_y).
createVisualArray(String, int, int) - Static method in class VisualSortUtil
 
currentCol - Variable in class Console
Console text variables
currentRow - Variable in class Console
Console text variables
cursorBlinking - Variable in class ConsoleCanvas
 
cursorCol - Variable in class ConsoleCanvasGraphics
 
cursorRow - Variable in class ConsoleCanvasGraphics
 
cursorThread - Variable in class ConsoleCanvas
Information about the cursor.
cursorVisible - Variable in class ConsoleCanvas
 

D

DEFAULT_COLUMNS - Static variable in class ConsoleParent
 
DEFAULT_DIR - Static variable in class PaintBug
 
DEFAULT_FONT_SIZE - Static variable in class ConsoleParent
 
DEFAULT_ROWS - Static variable in class ConsoleParent
 
DEFAULT_TITLE - Static variable in class ConsoleParent
 
DEFAULT_TRAIL_WIDTH - Static variable in class PaintBug
 
DEFAULT_X - Static variable in class PaintBug
 
DEFAULT_XSIZE - Static variable in class Animator
 
DEFAULT_XSIZE - Static variable in class PaintBugWindow
 
DEFAULT_XSIZE - Static variable in class VisibleHanoi
 
DEFAULT_YSIZE - Static variable in class Animator
 
DEFAULT_YSIZE - Static variable in class PaintBugWindow
 
DEFAULT_YSIZE - Static variable in class VisibleHanoi
 
delay(int) - Method in class Animator
 
delayTime - Variable in class PaintBugWindow
 
delayTime - Variable in class VisibleHanoi
 
DEPTH - Static variable in class ConsoleCanvas
 
DIAMETER - Static variable in class Moveable
 
direction - Variable in class PaintBug
 
direction - Variable in class PaintBugWindow.PaintBugThread
 
DISK_MOVE_TOP - Static variable in class VisibleHanoi.WindowCanvas
 
DISK_THICKNESS - Static variable in class VisibleHanoi.WindowCanvas
 
diskLabelFM - Variable in class VisibleHanoi.WindowCanvas
 
diskLabelFont - Variable in class VisibleHanoi.WindowCanvas
 
diskLabelHeight - Variable in class VisibleHanoi.WindowCanvas
 
diskLabels - Variable in class VisibleHanoi.WindowCanvas
 
diskLabelWidth - Variable in class VisibleHanoi.WindowCanvas
 
diskRadius - Variable in class VisibleHanoi.WindowCanvas
 
diskY - Variable in class VisibleHanoi.WindowCanvas
 
dispose() - Method in class SavePrint.Status
 
distance - Variable in class PaintBugWindow.PaintBugThread
 
draw3DRect(int, int, int, int, boolean) - Method in class Console
Draws a 3D rectangle on the screen from (x, y) to (x + width, y + width).
draw3DRect(int, int, int, int, boolean, Color) - Method in class ConsoleCanvasGraphics
Draws a 3D rectangle on the screen from (x, y) to (x + width, y + height) in specified colour.
drawArc(int, int, int, int, int, int) - Method in class Console
Draws an arc on the screen from (x, y) to (x + width, y + height) from startAngle to startAngle + arcAngle in specified colour.
drawArc(int, int, int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws an arc on the screen from (x, y) to (x + width, y + height) from startAngle to startAngle + arcAngle in specified colour.
drawBugTrail(double, double, int, Color) - Method in class PaintBugWindow.WindowCanvas
 
drawFrame() - Method in class Animator
 
DrawGraphics - Interface in <Unnamed>
 
drawGrid - Static variable in class PaintBug
 
drawGrid() - Static method in class PaintBug
 
drawGrid - Variable in class PaintBugWindow.WindowCanvas
 
drawImage(Image, int, int, ImageObserver) - Method in class Console
Draws an image on the screen at (x, y).
drawImage(Image, int, int, ImageObserver) - Method in class ConsoleCanvasGraphics
Draws an image at (x, y).
drawLine(int, int, int, int) - Method in class Console
Draws a line on the screen from (x1, y1) to (x2, y2).
drawLine(int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws a line from (x1, y1) to (x2, y2) in specified colour.
drawMapleLeaf(int, int, int, int) - Method in class Console
Draws a maple leaf on the screen from (x, y) to (x + width, y + width).
drawMerge(int, int) - Method in class SortFrame.SortCanvas
 
drawOval(int, int, int, int) - Method in class Console
Draws an oval on the screen in the sqaure from (x, y) to (x + width, y + height).
drawOval(int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws an oval on the screen in the sqaure from (x, y) to (x + width, y + height) in specified colour.
drawPolygon(int[], int[], int) - Method in class Console
Draws a polygon specified by the arrays of points.
drawPolygon(int[], int[], int, Color) - Method in class ConsoleCanvasGraphics
Draws a polygon.
drawRect(int, int, int, int) - Method in class Console
Draws a rectangle on the screen from (x, y) to (x + width, y + width).
drawRect(int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws a rectangle on the screen from (x, y) to (x + width, y + height) in specified colour.
drawRoundRect(int, int, int, int, int, int) - Method in class Console
Draws a rounded rectangle on the screen from (x, y) to (x + width, y + width).
drawRoundRect(int, int, int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws a rounded rectangle on the screen from (x, y) to (x + width, y + height) in specified colour.
drawShift(int, int) - Method in class SortFrame.SortCanvas
 
drawStar(int, int, int, int) - Method in class Console
Draws a star on the screen from (x, y) to (x + width, y + width).
drawString(String, int, int) - Method in class Console
Draws a text on the screen at location (x, y).
drawString(String, int, int, Font, Color) - Method in class ConsoleCanvasGraphics
Draws a line from (x1, y1) to (x2, y2) in specified colour.
drawSwap(int, int) - Method in class SortFrame.SortCanvas
 
drawText(int, int, String, Color, Color) - Method in class ConsoleCanvasGraphics
Draws the specified text to the screen at the specified row and column using the specified foreground and background colours.
drawWindowToGraphics(Graphics) - Method in class Animator.WindowCanvas
 
drawWindowToGraphics(Graphics, int, int) - Method in class Animator.WindowCanvas
 
drawWindowToGraphics(Graphics) - Method in class ConsoleCanvasGraphics
This routine is used to implement the saving and printing.
drawWindowToGraphics(Graphics, int, int) - Method in class ConsoleCanvasGraphics
 
drawWindowToGraphics(Graphics) - Method in interface DrawGraphics
 
drawWindowToGraphics(Graphics, int, int) - Method in interface DrawGraphics
 
drawWindowToGraphics(Graphics) - Method in class PaintBugWindow.WindowCanvas
 
drawWindowToGraphics(Graphics, int, int) - Method in class PaintBugWindow.WindowCanvas
 
drawWindowToGraphics(Graphics) - Method in class VisibleHanoi.WindowCanvas
 
drawWindowToGraphics(Graphics, int, int) - Method in class VisibleHanoi.WindowCanvas
 

E

echoOn - Variable in class Console
 
EMPTY - Static variable in class TextInputFile
Constants and variables used by the input line buffer.
EMPTY_BUFFER - Static variable in class ConsoleParent
 
enableButtons(boolean) - Method in class ConsoleFrame
 
enableButtons(boolean) - Method in class ConsoleParent
Enables or disables all the buttons in the Console.
eof() - Static method in class Stdin
Returns whether there is an eof before the next token.
eof() - Method in class TextInputFile
Return whether there is an eof before the next token.
eofFlag - Variable in class TextInputFile
The end-of-file flag
eofReached - Variable in class ConsoleParent
 
eraseLineOfInput() - Method in class Console
Erases the entire line of input.
erasePreviousChar() - Method in class Console
Erases the previous character in a line of input.

F

f - Variable in class TextInputFile
Stream used for reading input.
f - Variable in class TextOutputFile
Streams used for the file
FatalError - Class in <Unnamed>
 
FatalError(String) - Constructor for class FatalError
Contructor - FatalError to be displayed on centre of screen.
FatalError(String, Frame) - Constructor for class FatalError
Contructor - FatalError to be displayed on centre of a specified Frame.
fileName - Variable in class TextInputFile
The file name.
fileName - Variable in class TextOutputFile
The file name.
fill3DRect(int, int, int, int, boolean) - Method in class Console
Draws a filled 3D rectangle on the screen from (x, y) to (x + width, y + width).
fill3DRect(int, int, int, int, boolean, Color) - Method in class ConsoleCanvasGraphics
Draws a filled 3D rectangle on the screen from (x, y) to (x + width, y + height) in specified colour.
fillArc(int, int, int, int, int, int) - Method in class Console
Draws a filled arc on the screen from (x, y) to (x + width, y + height) from startAngle to startAngle + arcAngle in specified colour.
fillArc(int, int, int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws a filled arc on the screen from (x, y) to (x + width, y + height) from startAngle to startAngle + arcAngle in specified colour.
fillMapleLeaf(int, int, int, int) - Method in class Console
Draws a filled maple leaf on the screen from (x, y) to (x + width, y + width).
fillOval(int, int, int, int) - Method in class Console
Draws a filled oval on the screen in the sqaure from (x, y) to (x + width, y + height).
fillOval(int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws a filled oval on the screen in the sqaure from (x, y) to (x + width, y + height) in specified colour.
fillPolygon(int[], int[], int) - Method in class Console
Draws a filled polygon specified by the arrays of points..
fillPolygon(int[], int[], int, Color) - Method in class ConsoleCanvasGraphics
Draws a filled polygon.
fillRect(int, int, int, int) - Method in class Console
Draws a filled rectangle on the screen from (x, y) to (x + width, y + width).
fillRect(int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws a filled rectangle on the screen from (x, y) to (x + width, y + height) in specified colour.
fillRoundRect(int, int, int, int, int, int) - Method in class Console
Draws a filled rounded rectangle on the screen from (x, y) to (x + width, y + width).
fillRoundRect(int, int, int, int, int, int, Color) - Method in class ConsoleCanvasGraphics
Draws a filled rounded rectangle on the screen from (x, y) to (x + width, y + height) in specified colour.
fillStar(int, int, int, int) - Method in class Console
Draws a filled star on the screen from (x, y) to (x + width, y + width).
focusGained(FocusEvent) - Method in class ConsoleCanvas
Changes the cursor from an empty square to a normal cursor.
focusGained(FocusEvent) - Method in class ConsoleParent
Sets the focus to the invisible button and then the console canvas.
focusLost(FocusEvent) - Method in class ConsoleCanvas
Changes the cursor from a normal cursor to an empty square.
focusLost(FocusEvent) - Method in class ConsoleParent
Does nothing.
font - Variable in class Console
 
font - Variable in class ConsoleCanvas
Information about the font used for text drawing.
fontBase - Variable in class ConsoleCanvas
 
fontHeight - Variable in class ConsoleCanvas
 
fontWidth - Variable in class ConsoleCanvas
 

G

getBottom() - Method in class Bounceable
 
getChar() - Method in class Console
Returns the next character entered on the keyboard.
getColor() - Method in class Bounceable
 
getColor() - Method in class Moveable
 
getColumn() - Method in class Console
Returns the current column number of the cursor.
getCurrentColumn() - Method in class ConsoleCanvas
Returns the current column number of the cursor.
getCurrentColumn() - Method in class ConsoleCanvasGraphics
Returns the current column number of the cursor.
getCurrentRow() - Method in class ConsoleCanvas
Returns the current row number of the cursor.
getCurrentRow() - Method in class ConsoleCanvasGraphics
Returns the current row number of the cursor.
getData() - Method in class SortFrame
 
getDirection() - Method in class Bounceable
 
getDirection() - Method in class Moveable
 
getDirection() - Method in class PaintBug
 
getDrawingAreaHeight() - Method in class ConsoleCanvasGraphics
Returns the height of the console window in pixels.
getDrawingAreaWidth() - Method in class ConsoleCanvasGraphics
Returns the width of the console window in pixels.
getHeight() - Method in class Console
Returns the height of the console drawing surface in pixels.
getLeft() - Method in class Bounceable
 
getLeft() - Method in class TreeNode
 
getMargin() - Method in class Animator.WindowCanvas
 
getMargin() - Method in class ConsoleCanvasGraphics
 
getMargin() - Method in interface DrawGraphics
 
getMargin() - Method in class PaintBugWindow.WindowCanvas
 
getMargin() - Method in class VisibleHanoi.WindowCanvas
 
getMaxColumns() - Method in class Console
Returns the number of columns in the console window.
getMaxRows() - Method in class Console
Returns the number of rows in the console window.
getMinimumSize() - Method in class ConsoleCanvas
Overrides the getMinimumSize method to specify the proper canvas size
getMinimumSize() - Method in class SortFrame.SortCanvas
 
getOffscreenGraphics(Color) - Method in class ConsoleCanvasGraphics
Returns the Graphics object associated with the offscreen bitmap.
getOnscreenGraphics(Color) - Method in class ConsoleCanvasGraphics
Returns the Graphics object associated with the ConsoleCanvas.
getPreferredSize() - Method in class ConsoleCanvas
Overrides the getPreferredSize method to specify the proper canvas size
getPreferredSize() - Method in class Message
Specifies the preferred size of the dialog.
getPreferredSize() - Method in class SortFrame.SortCanvas
 
getPreferredSize() - Method in class Status
 
getRight() - Method in class Bounceable
 
getRight() - Method in class TreeNode
 
getRow() - Method in class Console
Returns the current row number of the cursor.
getSpeed() - Method in class Bounceable
 
getSpeed() - Method in class Moveable
 
getTop() - Method in class Bounceable
 
getValue() - Method in class TreeNode
 
getWidth() - Method in class Console
Returns the width of the console drawing surface in pixels.
getX() - Method in class Bounceable
 
getX() - Method in class Moveable
 
getXPos() - Method in class PaintBug
 
getXSize() - Method in class Animator
 
getXSize() - Static method in class PaintBug
 
getXSize() - Method in class PaintBugWindow
 
getY() - Method in class Bounceable
 
getY() - Method in class Moveable
 
getYPos() - Method in class PaintBug
 
getYSize() - Method in class Animator
 
getYSize() - Static method in class PaintBug
 
getYSize() - Method in class PaintBugWindow
 
graphicsCanvas - Variable in class Console
 
graphicsColor - Variable in class Console
Console graphics variables
GREY_MARGIN - Static variable in class ConsoleCanvas
 
gridInitialized - Static variable in class PaintBug
 
gridLabelFM - Variable in class PaintBugWindow.WindowCanvas
 
gridLabelFont - Variable in class PaintBugWindow.WindowCanvas
 

H

hasFocus - Variable in class ConsoleCanvas
 
hide() - Method in class PaintBug
 
hideBug(PaintBug, double, double, double, Color, String) - Method in class PaintBugWindow
 
hideBug(PaintBug, double, double, double, Color, String) - Method in class PaintBugWindow.WindowCanvas
 

I

in - Static variable in class Stdin
 
INIT_SLIDER_POS - Static variable in class PaintBugWindow
 
INIT_SLIDER_POS - Static variable in class VisibleHanoi
 
initialize(int, int, int, String) - Method in class ConsoleParent
Initializes the window.
invertScreen() - Method in class ConsoleCanvas
Inverts the console canvas for 50 milliseconds.
inXORMode - Variable in class ConsoleCanvasGraphics
 
isCharAvail() - Method in class Console
Returns whether a character is available in the keyboard buffer.
isFocusTraversable() - Method in class ConsoleCanvas
 
isKeyPressed(int) - Method in class Animator
 
isMainRunning() - Method in class ConsoleCanvas
This returns whether the main method is still alive.
isStandardOut() - Method in class TextOutputFile
 

K

kbdBuffer - Variable in class ConsoleParent
 
kbdBufferHead - Variable in class ConsoleParent
 
kbdBufferTail - Variable in class ConsoleParent
 
keyPressed(KeyEvent) - Method in class Animator
 
keyPressed(KeyEvent) - Method in class ConsoleParent
Places a keystroke in the keyboard buffer.
keyReleased(KeyEvent) - Method in class Animator
 
keyReleased(KeyEvent) - Method in class ConsoleParent
Does nothing.
keyTyped(KeyEvent) - Method in class Animator
 
keyTyped(KeyEvent) - Method in class ConsoleParent
Does nothing.
killCursorThread() - Method in class ConsoleCanvas
Kills the cursor thread (used when the Console window is closed).

L

label - Variable in class PaintBug
 
labelHeight - Variable in class PaintBugWindow.WindowCanvas
 
labelWidth - Variable in class PaintBugWindow.WindowCanvas
 
LEFT - Static variable in class ConsoleEdges
 
left - Variable in class PaintBugWindow.WindowCanvas
 
LEFT_TOP_MARGIN - Static variable in class PaintBugWindow.WindowCanvas
 
lineBuffer - Variable in class ConsoleParent
 
lineBuffer - Variable in class TextInputFile
 
lineBufferHead - Variable in class ConsoleParent
 
lineBufferPtr - Variable in class TextInputFile
 
lineBufferTail - Variable in class ConsoleParent
 
lineSeparator - Variable in class TextOutputFile
The line separator in files
loadImage(String) - Method in class Animator
 
lookUp(String) - Method in class PhoneBook
 

M

macOSX - Variable in class ConsoleCanvas
 
mainReturned - Static variable in class Console
 
mainReturned() - Static method in class Console
 
mainStopped() - Method in class ConsoleFrame
 
mainStopped() - Method in class ConsoleParent
This method is invoked if the "main" method appears to have stopped executing.
MARGIN - Static variable in class ConsoleCanvas
Constants for drawing the pane.
MARGIN - Static variable in class SortFrame.SortCanvas
 
MAX_PAINTBUGS - Static variable in class PaintBugWindow
 
maxcol() - Method in class Console
Returns the number of columns in the console window.
maxCol - Variable in class ConsoleParent
 
maxrow() - Method in class Console
Returns the number of rows in the console window.
maxRow - Variable in class ConsoleParent
 
maxx() - Method in class Console
Returns the maximum x coordinate of the console window in pixels.
maxy() - Method in class Console
Returns the maximum y coordinate of the console window in pixels.
Message - Class in <Unnamed>
 
Message(String) - Constructor for class Message
Contructor - Message to be displayed on centre of screen.
Message(String, Frame) - Constructor for class Message
Contructor - Message to be displayed on centre of a specified Frame.
Message(String, String) - Constructor for class Message
Contructor - Message to be displayed on centre of screen with a specified title.
Message(String, String, Frame) - Constructor for class Message
Contructor - Message to be displayed on centre of a specified Frame.
messageLabel - Variable in class Status
 
messageWidth - Variable in class Status
 
MIN_DISK_WIDTH - Static variable in class VisibleHanoi.WindowCanvas
 
move(double) - Method in class PaintBug
 
Moveable - Class in <Unnamed>
 
Moveable(double, double, double, double) - Constructor for class Moveable
 
moveBug(PaintBug, double, double, double, double, Color, int, boolean, String) - Method in class PaintBugWindow
 
moveBug(PaintBug, double, double, double) - Method in class PaintBugWindow.WindowCanvas
 
movementThread - Variable in class PaintBug
 
moveTop(int, int) - Method in class VisibleHanoi
 
moveTop(int, int) - Method in class VisibleHanoi.WindowCanvas
 

N

names - Variable in class PhoneBook
 
NO_SCALING - Static variable in class ConsoleCanvasGraphics
 
numBugs - Variable in class PaintBugWindow.WindowCanvas
 
numCols - Variable in class ConsoleCanvas
 
numEntries - Variable in class PhoneBook
 
numRows - Variable in class ConsoleCanvas
 
numXPixels - Variable in class ConsoleCanvas
 
numYPixels - Variable in class ConsoleCanvas
 

O

offscreen - Variable in class Animator.WindowCanvas
 
offscreen - Variable in class PaintBugWindow.WindowCanvas
 
offscreen - Variable in class VisibleHanoi.WindowCanvas
 
offscreenImage - Variable in class ConsoleCanvasGraphics
Variables for controlling the consoleCanvas pane.
offscreenTrails - Variable in class PaintBugWindow.WindowCanvas
 
out - Variable in class PaintBugWindow.WindowCanvas
 

P

paint(Graphics) - Method in class Animator.WindowCanvas
 
paint(Graphics, int, int) - Method in class Bounceable
 
paint(Graphics) - Method in class ConsoleCanvasGraphics
Overrides the paint method to redraw the screen using doDraw
paint(Graphics) - Method in class ConsoleEdges
Draws the console edge with a 3-D effect.
paint(Graphics, int, int) - Method in class Moveable
 
paint(Graphics) - Method in class Paintable
 
paint(Graphics) - Method in class PaintBugWindow.WindowCanvas
 
paint(Graphics) - Method in class SortFrame.SortCanvas
 
paint(Graphics) - Method in class VisibleHanoi.WindowCanvas
 
Paintable - Class in <Unnamed>
 
Paintable() - Constructor for class Paintable
 
PaintBug - Class in <Unnamed>
 
PaintBug(double, double, double, Color) - Constructor for class PaintBug
 
PaintBug() - Constructor for class PaintBug
 
PaintBug(int, int) - Constructor for class PaintBug
 
PaintBug(double, double) - Constructor for class PaintBug
 
PaintBug(Color) - Constructor for class PaintBug
 
PaintBug(int, int, Color) - Constructor for class PaintBug
 
PaintBug(double, double, Color) - Constructor for class PaintBug
 
PaintBugWindow - Class in <Unnamed>
 
PaintBugWindow(boolean) - Constructor for class PaintBugWindow
 
PaintBugWindow(int, int, boolean) - Constructor for class PaintBugWindow
 
PaintBugWindow.PaintBugThread - Class in <Unnamed>
 
PaintBugWindow.PaintBugThread(PaintBug, PaintBugWindow.WindowCanvas, double, double, double, double, Color, int, boolean) - Constructor for class PaintBugWindow.PaintBugThread
 
PaintBugWindow.PaintBugThread(PaintBug, PaintBugWindow.WindowCanvas, double, double, double, double, Color) - Constructor for class PaintBugWindow.PaintBugThread
 
PaintBugWindow.WindowCanvas - Class in <Unnamed>
 
PaintBugWindow.WindowCanvas(int, int, boolean) - Constructor for class PaintBugWindow.WindowCanvas
 
PaintBugWindow.WindowCloser - Class in <Unnamed>
 
PaintBugWindow.WindowCloser() - Constructor for class PaintBugWindow.WindowCloser
 
parentConsole - Variable in class ConsoleCanvas
Variables for controlling the consoleCanvas pane.
PhoneBook - Class in <Unnamed>
 
PhoneBook() - Constructor for class PhoneBook
 
phoneNumbers - Variable in class PhoneBook
 
POLE_THICKNESS - Static variable in class VisibleHanoi.WindowCanvas
 
POLE_TOP - Static variable in class VisibleHanoi.WindowCanvas
 
poleLabelFM - Variable in class VisibleHanoi.WindowCanvas
 
poleLabelFont - Variable in class VisibleHanoi.WindowCanvas
 
poleLabelHeight - Variable in class VisibleHanoi.WindowCanvas
 
poleLabels - Variable in class VisibleHanoi.WindowCanvas
 
poleLabelWidth - Variable in class VisibleHanoi.WindowCanvas
 
poleX - Variable in class VisibleHanoi.WindowCanvas
 
positionDialog(Window) - Method in class CloseableDialog
Places the dialog in the centre of the window passed in, or in the centre of the screen if no window is provided.
positionDialog(Window) - Method in class CloseableFrame
Places the dialog in the centre of the window passed in, or in the centre of the screen if no window is provided.
posts - Variable in class VisibleHanoi.WindowCanvas
 
print(String) - Method in class Console
Write a string to the Console.
print(byte) - Method in class ConsoleParent
Writes the text representation of an 8-bit integer (a "byte") to the Console.
print(byte, int) - Method in class ConsoleParent
Writes the text representation of an 8-bit integer (a "byte") to the Console with a specified field size.
print(char) - Method in class ConsoleParent
Writes a character to the Console.
print(char, int) - Method in class ConsoleParent
Writes a character to the Console with a specified field size..
print(double) - Method in class ConsoleParent
Writes a double precision floating point number (a "double") to the Console.
print(double, int) - Method in class ConsoleParent
Writes a double precision floating point number (a "double") to the Console with a specified field size.
print(double, int, int) - Method in class ConsoleParent
Writes a double precision floating point number (a "double") to the Console with a specified field size and a specified number of decimal places.
print(float) - Method in class ConsoleParent
Writes a floating point number (a "float") to the Console.
print(float, int) - Method in class ConsoleParent
Writes a floating point number (a "float") to the Console with a specified field size.
print(float, int, int) - Method in class ConsoleParent
Writes a floating point number (a "double") to the Console with a specified field size and a specified number of decimal places.
print(int) - Method in class ConsoleParent
Writes the text representation of an 32-bit integer (an "int") to the Console.
print(int, int) - Method in class ConsoleParent
Writes the text representation of an 32-bit integer (an "int") to the Console with a specified field size.
print(long) - Method in class ConsoleParent
Writes the text representation of an 64-bit integer (a "long") to the Console.
print(long, int) - Method in class ConsoleParent
Writes the text representation of an 64-bit integer (a "long") to the Console with a specified field size.
print(String) - Method in class ConsoleParent
Writes a string to the Console.
print(String, int) - Method in class ConsoleParent
Writes a string to the Console with a specified field size..
print(short) - Method in class ConsoleParent
Writes the text representation of an 16-bit integer (a "short") to the Console.
print(short, int) - Method in class ConsoleParent
Writes the text representation of an 16-bit integer (a "short") to the Console with a specified field size.
print(boolean) - Method in class ConsoleParent
Writes the text representation of a boolean to the Console.
print(boolean, int) - Method in class ConsoleParent
Writes the text representation of a boolean to the Console with a specified field size.
print(Graphics, PageFormat, int) - Method in class SavePrint
 
print(byte) - Static method in class Stdout
Write the text representation of an 8-bit integer (a "byte") to standard output.
print(byte, int) - Static method in class Stdout
Write the text representation of an 8-bit integer (a "byte") to standard output with a specified field size.
print(char) - Static method in class Stdout
Write a character to standard output.
print(char, int) - Static method in class Stdout
Write a character to standard output with a specified field size..
print(double) - Static method in class Stdout
Write a double precision floating point number (a "double") to standard output.
print(double, int) - Static method in class Stdout
Write a double precision floating point number (a "double") to standard output with a specified field size.
print(double, int, int) - Static method in class Stdout
Write a double precision floating point number (a "double") to standard output with a specified field size and a specified number of decimal places.
print(float) - Static method in class Stdout
Write a floating point number (a "float") to standard output.
print(float, int) - Static method in class Stdout
Write a floating point number (a "float") to standard output with a specified field size.
print(float, int, int) - Static method in class Stdout
Write a floating point number (a "double") to standard output with a specified field size and a specified number of decimal places.
print(int) - Static method in class Stdout
Write the text representation of an 32-bit integer (an "int") to standard output.
print(int, int) - Static method in class Stdout
Write the text representation of an 32-bit integer (an "int") to standard output with a specified field size.
print(long) - Static method in class Stdout
Write the text representation of an 64-bit integer (a "long") to standard output.
print(long, int) - Static method in class Stdout
Write the text representation of an 64-bit integer (a "long") to standard output with a specified field size.
print(String) - Static method in class Stdout
Write a string to standard output.
print(String, int) - Static method in class Stdout
Write a string to standard output with a specified field size..
print(short) - Static method in class Stdout
Write the text representation of an 16-bit integer (a "short") to standard output.
print(short, int) - Static method in class Stdout
Write the text representation of an 16-bit integer (a "short") to standard output with a specified field size.
print(boolean) - Static method in class Stdout
Write the text representation of a boolean to standard output.
print(boolean, int) - Static method in class Stdout
Write the text representation of a boolean to standard output with a specified field size.
print(byte) - Method in class TextOutputFile
Write the text representation of an 8-bit integer (a "byte") to the file.
print(byte, int) - Method in class TextOutputFile
Write the text representation of an 8-bit integer (a "byte") to the file with a specified field size.
print(char) - Method in class TextOutputFile
Write a character to the file.
print(char, int) - Method in class TextOutputFile
Write a character to the file with a specified field size..
print(double) - Method in class TextOutputFile
Write a double precision floating point number (a "double") to the file.
print(double, int) - Method in class TextOutputFile
Write a double precision floating point number (a "double") to the file with a specified field size.
print(double, int, int) - Method in class TextOutputFile
Write a double precision floating point number (a "double") to the file with a specified field size and a specified number of decimal places.
print(float) - Method in class TextOutputFile
Write a floating point number (a "float") to the file.
print(float, int) - Method in class TextOutputFile
Write a floating point number (a "float") to the file with a specified field size.
print(float, int, int) - Method in class TextOutputFile
Write a floating point number (a "double") to the file with a specified field size and a specified number of decimal places.
print(int) - Method in class TextOutputFile
Write the text representation of an 32-bit integer (an "int") to the file.
print(int, int) - Method in class TextOutputFile
Write the text representation of an 32-bit integer (an "int") to the file with a specified field size.
print(long) - Method in class TextOutputFile
Write the text representation of an 64-bit integer (a "long") to the file.
print(long, int) - Method in class TextOutputFile
Write the text representation of an 64-bit integer (a "long") to the file with a specified field size.
print(String) - Method in class TextOutputFile
Write a string to the file.
print(String, int) - Method in class TextOutputFile
Write a string to the file with a specified field size..
print(short) - Method in class TextOutputFile
Write the text representation of an 16-bit integer (a "short") to the file.
print(short, int) - Method in class TextOutputFile
Write the text representation of an 16-bit integer (a "short") to the file with a specified field size.
print(boolean) - Method in class TextOutputFile
Write the text representation of a boolean to the file.
print(boolean, int) - Method in class TextOutputFile
Write the text representation of a boolean to the file with a specified field size.
PRINT_COMMAND - Static variable in class ConsoleParent
 
printButton - Variable in class Animator
 
printButton - Variable in class PaintBugWindow
 
printButton - Variable in class VisibleHanoi
 
printContents() - Method in class ConsoleCanvas
Prints the contents of the window on the printer.
println() - Method in class ConsoleParent
Writes a newline to the Console.
println(byte) - Method in class ConsoleParent
Writes the text representation of an 8-bit integer (a "byte") to the Console followed by a newline.
println(byte, int) - Method in class ConsoleParent
Writes the text representation of an 8-bit integer (a "byte") to the Console with a specified field size followed by a newline.
println(char) - Method in class ConsoleParent
Writes a character to the Console followed by a newline.
println(char, int) - Method in class ConsoleParent
Writes a character to the Console with a specified field size..
println(double) - Method in class ConsoleParent
Writes a double precision floating point number (a "double") to the Console followed by a newline.
println(double, int) - Method in class ConsoleParent
Writes a double precision floating point number (a "double") to the Console with a specified field size followed by a newline.
println(double, int, int) - Method in class ConsoleParent
Writes a double precision floating point number (a "double") to the Console with a specified field size and a specified number of decimal places followed by a newline.
println(float) - Method in class ConsoleParent
Writes a floating point number (a "float") to the Console followed by a newline.
println(float, int) - Method in class ConsoleParent
Writes a floating point number (a "float") to the Console with a specified field size followed by a newline.
println(float, int, int) - Method in class ConsoleParent
Writes a floating point number (a "double") to the Console with a specified field size and a specified number of decimal places followed by a newline.
println(int) - Method in class ConsoleParent
Writes the text representation of an 32-bit integer (an "int") to the Console followed by a newline.
println(int, int) - Method in class ConsoleParent
Writes the text representation of an 32-bit integer (an "int") to the Console with a specified field size followed by a newline.
println(long) - Method in class ConsoleParent
Writes the text representation of an 64-bit integer (a "long") to the Console followed by a newline.
println(long, int) - Method in class ConsoleParent
Writes the text representation of an 64-bit integer (a "long") to the Console with a specified field size followed by a newline.
println(String) - Method in class ConsoleParent
Writes a string to the Console followed by a newline.
println(String, int) - Method in class ConsoleParent
Writes a string to the Console with a specified field size followed by a newline.
println(short) - Method in class ConsoleParent
Writes the text representation of an 16-bit integer (a "short") to the Console followed by a newline.
println(short, int) - Method in class ConsoleParent
Writes the text representation of an 16-bit integer (a "short") to the Console with a specified field size followed by a newline.
println(boolean) - Method in class ConsoleParent
Writes the text representation of a boolean to the Console followed by a newline.
println(boolean, int) - Method in class ConsoleParent
Writes the text representation of a boolean to the Console with a specified field size followed by a newline.
println() - Static method in class Stdout
Write a newline to standard output.
println(byte) - Static method in class Stdout
Write the text representation of an 8-bit integer (a "byte") to standard output followed by a newline.
println(byte, int) - Static method in class Stdout
Write the text representation of an 8-bit integer (a "byte") to standard output with a specified field size followed by a newline.
println(char) - Static method in class Stdout
Write a character to standard output followed by a newline.
println(char, int) - Static method in class Stdout
Write a character to standard output with a specified field size..
println(double) - Static method in class Stdout
Write a double precision floating point number (a "double") to standard output followed by a newline.
println(double, int) - Static method in class Stdout
Write a double precision floating point number (a "double") to standard output with a specified field size followed by a newline.
println(double, int, int) - Static method in class Stdout
Write a double precision floating point number (a "double") to standard output with a specified field size and a specified number of decimal places followed by a newline.
println(float) - Static method in class Stdout
Write a floating point number (a "float") to standard output followed by a newline.
println(float, int) - Static method in class Stdout
Write a floating point number (a "float") to standard output with a specified field size followed by a newline.
println(float, int, int) - Static method in class Stdout
Write a floating point number (a "double") to standard output with a specified field size and a specified number of decimal places followed by a newline.
println(int) - Static method in class Stdout
Write the text representation of an 32-bit integer (an "int") to standard output followed by a newline.
println(int, int) - Static method in class Stdout
Write the text representation of an 32-bit integer (an "int") to standard output with a specified field size followed by a newline.
println(long) - Static method in class Stdout
Write the text representation of an 64-bit integer (a "long") to standard output followed by a newline.
println(long, int) - Static method in class Stdout
Write the text representation of an 64-bit integer (a "long") to standard output with a specified field size followed by a newline.
println(String) - Static method in class Stdout
Write a string to standard output followed by a newline.
println(String, int) - Static method in class Stdout
Write a string to standard output with a specified field size followed by a newline.
println(short) - Static method in class Stdout
Write the text representation of an 16-bit integer (a "short") to standard output followed by a newline.
println(short, int) - Static method in class Stdout
Write the text representation of an 16-bit integer (a "short") to standard output with a specified field size followed by a newline.
println(boolean) - Static method in class Stdout
Write the text representation of a boolean to standard output followed by a newline.
println(boolean, int) - Static method in class Stdout
Write the text representation of a boolean to standard output with a specified field size followed by a newline.
println() - Method in class TextOutputFile
Write a newline to the file.
println(byte) - Method in class TextOutputFile
Write the text representation of an 8-bit integer (a "byte") to the file followed by a newline.
println(byte, int) - Method in class TextOutputFile
Write the text representation of an 8-bit integer (a "byte") to the file with a specified field size followed by a newline.
println(char) - Method in class TextOutputFile
Write a character to the file followed by a newline.
println(char, int) - Method in class TextOutputFile
Write a character to the file with a specified field size..
println(double) - Method in class TextOutputFile
Write a double precision floating point number (a "double") to the file followed by a newline.
println(double, int) - Method in class TextOutputFile
Write a double precision floating point number (a "double") to the file with a specified field size followed by a newline.
println(double, int, int) - Method in class TextOutputFile
Write a double precision floating point number (a "double") to the file with a specified field size and a specified number of decimal places followed by a newline.
println(float) - Method in class TextOutputFile
Write a floating point number (a "float") to the file followed by a newline.
println(float, int) - Method in class TextOutputFile
Write a floating point number (a "float") to the file with a specified field size followed by a newline.
println(float, int, int) - Method in class TextOutputFile
Write a floating point number (a "double") to the file with a specified field size and a specified number of decimal places followed by a newline.
println(int) - Method in class TextOutputFile
Write the text representation of an 32-bit integer (an "int") to the file followed by a newline.
println(int, int) - Method in class TextOutputFile
Write the text representation of an 32-bit integer (an "int") to the file with a specified field size followed by a newline.
println(long) - Method in class TextOutputFile
Write the text representation of an 64-bit integer (a "long") to the file followed by a newline.
println(long, int) - Method in class TextOutputFile
Write the text representation of an 64-bit integer (a "long") to the file with a specified field size followed by a newline.
println(String) - Method in class TextOutputFile
Write a string to the file followed by a newline.
println(String, int) - Method in class TextOutputFile
Write a string to the file with a specified field size followed by a newline.
println(short) - Method in class TextOutputFile
Write the text representation of an 16-bit integer (a "short") to the file followed by a newline.
println(short, int) - Method in class TextOutputFile
Write the text representation of an 16-bit integer (a "short") to the file with a specified field size followed by a newline.
println(boolean) - Method in class TextOutputFile
Write the text representation of a boolean to the file followed by a newline.
println(boolean, int) - Method in class TextOutputFile
Write the text representation of a boolean to the file with a specified field size followed by a newline.
pushACharacter(char) - Method in class TextInputFile
Place the character in the unread position.

Q

QUIT_COMMAND - Static variable in class ConsoleParent
 
quitProgram() - Method in class ConsoleParent
Hides the window and quits the program.

R

readACharacter() - Method in class TextInputFile
Read a single character from the file.
readACharacterThrowsEOF() - Method in class TextInputFile
Read a single character from the file.
readALineFromFile() - Method in class TextInputFile
Reads a line from the file.
readAToken() - Method in class TextInputFile
Reads in input from the keyboard buffer until it hits a whitespace, which indicates the end of a token.
readBoolean() - Method in class ConsoleParent
Reads a boolean from the Console.
readBoolean() - Static method in class Stdin
Read a boolean from standard input.
readBoolean() - Method in class TextInputFile
Read a boolean from the file.
readByte() - Method in class ConsoleParent
Reads an 8-bit integer (a "byte") from the Console.
readByte() - Static method in class Stdin
Read an 8-bit integer (a "byte") from standard input.
readByte() - Method in class TextInputFile
Read an 8-bit integer (a "byte") from the file.
readChar() - Method in class Console
Reads a single character from the Console.
readChar() - Method in class ConsoleParent
Reads a single character from the Console.
readChar() - Static method in class Stdin
Read a single character from standard input.
readChar() - Method in class TextInputFile
Read a single character from the file.
readDouble() - Method in class ConsoleParent
Reads a double precision floating point number (a "double") from the Console.
readDouble() - Static method in class Stdin
Read a double precision floating point number (a "double") from standard input.
readDouble() - Method in class TextInputFile
Read a double precision floating point number (a "double") from the file.
readFloat() - Method in class ConsoleParent
Reads a floating point number (a "float") from the Console.
readFloat() - Static method in class Stdin
Read a floating point number (a "float") from standard input.
readFloat() - Method in class TextInputFile
Read a floating point number (a "float") from the file.
readInt() - Method in class ConsoleParent
Reads a 32-bit integer (an "int") from the Console.
readInt() - Static method in class Stdin
Read a 32-bit integer (an "int") from standard input.
readInt() - Method in class TextInputFile
Read a 32-bit integer (an "int") from the file.
readLine() - Method in class ConsoleParent
Reads a full line of text from the Console.
readLine() - Static method in class Stdin
Read a full line of text from standard input.
readLine() - Method in class TextInputFile
Read a full line of text from the file.
readLong() - Method in class ConsoleParent
Reads a 64-bit integer (a "long") from the Console.
readLong() - Static method in class Stdin
Read a 64-bit integer (a "long") from standard input.
readLong() - Method in class TextInputFile
Read a 64-bit integer (a "long") from the file.
readShort() - Method in class ConsoleParent
Reads a 16-bit integer (a "short") from the Console.
readShort() - Static method in class Stdin
Read a 16-bit integer (a "short") from standard input.
readShort() - Method in class TextInputFile
Read a 16-bit integer (a "short") from the file.
readString() - Method in class ConsoleParent
Reads a whitespace delimited token from the Console.
readString() - Static method in class Stdin
Read a token from standard input.
readString() - Method in class TextInputFile
Read a whitespace delimited token from the file.
readToken() - Method in class ConsoleParent
Reads in input from the keyboard buffer until it hits a whitespace, which indicates the end of a token.
remove(String) - Method in class PhoneBook
 
RIGHT - Static variable in class ConsoleEdges
 
RIGHT_BOTTOM_MARGIN - Static variable in class PaintBugWindow.WindowCanvas
 
rotateBug(PaintBug, double, double, double, double, Color) - Method in class PaintBugWindow
 
ROWS_GRABBED_AT_A_TIME - Static variable in class PaintBugWindow.WindowCanvas
 
run() - Method in class ConsoleCanvas
ConsoleCanvas implements the Runnable interface.
run() - Method in class PaintBugWindow.PaintBugThread
 

S

SAVE_COMMAND - Static variable in class ConsoleParent
 
saveButton - Variable in class Animator
 
saveButton - Variable in class PaintBugWindow
 
saveButton - Variable in class VisibleHanoi
 
saveContents() - Method in class ConsoleCanvas
Saves the contents of the window to a file.
savePrint - Variable in class Animator.WindowCanvas
 
savePrint - Variable in class ConsoleCanvas
 
savePrint - Variable in class PaintBugWindow.WindowCanvas
 
SavePrint - Class in <Unnamed>
 
SavePrint(DrawGraphics, Component, int, int) - Constructor for class SavePrint
 
savePrint - Variable in class VisibleHanoi.WindowCanvas
 
SavePrint.Message - Class in <Unnamed>
 
SavePrint.Message(String) - Constructor for class SavePrint.Message
 
SavePrint.Status - Class in <Unnamed>
 
SavePrint.Status(String, String) - Constructor for class SavePrint.Status
 
saveToFile(String) - Method in class SavePrint
 
SCREEN_UPDATER_THREAD_NAME - Static variable in class ConsoleCanvas
 
scrollBar - Variable in class PaintBugWindow
 
scrollBar - Variable in class VisibleHanoi
 
scrollUpALine(Color) - Method in class ConsoleCanvasGraphics
Scrolls up the entire ConsoleCanvas a single line.
setColor(Color) - Method in class Bounceable
 
setColor(Color) - Method in class Console
Sets the foreground color for any graphics.
setColor(Color) - Method in class Moveable
 
setColor(Color) - Method in class PaintBug
 
setColour(Color) - Method in class Console
Sets the foreground colour for any graphics.
setCursor(int, int) - Method in class Console
Moves the cursor to the specified row and column.
setCursorPos(int, int) - Method in class ConsoleCanvasGraphics
Sets the cursor to the specified row and column.
setCursorVisible(boolean) - Method in class Console
Makes the blinking cursor visible or invisible.
setCursorVisible(boolean) - Method in class ConsoleCanvas
Makes the blinking cursor visible or invisible.
setDirection(double) - Method in class Bounceable
 
setDirection(double) - Method in class Moveable
 
setDirection(double) - Method in class PaintBug
 
setFont(Font) - Method in class Console
Sets the font for the drawString method.
setLabel(String) - Method in class PaintBug
 
setLeft(TreeNode) - Method in class TreeNode
 
setLocation(double, double) - Method in class Bounceable
 
setLocation(double, double) - Method in class Moveable
 
setMessage(String) - Method in class SavePrint.Status
 
setMessage(String) - Method in class Status
Sets the message being displayed in the Status Frame to the specified string.
setPaintMode() - Method in class Console
Sets the drawing mode for any graphics to "Paint".
setPaintMode() - Method in class ConsoleCanvasGraphics
Sets the drawing mode for any graphics to "Paint".
setPosition(double, double) - Method in class PaintBug
 
setRight(TreeNode) - Method in class TreeNode
 
setSpeed(double) - Method in class Bounceable
 
setSpeed(double) - Method in class Moveable
 
setSpeed(int) - Static method in class PaintBug
 
setSpeed(int) - Method in class PaintBugWindow
 
setSpeed(int) - Method in class VisibleHanoi
 
setTextBackgroundColor(Color) - Method in class Console
Sets the background color for any text.
setTextBackgroundColour(Color) - Method in class Console
Sets the background color for any text.
setTextColor(Color) - Method in class Console
Sets the foreground color for any text.
setTextColour(Color) - Method in class Console
Sets the foreground colour for any text.
setTrailWidth(int) - Method in class PaintBug
 
setValue(Object) - Method in class TreeNode
 
setWindowSize(int, int) - Static method in class PaintBug
 
setWindowTitle(String) - Method in class ConsoleParent
Sets the window title.
setXORMode(Color) - Method in class Console
Sets the drawing mode for any graphics to "XOR".
setXORMode(Color) - Method in class ConsoleCanvasGraphics
Sets the drawing mode for any graphics to "XOR".
shift(int, int) - Method in class SortFrame
 
shift(int, int, Comparable[]) - Static method in class VisualSortUtil
 
show() - Method in class PaintBug
 
showBug(PaintBug, double, double, double, Color, String) - Method in class PaintBugWindow
 
showBug(PaintBug, double, double, double, Color, String) - Method in class PaintBugWindow.WindowCanvas
 
showMerge(int, int) - Method in class SortFrame
 
showMerge(int, int, Comparable[]) - Static method in class VisualSortUtil
 
SortFrame - Class in <Unnamed>
 
SortFrame(String, int, int) - Constructor for class SortFrame
 
SortFrame.SortCanvas - Class in <Unnamed>
 
SortFrame.SortCanvas(int, int) - Constructor for class SortFrame.SortCanvas
 
SortFrame.WindowCloser - Class in <Unnamed>
 
SortFrame.WindowCloser() - Constructor for class SortFrame.WindowCloser
 
startCol - Variable in class Console
 
startRow - Variable in class Console
 
status - Variable in class PaintBugWindow.WindowCanvas
 
Status - Class in <Unnamed>
 
Status(String) - Constructor for class Status
Contructor - Status to be displayed on centre of screen.
Status(String, Frame) - Constructor for class Status
Contructor - Status to be displayed on centre of a specified Frame.
Status(String, String) - Constructor for class Status
Contructor - Status to be displayed on centre of screen with a specified title.
Status(String, String, Frame) - Constructor for class Status
Creates a Status dialog box (non-modal).
Stdin - Class in <Unnamed>
The Stdin class reads text from standard input.
Stdin() - Constructor for class Stdin
 
Stdout - Class in <Unnamed>
The Stdout class writes text to standard output.
Stdout() - Constructor for class Stdout
 
swap(int, int) - Method in class SortFrame
 
swap(int, int, Comparable[]) - Static method in class VisualSortUtil
 

T

TAB_SIZE - Static variable in class ConsoleParent
 
TEXT_MARGIN - Static variable in class PaintBugWindow.WindowCanvas
 
textBGColor - Variable in class Console
 
textColor - Variable in class Console
 
textHeight - Variable in class PaintBugWindow.WindowCanvas
 
TextInputFile - Class in <Unnamed>
 
TextInputFile() - Constructor for class TextInputFile
Contructor - TextInputFile to read from standard input.
TextInputFile(File) - Constructor for class TextInputFile
Contructor - TextInputFile to read from a File.
TextInputFile(String) - Constructor for class TextInputFile
Contructor - TextInputFile to read from file with specified name.
textLeft - Variable in class PaintBugWindow.WindowCanvas
 
TextOutputFile - Class in <Unnamed>
 
TextOutputFile() - Constructor for class TextOutputFile
Contructor - TextOutputFile to write to standard output.
TextOutputFile(File) - Constructor for class TextOutputFile
Contructor - TextOutputFile to write to a File.
TextOutputFile(File, boolean) - Constructor for class TextOutputFile
Contructor - TextOutputFile to write or append to a File.
TextOutputFile(String) - Constructor for class TextOutputFile
Contructor - TextFile to write to file with specified name.
TextOutputFile(String, boolean) - Constructor for class TextOutputFile
Contructor - TextFile to write or append to file with specified name.
textTop - Variable in class PaintBugWindow.WindowCanvas
 
textWidth - Variable in class PaintBugWindow.WindowCanvas
 
toggleCursor() - Method in class ConsoleCanvas
Toggles the visible cursor on the screen off or on.
TOP - Static variable in class ConsoleEdges
 
top - Variable in class PaintBugWindow.WindowCanvas
 
trailOff() - Method in class PaintBug
 
trailOn() - Method in class PaintBug
 
trailVisible - Variable in class PaintBug
 
trailVisible - Variable in class PaintBugWindow.PaintBugThread
 
trailWidth - Variable in class PaintBug
 
trailWidth - Variable in class PaintBugWindow.PaintBugThread
 
TreeNode - Class in <Unnamed>
 
TreeNode(Object, TreeNode, TreeNode) - Constructor for class TreeNode
 
turnLeft(double) - Method in class PaintBug
 
turnRight(double) - Method in class PaintBug
 

U

ungotChar - Variable in class ConsoleParent
 
ungotChar - Variable in class TextInputFile
 
update(Graphics) - Method in class Animator.WindowCanvas
 
update(Graphics) - Method in class ConsoleCanvas
Overrides the update method to redraw the screen using doDraw
update(Graphics) - Method in class PaintBugWindow.WindowCanvas
 
update(Graphics) - Method in class VisibleHanoi.WindowCanvas
 
useStandardIO - Variable in class TextInputFile
Indicator whether to write to standard output or a file.
useStandardIO - Variable in class TextOutputFile
Indicator whether to write to standard output or a file.

V

VisibleHanoi - Class in <Unnamed>
 
VisibleHanoi(int) - Constructor for class VisibleHanoi
 
VisibleHanoi.WindowCanvas - Class in <Unnamed>
 
VisibleHanoi.WindowCanvas(int, int, int) - Constructor for class VisibleHanoi.WindowCanvas
 
VisibleHanoi.WindowCloser - Class in <Unnamed>
 
VisibleHanoi.WindowCloser() - Constructor for class VisibleHanoi.WindowCloser
 
VisualSortUtil - Class in <Unnamed>
 
VisualSortUtil() - Constructor for class VisualSortUtil
 

W

window - Variable in class ConsoleParent
 
window - Static variable in class PaintBug
 
windowActivated(WindowEvent) - Method in class CloseableDialog
Does nothing.
windowActivated(WindowEvent) - Method in class CloseableFrame
Does nothing.
windowActivated(WindowEvent) - Method in class ConsoleParent
Does nothing.
windowClosed(WindowEvent) - Method in class CloseableDialog
Does nothing.
windowClosed(WindowEvent) - Method in class CloseableFrame
Does nothing.
windowClosed(WindowEvent) - Method in class ConsoleParent
Does nothing.
windowClosing(WindowEvent) - Method in class Animator.WindowCloser
 
windowClosing(WindowEvent) - Method in class CloseableDialog
Closes the dialog.
windowClosing(WindowEvent) - Method in class CloseableFrame
Closes the window.
windowClosing(WindowEvent) - Method in class ConsoleParent
Quits the program.
windowClosing(WindowEvent) - Method in class PaintBugWindow.WindowCloser
 
windowClosing(WindowEvent) - Method in class SortFrame.WindowCloser
 
windowClosing(WindowEvent) - Method in class Status
Hides the Status window.
windowClosing(WindowEvent) - Method in class VisibleHanoi.WindowCloser
 
windowDeactivated(WindowEvent) - Method in class CloseableDialog
Does nothing.
windowDeactivated(WindowEvent) - Method in class CloseableFrame
Does nothing.
windowDeactivated(WindowEvent) - Method in class ConsoleParent
Does nothing.
windowDeiconified(WindowEvent) - Method in class CloseableDialog
Does nothing.
windowDeiconified(WindowEvent) - Method in class CloseableFrame
Does nothing.
windowDeiconified(WindowEvent) - Method in class ConsoleParent
Does nothing.
windowIconified(WindowEvent) - Method in class CloseableDialog
Does nothing.
windowIconified(WindowEvent) - Method in class CloseableFrame
Does nothing.
windowIconified(WindowEvent) - Method in class ConsoleParent
Does nothing.
windowOpened(WindowEvent) - Method in class CloseableDialog
Does nothing.
windowOpened(WindowEvent) - Method in class CloseableFrame
Does nothing.
windowOpened(WindowEvent) - Method in class ConsoleParent
Does nothing.

X

xorColor - Variable in class ConsoleCanvasGraphics
 
xPos - Variable in class PaintBug
 
xPos - Variable in class PaintBugWindow.PaintBugThread
 
xSize - Variable in class Animator.WindowCanvas
 
xSize - Static variable in class PaintBug
 
xSize - Variable in class PaintBugWindow.WindowCanvas
 
xSize - Variable in class PaintBugWindow
 
xSize - Variable in class VisibleHanoi.WindowCanvas
 
xSize - Variable in class VisibleHanoi
 

Y

yPos - Variable in class PaintBug
 
yPos - Variable in class PaintBugWindow.PaintBugThread
 
ySize - Variable in class Animator.WindowCanvas
 
ySize - Static variable in class PaintBug
 
ySize - Variable in class PaintBugWindow.WindowCanvas
 
ySize - Variable in class PaintBugWindow
 
ySize - Variable in class VisibleHanoi.WindowCanvas
 
ySize - Variable in class VisibleHanoi
 

A B C D E F G H I K L M N O P Q R S T U V W X Y