Skip navigation links
A B C D E F G H I K L M P R S T U V W 

A

actionPerformed(ActionEvent) - Method in class hsa.Animator
 
actionPerformed(ActionEvent) - Method in class hsa.VisibleHanoi
 
actualCol - Variable in class hsa.Console
 
actualRow - Variable in class hsa.Console
 
add(Moveable) - Method in class hsa.Animator
 
add(Bounceable) - Method in class hsa.Animator
 
add(Paintable) - Method in class hsa.Animator
 
add(String, String) - Method in class hsa.PhoneBook
 
adjustmentValueChanged(AdjustmentEvent) - Method in class hsa.VisibleHanoi
 
Animator - Class in hsa
 
Animator() - Constructor for class hsa.Animator
 
Animator(int, int) - Constructor for class hsa.Animator
 

B

beep() - Static method in class hsa.Message
Causes the speaker to beep.
Bounceable - Class in hsa
 
Bounceable(double, double, double, double) - Constructor for class hsa.Bounceable
 

C

clear() - Method in class hsa.Console
Clears the screen and moves the cursor to the top left corner.
clearRect(int, int, int, int) - Method in class hsa.Console
Clears a rectangle in the console to white.
clearToEOL - Variable in class hsa.Console
 
close() - Static method in class hsa.Stdin
Closes Stdin to further reading.
close() - Static method in class hsa.Stdout
Close Stdout to further writing.
close() - Method in class hsa.TextInputFile
Close the file to further reading.
close() - Method in class hsa.TextOutputFile
Close the file to further writing.
closed - Variable in class hsa.TextInputFile
Set if the file has been closed.
closed - Variable in class hsa.TextOutputFile
Set if the file has been closed.
Console - Class in hsa
 
Console() - Constructor for class hsa.Console
Creates a console using the default values of: 25x80 screen, 14 pt font, "Console" as title.
Console(int) - Constructor for class hsa.Console
Creates a console using the default values of: 25x80 screen, "Console" as title.
Console(int, int) - Constructor for class hsa.Console
Creates a console using the default values of: 14 pt font, "Console" as title.
Console(int, int, int) - Constructor for class hsa.Console
Creates a console using the default values of: "Console" as title.
Console(int, int, int, String) - Constructor for class hsa.Console
Creates a console.
Console(int, int, String) - Constructor for class hsa.Console
Creates a console using the default values of: 14 pt font.
Console(int, String) - Constructor for class hsa.Console
Creates a console using the default values of: 25x80 screen.
Console(String) - Constructor for class hsa.Console
Creates a console using the default values of: 25x80 screen, 14 pt font.
copyArea(int, int, int, int, int, int) - Method in class hsa.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).
createBalancedLetterTree(int) - Static method in class hsa.TreeUtil
 
createBalancedNumberTree(int) - Static method in class hsa.TreeUtil
 
createExpressionTree(String) - Static method in class hsa.TreeUtil
 
createIntegerTree(int) - Static method in class hsa.TreeUtil
 
createLetterTree(int) - Static method in class hsa.TreeUtil
 
createNumberTree(int) - Static method in class hsa.TreeUtil
 
createVisualArray(String, int, int) - Static method in class hsa.VisualSortUtil
 
currentCol - Variable in class hsa.Console
Console text variables
currentRow - Variable in class hsa.Console
Console text variables

D

delay(int) - Method in class hsa.Animator
 
DIAMETER - Static variable in class hsa.Moveable
 
displayTreeInWindow(Object) - Static method in class hsa.TreeUtil
 
displayTreeInWindow(Object, String) - Static method in class hsa.TreeUtil
 
displayTreeInWindow(Object, String, int) - Static method in class hsa.TreeUtil
 
draw3DRect(int, int, int, int, boolean) - Method in class hsa.Console
Draws a 3D rectangle on the screen from (x, y) to (x + width, y + width).
drawArc(int, int, int, int, int, int) - Method in class hsa.Console
Draws an arc on the screen from (x, y) to (x + width, y + height) from startAngle to startAngle + arcAngle in specified colour.
drawFrame() - Method in class hsa.Animator
 
drawGrid() - Static method in class hsa.PaintBug
 
drawImage(Image, int, int, ImageObserver) - Method in class hsa.Console
Draws an image on the screen at (x, y).
drawLine(int, int, int, int) - Method in class hsa.Console
Draws a line on the screen from (x1, y1) to (x2, y2).
drawMapleLeaf(int, int, int, int) - Method in class hsa.Console
Draws a maple leaf on the screen from (x, y) to (x + width, y + width).
drawOval(int, int, int, int) - Method in class hsa.Console
Draws an oval on the screen in the sqaure from (x, y) to (x + width, y + height).
drawPolygon(int[], int[], int) - Method in class hsa.Console
Draws a polygon specified by the arrays of points.
drawRect(int, int, int, int) - Method in class hsa.Console
Draws a rectangle on the screen from (x, y) to (x + width, y + width).
drawRoundRect(int, int, int, int, int, int) - Method in class hsa.Console
Draws a rounded rectangle on the screen from (x, y) to (x + width, y + width).
drawStar(int, int, int, int) - Method in class hsa.Console
Draws a star on the screen from (x, y) to (x + width, y + width).
drawString(String, int, int) - Method in class hsa.Console
Draws a text on the screen at location (x, y).

E

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

F

f - Variable in class hsa.TextInputFile
Stream used for reading input.
f - Variable in class hsa.TextOutputFile
Streams used for the file
FatalError - Class in hsa
 
FatalError(String) - Constructor for class hsa.FatalError
Contructor - FatalError to be displayed on centre of screen.
FatalError(String, Frame) - Constructor for class hsa.FatalError
Contructor - FatalError to be displayed on centre of a specified Frame.
fileName - Variable in class hsa.TextInputFile
The file name.
fileName - Variable in class hsa.TextOutputFile
The file name.
fill3DRect(int, int, int, int, boolean) - Method in class hsa.Console
Draws a filled 3D rectangle on the screen from (x, y) to (x + width, y + width).
fillArc(int, int, int, int, int, int) - Method in class hsa.Console
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 hsa.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 hsa.Console
Draws a filled oval on the screen in the sqaure from (x, y) to (x + width, y + height).
fillPolygon(int[], int[], int) - Method in class hsa.Console
Draws a filled polygon specified by the arrays of points..
fillRect(int, int, int, int) - Method in class hsa.Console
Draws a filled rectangle on the screen from (x, y) to (x + width, y + width).
fillRoundRect(int, int, int, int, int, int) - Method in class hsa.Console
Draws a filled rounded rectangle on the screen from (x, y) to (x + width, y + width).
fillStar(int, int, int, int) - Method in class hsa.Console
Draws a filled star on the screen from (x, y) to (x + width, y + width).
font - Variable in class hsa.Console
 

G

getBottom() - Method in class hsa.Bounceable
 
getChar() - Method in class hsa.Console
Returns the next character entered on the keyboard.
getColor() - Method in class hsa.Bounceable
 
getColor() - Method in class hsa.Moveable
 
getColumn() - Method in class hsa.Console
Returns the current column number of the cursor.
getDirection() - Method in class hsa.Bounceable
 
getDirection() - Method in class hsa.Moveable
 
getDirection() - Method in class hsa.PaintBug
 
getHeight() - Method in class hsa.Console
Returns the height of the console drawing surface in pixels.
getLeft() - Method in class hsa.Bounceable
 
getLeft() - Method in class hsa.TreeNode
 
getMaxColumns() - Method in class hsa.Console
Returns the number of columns in the console window.
getMaxRows() - Method in class hsa.Console
Returns the number of rows in the console window.
getPreferredSize() - Method in class hsa.Message
Specifies the preferred size of the dialog.
getPreferredSize() - Method in class hsa.Status
 
getRight() - Method in class hsa.Bounceable
 
getRight() - Method in class hsa.TreeNode
 
getRow() - Method in class hsa.Console
Returns the current row number of the cursor.
getSpeed() - Method in class hsa.Bounceable
 
getSpeed() - Method in class hsa.Moveable
 
getTop() - Method in class hsa.Bounceable
 
getValue() - Method in class hsa.TreeNode
 
getWidth() - Method in class hsa.Console
Returns the width of the console drawing surface in pixels.
getX() - Method in class hsa.Bounceable
 
getX() - Method in class hsa.Moveable
 
getXPos() - Method in class hsa.PaintBug
 
getXSize() - Method in class hsa.Animator
 
getXSize() - Static method in class hsa.PaintBug
 
getY() - Method in class hsa.Bounceable
 
getY() - Method in class hsa.Moveable
 
getYPos() - Method in class hsa.PaintBug
 
getYSize() - Method in class hsa.Animator
 
getYSize() - Static method in class hsa.PaintBug
 
graphicsCanvas - Variable in class hsa.Console
 
graphicsColor - Variable in class hsa.Console
Console graphics variables

H

hide() - Method in class hsa.PaintBug
 
hsa - package hsa
 

I

in - Static variable in class hsa.Stdin
 
isCharAvail() - Method in class hsa.Console
Returns whether a character is available in the keyboard buffer.
isKeyPressed(int) - Method in class hsa.Animator
 
isStandardOut() - Method in class hsa.TextOutputFile
 

K

keyPressed(KeyEvent) - Method in class hsa.Animator
 
keyReleased(KeyEvent) - Method in class hsa.Animator
 
keyTyped(KeyEvent) - Method in class hsa.Animator
 

L

lineBuffer - Variable in class hsa.TextInputFile
 
lineSeparator - Variable in class hsa.TextOutputFile
The line separator in files
loadImage(String) - Method in class hsa.Animator
 
lookUp(String) - Method in class hsa.PhoneBook
 

M

mainReturned - Static variable in class hsa.Console
 
mainReturned() - Static method in class hsa.Console
 
maxcol() - Method in class hsa.Console
Returns the number of columns in the console window.
maxrow() - Method in class hsa.Console
Returns the number of rows in the console window.
maxx() - Method in class hsa.Console
Returns the maximum x coordinate of the console window in pixels.
maxy() - Method in class hsa.Console
Returns the maximum y coordinate of the console window in pixels.
Message - Class in hsa
 
Message(String) - Constructor for class hsa.Message
Contructor - Message to be displayed on centre of screen.
Message(String, Frame) - Constructor for class hsa.Message
Contructor - Message to be displayed on centre of a specified Frame.
Message(String, String) - Constructor for class hsa.Message
Contructor - Message to be displayed on centre of screen with a specified title.
Message(String, String, Frame) - Constructor for class hsa.Message
Contructor - Message to be displayed on centre of a specified Frame.
move(double) - Method in class hsa.PaintBug
 
Moveable - Class in hsa
 
Moveable(double, double, double, double) - Constructor for class hsa.Moveable
 
moveTop(int, int) - Method in class hsa.VisibleHanoi
 

P

paint(Graphics, int, int) - Method in class hsa.Bounceable
 
paint(Graphics, int, int) - Method in class hsa.Moveable
 
paint(Graphics) - Method in class hsa.Paintable
 
Paintable - Class in hsa
 
Paintable() - Constructor for class hsa.Paintable
 
PaintBug - Class in hsa
 
PaintBug(double, double, double, Color) - Constructor for class hsa.PaintBug
 
PaintBug() - Constructor for class hsa.PaintBug
 
PaintBug(int, int) - Constructor for class hsa.PaintBug
 
PaintBug(double, double) - Constructor for class hsa.PaintBug
 
PaintBug(Color) - Constructor for class hsa.PaintBug
 
PaintBug(int, int, Color) - Constructor for class hsa.PaintBug
 
PaintBug(double, double, Color) - Constructor for class hsa.PaintBug
 
PhoneBook - Class in hsa
 
PhoneBook() - Constructor for class hsa.PhoneBook
 
print(String) - Method in class hsa.Console
Write a string to the Console.
print(Graphics, PageFormat, int) - Method in class hsa.SavePrint
 
print(byte) - Static method in class hsa.Stdout
Write the text representation of an 8-bit integer (a "byte") to standard output.
print(byte, int) - Static method in class hsa.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 hsa.Stdout
Write a character to standard output.
print(char, int) - Static method in class hsa.Stdout
Write a character to standard output with a specified field size..
print(double) - Static method in class hsa.Stdout
Write a double precision floating point number (a "double") to standard output.
print(double, int) - Static method in class hsa.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 hsa.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 hsa.Stdout
Write a floating point number (a "float") to standard output.
print(float, int) - Static method in class hsa.Stdout
Write a floating point number (a "float") to standard output with a specified field size.
print(float, int, int) - Static method in class hsa.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 hsa.Stdout
Write the text representation of an 32-bit integer (an "int") to standard output.
print(int, int) - Static method in class hsa.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 hsa.Stdout
Write the text representation of an 64-bit integer (a "long") to standard output.
print(long, int) - Static method in class hsa.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 hsa.Stdout
Write a string to standard output.
print(String, int) - Static method in class hsa.Stdout
Write a string to standard output with a specified field size..
print(short) - Static method in class hsa.Stdout
Write the text representation of an 16-bit integer (a "short") to standard output.
print(short, int) - Static method in class hsa.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 hsa.Stdout
Write the text representation of a boolean to standard output.
print(boolean, int) - Static method in class hsa.Stdout
Write the text representation of a boolean to standard output with a specified field size.
print(byte) - Method in class hsa.TextOutputFile
Write the text representation of an 8-bit integer (a "byte") to the file.
print(byte, int) - Method in class hsa.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 hsa.TextOutputFile
Write a character to the file.
print(char, int) - Method in class hsa.TextOutputFile
Write a character to the file with a specified field size..
print(double) - Method in class hsa.TextOutputFile
Write a double precision floating point number (a "double") to the file.
print(double, int) - Method in class hsa.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 hsa.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 hsa.TextOutputFile
Write a floating point number (a "float") to the file.
print(float, int) - Method in class hsa.TextOutputFile
Write a floating point number (a "float") to the file with a specified field size.
print(float, int, int) - Method in class hsa.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 hsa.TextOutputFile
Write the text representation of an 32-bit integer (an "int") to the file.
print(int, int) - Method in class hsa.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 hsa.TextOutputFile
Write the text representation of an 64-bit integer (a "long") to the file.
print(long, int) - Method in class hsa.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 hsa.TextOutputFile
Write a string to the file.
print(String, int) - Method in class hsa.TextOutputFile
Write a string to the file with a specified field size..
print(short) - Method in class hsa.TextOutputFile
Write the text representation of an 16-bit integer (a "short") to the file.
print(short, int) - Method in class hsa.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 hsa.TextOutputFile
Write the text representation of a boolean to the file.
print(boolean, int) - Method in class hsa.TextOutputFile
Write the text representation of a boolean to the file with a specified field size.
println() - Static method in class hsa.Stdout
Write a newline to standard output.
println(byte) - Static method in class hsa.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 hsa.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 hsa.Stdout
Write a character to standard output followed by a newline.
println(char, int) - Static method in class hsa.Stdout
Write a character to standard output with a specified field size..
println(double) - Static method in class hsa.Stdout
Write a double precision floating point number (a "double") to standard output followed by a newline.
println(double, int) - Static method in class hsa.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 hsa.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 hsa.Stdout
Write a floating point number (a "float") to standard output followed by a newline.
println(float, int) - Static method in class hsa.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 hsa.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 hsa.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 hsa.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 hsa.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 hsa.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 hsa.Stdout
Write a string to standard output followed by a newline.
println(String, int) - Static method in class hsa.Stdout
Write a string to standard output with a specified field size followed by a newline.
println(short) - Static method in class hsa.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 hsa.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 hsa.Stdout
Write the text representation of a boolean to standard output followed by a newline.
println(boolean, int) - Static method in class hsa.Stdout
Write the text representation of a boolean to standard output with a specified field size followed by a newline.
println() - Method in class hsa.TextOutputFile
Write a newline to the file.
println(byte) - Method in class hsa.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 hsa.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 hsa.TextOutputFile
Write a character to the file followed by a newline.
println(char, int) - Method in class hsa.TextOutputFile
Write a character to the file with a specified field size..
println(double) - Method in class hsa.TextOutputFile
Write a double precision floating point number (a "double") to the file followed by a newline.
println(double, int) - Method in class hsa.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 hsa.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 hsa.TextOutputFile
Write a floating point number (a "float") to the file followed by a newline.
println(float, int) - Method in class hsa.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 hsa.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 hsa.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 hsa.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 hsa.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 hsa.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 hsa.TextOutputFile
Write a string to the file followed by a newline.
println(String, int) - Method in class hsa.TextOutputFile
Write a string to the file with a specified field size followed by a newline.
println(short) - Method in class hsa.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 hsa.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 hsa.TextOutputFile
Write the text representation of a boolean to the file followed by a newline.
println(boolean, int) - Method in class hsa.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 hsa.TextInputFile
Place the character in the unread position.

R

readACharacter() - Method in class hsa.TextInputFile
Read a single character from the file.
readACharacterThrowsEOF() - Method in class hsa.TextInputFile
Read a single character from the file.
readALineFromFile() - Method in class hsa.TextInputFile
Reads a line from the file.
readAToken() - Method in class hsa.TextInputFile
Reads in input from the keyboard buffer until it hits a whitespace, which indicates the end of a token.
readBoolean() - Static method in class hsa.Stdin
Read a boolean from standard input.
readBoolean() - Method in class hsa.TextInputFile
Read a boolean from the file.
readByte() - Static method in class hsa.Stdin
Read an 8-bit integer (a "byte") from standard input.
readByte() - Method in class hsa.TextInputFile
Read an 8-bit integer (a "byte") from the file.
readChar() - Method in class hsa.Console
Reads a single character from the Console.
readChar() - Static method in class hsa.Stdin
Read a single character from standard input.
readChar() - Method in class hsa.TextInputFile
Read a single character from the file.
readDouble() - Static method in class hsa.Stdin
Read a double precision floating point number (a "double") from standard input.
readDouble() - Method in class hsa.TextInputFile
Read a double precision floating point number (a "double") from the file.
readFloat() - Static method in class hsa.Stdin
Read a floating point number (a "float") from standard input.
readFloat() - Method in class hsa.TextInputFile
Read a floating point number (a "float") from the file.
readInt() - Static method in class hsa.Stdin
Read a 32-bit integer (an "int") from standard input.
readInt() - Method in class hsa.TextInputFile
Read a 32-bit integer (an "int") from the file.
readLine() - Static method in class hsa.Stdin
Read a full line of text from standard input.
readLine() - Method in class hsa.TextInputFile
Read a full line of text from the file.
readLong() - Static method in class hsa.Stdin
Read a 64-bit integer (a "long") from standard input.
readLong() - Method in class hsa.TextInputFile
Read a 64-bit integer (a "long") from the file.
readShort() - Static method in class hsa.Stdin
Read a 16-bit integer (a "short") from standard input.
readShort() - Method in class hsa.TextInputFile
Read a 16-bit integer (a "short") from the file.
readString() - Static method in class hsa.Stdin
Read a token from standard input.
readString() - Method in class hsa.TextInputFile
Read a whitespace delimited token from the file.
remove(String) - Method in class hsa.PhoneBook
 

S

SavePrint - Class in hsa
 
SavePrint(DrawGraphics, Component, int, int) - Constructor for class hsa.SavePrint
 
saveToFile(String) - Method in class hsa.SavePrint
 
setColor(Color) - Method in class hsa.Bounceable
 
setColor(Color) - Method in class hsa.Console
Sets the foreground color for any graphics.
setColor(Color) - Method in class hsa.Moveable
 
setColor(Color) - Method in class hsa.PaintBug
 
setColour(Color) - Method in class hsa.Console
Sets the foreground colour for any graphics.
setCursor(int, int) - Method in class hsa.Console
Moves the cursor to the specified row and column.
setCursorVisible(boolean) - Method in class hsa.Console
Makes the blinking cursor visible or invisible.
setDirection(double) - Method in class hsa.Bounceable
 
setDirection(double) - Method in class hsa.Moveable
 
setDirection(double) - Method in class hsa.PaintBug
 
setFont(Font) - Method in class hsa.Console
Sets the font for the drawString method.
setLabel(String) - Method in class hsa.PaintBug
 
setLeft(TreeNode) - Method in class hsa.TreeNode
 
setLocation(double, double) - Method in class hsa.Bounceable
 
setLocation(double, double) - Method in class hsa.Moveable
 
setMessage(String) - Method in class hsa.Status
Sets the message being displayed in the Status Frame to the specified string.
setPaintMode() - Method in class hsa.Console
Sets the drawing mode for any graphics to "Paint".
setPosition(double, double) - Method in class hsa.PaintBug
 
setRight(TreeNode) - Method in class hsa.TreeNode
 
setSpeed(double) - Method in class hsa.Bounceable
 
setSpeed(double) - Method in class hsa.Moveable
 
setSpeed(int) - Static method in class hsa.PaintBug
 
setSpeed(int) - Method in class hsa.VisibleHanoi
 
setTextBackgroundColor(Color) - Method in class hsa.Console
Sets the background color for any text.
setTextBackgroundColour(Color) - Method in class hsa.Console
Sets the background color for any text.
setTextColor(Color) - Method in class hsa.Console
Sets the foreground color for any text.
setTextColour(Color) - Method in class hsa.Console
Sets the foreground colour for any text.
setTrailWidth(int) - Method in class hsa.PaintBug
 
setValue(Object) - Method in class hsa.TreeNode
 
setWindowSize(int, int) - Static method in class hsa.PaintBug
 
setXORMode(Color) - Method in class hsa.Console
Sets the drawing mode for any graphics to "XOR".
shift(int, int, Comparable[]) - Static method in class hsa.VisualSortUtil
 
show() - Method in class hsa.PaintBug
 
showMerge(int, int, Comparable[]) - Static method in class hsa.VisualSortUtil
 
startCol - Variable in class hsa.Console
 
startRow - Variable in class hsa.Console
 
Status - Class in hsa
 
Status(String) - Constructor for class hsa.Status
Contructor - Status to be displayed on centre of screen.
Status(String, Frame) - Constructor for class hsa.Status
Contructor - Status to be displayed on centre of a specified Frame.
Status(String, String) - Constructor for class hsa.Status
Contructor - Status to be displayed on centre of screen with a specified title.
Status(String, String, Frame) - Constructor for class hsa.Status
Creates a Status dialog box (non-modal).
Stdin - Class in hsa
The Stdin class reads text from standard input.
Stdin() - Constructor for class hsa.Stdin
 
Stdout - Class in hsa
The Stdout class writes text to standard output.
Stdout() - Constructor for class hsa.Stdout
 
swap(int, int, Comparable[]) - Static method in class hsa.VisualSortUtil
 

T

textBGColor - Variable in class hsa.Console
 
textColor - Variable in class hsa.Console
 
TextInputFile - Class in hsa
 
TextInputFile() - Constructor for class hsa.TextInputFile
Contructor - TextInputFile to read from standard input.
TextInputFile(File) - Constructor for class hsa.TextInputFile
Contructor - TextInputFile to read from a File.
TextInputFile(String) - Constructor for class hsa.TextInputFile
Contructor - TextInputFile to read from file with specified name.
TextOutputFile - Class in hsa
 
TextOutputFile() - Constructor for class hsa.TextOutputFile
Contructor - TextOutputFile to write to standard output.
TextOutputFile(File) - Constructor for class hsa.TextOutputFile
Contructor - TextOutputFile to write to a File.
TextOutputFile(File, boolean) - Constructor for class hsa.TextOutputFile
Contructor - TextOutputFile to write or append to a File.
TextOutputFile(String) - Constructor for class hsa.TextOutputFile
Contructor - TextFile to write to file with specified name.
TextOutputFile(String, boolean) - Constructor for class hsa.TextOutputFile
Contructor - TextFile to write or append to file with specified name.
trailOff() - Method in class hsa.PaintBug
 
trailOn() - Method in class hsa.PaintBug
 
TreeNode - Class in hsa
 
TreeNode(Object, TreeNode, TreeNode) - Constructor for class hsa.TreeNode
 
TreeUtil - Class in hsa
 
TreeUtil() - Constructor for class hsa.TreeUtil
 
turnLeft(double) - Method in class hsa.PaintBug
 
turnRight(double) - Method in class hsa.PaintBug
 

U

useStandardIO - Variable in class hsa.TextInputFile
Indicator whether to write to standard output or a file.
useStandardIO - Variable in class hsa.TextOutputFile
Indicator whether to write to standard output or a file.

V

VisibleHanoi - Class in hsa
 
VisibleHanoi(int) - Constructor for class hsa.VisibleHanoi
 
VisualSortUtil - Class in hsa
 
VisualSortUtil() - Constructor for class hsa.VisualSortUtil
 

W

windowClosing(WindowEvent) - Method in class hsa.Status
Hides the Status window.
A B C D E F G H I K L M P R S T U V W 
Skip navigation links