A C D E F G H I L M N P Q R S T U X Y 
All Classes All Packages

A

actionPerformed(ActionEvent) - Method in class hsafx.Console
 
autoRefreshOff() - Method in class hsafx.Console
Turns off auto-refresh.
autoRefreshOn() - Method in class hsafx.Console
Turns on auto-refresh (refreshes the screen 60 times per second)

C

c - Variable in class ConsoleTemplate
 
clear() - Method in class hsafx.Console
Clears the console to the background color
clearRect(double, double, double, double) - Method in class hsafx.Console
Clears a rectangle to the background color
close() - Method in class hsafx.Console
Terminates the program.
close() - Method in class hsafx.TextInputFile
Close the file to further reading.
close() - Method in class hsafx.TextOutputFile
Close the file to further writing.
closed - Variable in class hsafx.TextInputFile
Set if the file has been closed.
closed - Variable in class hsafx.TextOutputFile
Set if the file has been closed.
Console - Class in hsafx
This is a re-implementation of the old hsa console by Holt Software Associates in order to use Java FX, and to present an API consistent with the GraphicsContext and Scanner classes.
Console(double, double, int, String, ConsoleView) - Constructor for class hsafx.Console
Creates a new console.
ConsoleTemplate - Class in <Unnamed>
This is a template for creating programs using hsafx.
ConsoleTemplate() - Constructor for class ConsoleTemplate
 
ConsoleView - Class in hsafx
This is a re-implementation of the old hsa console by Holt Software Associates, in order to use Java FX, and to present an API consistent with the GraphicsContext and Scanner classes.
ConsoleView() - Constructor for class hsafx.ConsoleView
 

D

drawImage(Image, double, double) - Method in class hsafx.Console
Draws an image on the console.
drawImage(Image, double, double, double, double) - Method in class hsafx.Console
Draws an image on the console, stretched to a given height and width.

E

EMPTY - Static variable in class hsafx.TextInputFile
Constants and variables used by the input line buffer.
eof() - Method in class hsafx.TextInputFile
Return whether there is an eof before the next token.
eofFlag - Variable in class hsafx.TextInputFile
The end-of-file flag
ErrorReporting - Class in hsafx
A re-implementation of the FatalError class from the hsa console.
ErrorReporting() - Constructor for class hsafx.ErrorReporting
 

F

f - Variable in class hsafx.TextInputFile
Stream used for reading input.
f - Variable in class hsafx.TextOutputFile
Streams used for the file
fatalError(String) - Static method in class hsafx.ErrorReporting
 
fileName - Variable in class hsafx.TextInputFile
The file name.
fileName - Variable in class hsafx.TextOutputFile
The file name.
fillArc(double, double, double, double, double, double) - Method in class hsafx.Console
Draws an filled in portion of an oval, inscribed inside the rectangle defined by the arguments provided.
fillMapleLeaf(double, double, double, double) - Method in class hsafx.Console
Draws a filled maple leaf on the console from (x, y) to (x + width, y + width).
fillOval(double, double, double, double) - Method in class hsafx.Console
Draws a filled oval, inscribed inside the rectangle defined by the arguments provided.
fillPolygon(double[], double[], int) - Method in class hsafx.Console
Draws a filled polygon.
fillRect(double, double, double, double) - Method in class hsafx.Console
Draws a filled rectangle
fillRoundRect(double, double, double, double, double, double) - Method in class hsafx.Console
Draws a filled rectangle with rounded corners.
fillStar(double, double, double, double) - Method in class hsafx.Console
Draws a filled star on the console from (x, y) to (x + width, y + width).
fillText(String, double, double) - Method in class hsafx.Console
Draws text on the console.

G

getChar() - Method in class hsafx.Console
Pauses to read a character from the GraphicsConsole without showing the cursor.
getChar(boolean) - Method in class hsafx.Console
Pauses to read the next character entered on the keyboard.
getColumn() - Method in class hsafx.Console
Retrieve the current column for print/println.
getGlassPane() - Method in class hsafx.ConsoleView
 
getKeyChar() - Method in class hsafx.Console
Returns the char for the key currently held down.
getKeyCode() - Method in class hsafx.Console
Returns the code for the key currently held down.
getLastKeyChar() - Method in class hsafx.Console
Returns the char for the last key that was pressed.
getLastKeyCode() - Method in class hsafx.Console
Returns the code for the last key pressed.
getLiveCanvas() - Method in class hsafx.ConsoleView
 
getMouseButton(int) - Method in class hsafx.Console
Returns true if the specified button is pressed, false otherwise.
getMouseClick() - Method in class hsafx.Console
Returns non-zero if the mouse has been clicked since the last time the click was queried, zero if the mouse was not clicked.
getMouseDX() - Method in class hsafx.Console
Returns the distance dragged in the x-axis (positive or negative)
getMouseDY() - Method in class hsafx.Console
Returns the distance dragged in the y-axis (positive or negative)
getMouseX() - Method in class hsafx.Console
Returns the X coordinate of the mouse pointer position within the drawing area.
getMouseY() - Method in class hsafx.Console
Returns the Y coordinate of the mouse pointer position within the drawing area.
getNumColumns() - Method in class hsafx.Console
Get the total number of columns on the console for print/println.
getNumRows() - Method in class hsafx.Console
Get the total number of rows on the console for print/println.
getRow() - Method in class hsafx.Console
Retrieve the current row for print/println.

H

hsafx - package hsafx
 

I

isKeyDown(char) - Method in class hsafx.Console
Call this to find out whether or not a particular character is being held down.
isKeyDown(String) - Method in class hsafx.Console
Call this to find out whether or not a particular key is being held down.
isMouseDragged() - Method in class hsafx.Console
Returns true of mouse is being dragged (button down and mouse moving triggers a drag event)
isStandardOut() - Method in class hsafx.TextOutputFile
 

L

lineBuffer - Variable in class hsafx.TextInputFile
 
lineBufferPtr - Variable in class hsafx.TextInputFile
 
lineSeparator - Variable in class hsafx.TextOutputFile
The line separator in files

M

main(String[]) - Static method in class ConsoleTemplate
 
mouseMoved(MouseEvent) - Method in class hsafx.Console
 

N

next() - Method in class hsafx.Console
Reads in input from the keyboard buffer until it hits a whitespace, which indicates the end of a token.
next() - Method in class hsafx.TextInputFile
Read a whitespace delimited token from the file.
nextBoolean() - Method in class hsafx.Console
Reads a boolean from the GraphicsConsole.
nextBoolean() - Method in class hsafx.TextInputFile
Read a boolean from the file.
nextByte() - Method in class hsafx.Console
Reads an 8-bit integer (a "byte") from the GraphicsConsole.
nextByte() - Method in class hsafx.TextInputFile
Read an 8-bit integer (a "byte") from the file.
nextChar() - Method in class hsafx.Console
Reads a single character from the Console.
nextChar() - Method in class hsafx.TextInputFile
Read a single character from the file.
nextDouble() - Method in class hsafx.Console
Reads a double precision floating point number (a "double") from the GraphicsConsole.
nextDouble() - Method in class hsafx.TextInputFile
Read a double precision floating point number (a "double") from the file.
nextFloat() - Method in class hsafx.Console
Reads a floating point number (a "float") from the GraphicsConsole.
nextFloat() - Method in class hsafx.TextInputFile
Read a floating point number (a "float") from the file.
nextInt() - Method in class hsafx.Console
Reads a 32-bit integer (an "int") from the GraphicsConsole.
nextInt() - Method in class hsafx.TextInputFile
Read a 32-bit integer (an "int") from the file.
nextLine() - Method in class hsafx.Console
Reads a full line of text from the GraphicsConsole.
nextLine() - Method in class hsafx.TextInputFile
Read a full line of text from the file.
nextLong() - Method in class hsafx.Console
Reads a 64-bit integer (a "long") from the GraphicsConsole.
nextLong() - Method in class hsafx.TextInputFile
Read a 64-bit integer (a "long") from the file.
nextShort() - Method in class hsafx.Console
Reads a 16-bit integer (a "short") from the GraphicsConsole.
nextShort() - Method in class hsafx.TextInputFile
Read a 16-bit integer (a "short") from the file.

P

Point - Class in hsafx
 
Point(double, double) - Constructor for class hsafx.Point
 
print(boolean) - Method in class hsafx.Console
Writes the text representation of a boolean to the GraphicsConsole.
print(boolean) - Method in class hsafx.TextOutputFile
Write the text representation of a boolean to the file.
print(boolean, int) - Method in class hsafx.Console
Writes the text representation of a boolean to the GraphicsConsole with a specified field size.
print(boolean, int) - Method in class hsafx.TextOutputFile
Write the text representation of a boolean to the file with a specified field size.
print(byte) - Method in class hsafx.Console
Writes the text representation of an 8-bit integer (a "byte") to the GraphicsConsole.
print(byte) - Method in class hsafx.TextOutputFile
Write the text representation of an 8-bit integer (a "byte") to the file.
print(byte, int) - Method in class hsafx.Console
Writes the text representation of an 8-bit integer (a "byte") to the GraphicsConsole with a specified field size.
print(byte, int) - Method in class hsafx.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 hsafx.Console
Writes a character to the GraphicsConsole.
print(char) - Method in class hsafx.TextOutputFile
Write a character to the file.
print(char, int) - Method in class hsafx.Console
Writes a character to the GraphicsConsole with a specified field size.
print(char, int) - Method in class hsafx.TextOutputFile
Write a character to the file with a specified field size..
print(double) - Method in class hsafx.Console
Writes a double precision floating point number (a "double") to the GraphicsConsole.
print(double) - Method in class hsafx.TextOutputFile
Write a double precision floating point number (a "double") to the file.
print(double, int) - Method in class hsafx.Console
Writes a double precision floating point number (a "double") to the GraphicsConsole with a specified field size.
print(double, int) - Method in class hsafx.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 hsafx.Console
Writes a double precision floating point number (a "double") to the GraphicsConsole with a specified field size and a specified number of decimal places.
print(double, int, int) - Method in class hsafx.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 hsafx.Console
Writes a floating point number (a "float") to the GraphicsConsole.
print(float) - Method in class hsafx.TextOutputFile
Write a floating point number (a "float") to the file.
print(float, int) - Method in class hsafx.Console
Writes a floating point number (a "float") to the GraphicsConsole with a specified field size.
print(float, int) - Method in class hsafx.TextOutputFile
Write a floating point number (a "float") to the file with a specified field size.
print(float, int, int) - Method in class hsafx.Console
Writes a floating point number (a "double") to the GraphicsConsole with a specified field size and a specified number of decimal places.
print(float, int, int) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 32-bit integer (an "int") to the GraphicsConsole.
print(int) - Method in class hsafx.TextOutputFile
Write the text representation of an 32-bit integer (an "int") to the file.
print(int, int) - Method in class hsafx.Console
Writes the text representation of an 32-bit integer (an "int") to the GraphicsConsole with a specified field size.
print(int, int) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 64-bit integer (a "long") to the GraphicsConsole.
print(long) - Method in class hsafx.TextOutputFile
Write the text representation of an 64-bit integer (a "long") to the file.
print(long, int) - Method in class hsafx.Console
Writes the text representation of an 64-bit integer (a "long") to the GraphicsConsole with a specified field size.
print(long, int) - Method in class hsafx.TextOutputFile
Write the text representation of an 64-bit integer (a "long") to the file with a specified field size.
print(short) - Method in class hsafx.Console
Writes the text representation of an 16-bit integer (a "short") to the GraphicsConsole.
print(short) - Method in class hsafx.TextOutputFile
Write the text representation of an 16-bit integer (a "short") to the file.
print(short, int) - Method in class hsafx.Console
Writes the text representation of an 16-bit integer (a "short") to the GraphicsConsole with a specified field size.
print(short, int) - Method in class hsafx.TextOutputFile
Write the text representation of an 16-bit integer (a "short") to the file with a specified field size.
print(Object) - Method in class hsafx.Console
 
print(String) - Method in class hsafx.Console
Write a string to the Console.
print(String) - Method in class hsafx.TextOutputFile
Write a string to the file.
print(String, int) - Method in class hsafx.Console
Writes a string to the GraphicsConsole with a specified field size.
print(String, int) - Method in class hsafx.TextOutputFile
Write a string to the file with a specified field size..
println() - Method in class hsafx.Console
Writes a newline to the GraphicsConsole.
println() - Method in class hsafx.TextOutputFile
Write a newline to the file.
println(boolean) - Method in class hsafx.Console
Writes the text representation of a boolean to the GraphicsConsole followed by a newline.
println(boolean) - Method in class hsafx.TextOutputFile
Write the text representation of a boolean to the file followed by a newline.
println(boolean, int) - Method in class hsafx.Console
Writes the text representation of a boolean to the GraphicsConsole with a specified field size followed by a newline.
println(boolean, int) - Method in class hsafx.TextOutputFile
Write the text representation of a boolean to the file with a specified field size followed by a newline.
println(byte) - Method in class hsafx.Console
Writes the text representation of an 8-bit integer (a "byte") to the GraphicsConsole followed by a newline.
println(byte) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 8-bit integer (a "byte") to the GraphicsConsole with a specified field size followed by a newline.
println(byte, int) - Method in class hsafx.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 hsafx.Console
Writes a character to the GraphicsConsole followed by a newline.
println(char) - Method in class hsafx.TextOutputFile
Write a character to the file followed by a newline.
println(char, int) - Method in class hsafx.Console
Writes a character to the GraphicsConsole with a specified field size.
println(char, int) - Method in class hsafx.TextOutputFile
Write a character to the file with a specified field size..
println(double) - Method in class hsafx.Console
Writes a double precision floating point number (a "double") to the GraphicsConsole followed by a newline.
println(double) - Method in class hsafx.TextOutputFile
Write a double precision floating point number (a "double") to the file followed by a newline.
println(double, int) - Method in class hsafx.Console
Writes a double precision floating point number (a "double") to the GraphicsConsole with a specified field size followed by a newline.
println(double, int) - Method in class hsafx.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 hsafx.Console
Writes a double precision floating point number (a "double") to the GraphicsConsole with a specified field size and a specified number of decimal places followed by a newline.
println(double, int, int) - Method in class hsafx.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 hsafx.Console
Writes a floating point number (a "float") to the GraphicsConsole followed by a newline.
println(float) - Method in class hsafx.TextOutputFile
Write a floating point number (a "float") to the file followed by a newline.
println(float, int) - Method in class hsafx.Console
Writes a floating point number (a "float") to the GraphicsConsole with a specified field size followed by a newline.
println(float, int) - Method in class hsafx.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 hsafx.Console
Writes a floating point number (a "double") to the GraphicsConsole with a specified field size and a specified number of decimal places followed by a newline.
println(float, int, int) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 32-bit integer (an "int") to the GraphicsConsole followed by a newline.
println(int) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 32-bit integer (an "int") to the GraphicsConsole with a specified field size followed by a newline.
println(int, int) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 64-bit integer (a "long") to the GraphicsConsole followed by a newline.
println(long) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 64-bit integer (a "long") to the GraphicsConsole with a specified field size followed by a newline.
println(long, int) - Method in class hsafx.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(short) - Method in class hsafx.Console
Writes the text representation of an 16-bit integer (a "short") to the GraphicsConsole followed by a newline.
println(short) - Method in class hsafx.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 hsafx.Console
Writes the text representation of an 16-bit integer (a "short") to the GraphicsConsole with a specified field size followed by a newline.
println(short, int) - Method in class hsafx.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(Object) - Method in class hsafx.Console
 
println(String) - Method in class hsafx.Console
Writes a string to the GraphicsConsole followed by a newline.
println(String) - Method in class hsafx.TextOutputFile
Write a string to the file followed by a newline.
println(String, int) - Method in class hsafx.Console
Writes a string to the GraphicsConsole with a specified field size followed by a newline.
println(String, int) - Method in class hsafx.TextOutputFile
Write a string to the file with a specified field size followed by a newline.

Q

quit() - Method in class hsafx.Console
Quits the program.

R

refresh() - Method in class hsafx.Console
Refreshes the screen.
reportSize(String, Font) - Method in class hsafx.Console
 
run() - Method in class ConsoleTemplate
 
run() - Method in class hsafx.ConsoleView
 

S

setBackground(int, int, int) - Method in class hsafx.Console
 
setBackground(int, int, int, double) - Method in class hsafx.Console
 
setBackground(String) - Method in class hsafx.Console
Sets the color to use for the stroke commands
setCursor(int, int) - Method in class hsafx.Console
Set the row and column for print/println.
setFill(int, int, int) - Method in class hsafx.Console
 
setFill(int, int, int, double) - Method in class hsafx.Console
 
setFill(String) - Method in class hsafx.Console
Sets the color to use for the fill commands as well as print/println.
setFont(String, double) - Method in class hsafx.Console
Sets the font to use for fillText and strokeText.
setLineWidth(int) - Method in class hsafx.Console
Sets the line width for stroke commands
setStroke(int, int, int) - Method in class hsafx.Console
 
setStroke(int, int, int, double) - Method in class hsafx.Console
 
setStroke(String) - Method in class hsafx.Console
Sets the color to use for the stroke commands
setTitle(String) - Method in class hsafx.ConsoleView
 
show() - Method in class hsafx.ConsoleView
 
showDialog(String, String) - Method in class hsafx.Console
Shows a popup dialog using Swing JOptionPane.
showInputDialog(String, String) - Method in class hsafx.Console
This uses Swing JOptionPane to get text from the user.
sleep(long) - Method in class hsafx.Console
A simplified sleep function handles the try/catch or "throws InterruptedException" that Thread.sleep() produces.
start(Stage) - Method in class hsafx.ConsoleView
start method sets up the window
strokeArc(double, double, double, double, double, double) - Method in class hsafx.Console
Draws an outline of a portion of an oval, inscribed inside the rectangle defined by the arguments provided.
strokeLine(double, double, double, double) - Method in class hsafx.Console
Draws a line.
strokeMapleLeaf(double, double, double, double) - Method in class hsafx.Console
Draws a maple leaf outline on the console from (x, y) to (x + width, y + width).
strokeOval(double, double, double, double) - Method in class hsafx.Console
Draws an outline of an oval, inscribed inside the rectangle defined by the arguments provided.
strokePolygon(double[], double[], int) - Method in class hsafx.Console
Draws a polygon outline.
strokeRect(double, double, double, double) - Method in class hsafx.Console
Draws a rectangle outline
strokeRoundRect(double, double, double, double, double, double) - Method in class hsafx.Console
Draws the outline of a rectangle with rounded corners.
strokeStar(double, double, double, double) - Method in class hsafx.Console
Draws a star outline on the console from (x, y) to (x + width, y + width).
strokeText(String, double, double) - Method in class hsafx.Console
Draws outlined text on the console.

T

TextInputFile - Class in hsafx
The TextInputFile class reads text from a file.
TextInputFile() - Constructor for class hsafx.TextInputFile
Contructor - TextInputFile to read from standard input.
TextInputFile(File) - Constructor for class hsafx.TextInputFile
Contructor - TextInputFile to read from a File.
TextInputFile(String) - Constructor for class hsafx.TextInputFile
Contructor - TextInputFile to read from file with specified name.
TextOutputFile - Class in hsafx
The TextOutputFile writes text to a file.
TextOutputFile() - Constructor for class hsafx.TextOutputFile
Contructor - TextOutputFile to write to standard output.
TextOutputFile(File) - Constructor for class hsafx.TextOutputFile
Contructor - TextOutputFile to write to a File.
TextOutputFile(File, boolean) - Constructor for class hsafx.TextOutputFile
Contructor - TextOutputFile to write or append to a File.
TextOutputFile(String) - Constructor for class hsafx.TextOutputFile
Contructor - TextFile to write to file with specified name.
TextOutputFile(String, boolean) - Constructor for class hsafx.TextOutputFile
Contructor - TextFile to write or append to file with specified name.

U

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

X

x - Variable in class hsafx.Point
 

Y

y - Variable in class hsafx.Point
 
A C D E F G H I L M N P Q R S T U X Y 
All Classes All Packages