Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
G
I
P
R
U
W
A
addInput(Input)
- Method in class uk.ac.ed.ph.sciprog.
Display
Public method to add an Input to the input display field.
C
clearText()
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to reset the output text area.
D
Display
- Class in
uk.ac.ed.ph.sciprog
Display Panel class to implement a simple ``Input'' and ``Output'' panel for elementary Java teaching allowing the novice programmer to concentrate on the basic language syntax while still having access to reasonable window style interface.
Display(String, int, int)
- Constructor for class uk.ac.ed.ph.sciprog.
Display
Constructor to create a Display panel with a given title.
Display(String)
- Constructor for class uk.ac.ed.ph.sciprog.
Display
Constructor to create a Display panel with a given title of default size.
G
getBoolean()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get a boolean from the checkbox input.
getDouble(int)
- Method in class uk.ac.ed.ph.sciprog.
Input
Get a double from a specified input field
getDouble()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get a double from the first input field
getDoubleArray()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get a double array from the input fields
getInt(int)
- Method in class uk.ac.ed.ph.sciprog.
Input
Get an integer from a specified input field
getInt()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get an integer from the first input field
getIntArray()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get a int array from the input fields
getSelectedIndex()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get the selected Index option from a pop-down ComboBox option list.
getSelectedItem()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get the selected item as a String from a pop-down ComboBox option list.
getString(int)
- Method in class uk.ac.ed.ph.sciprog.
Input
Get a String from a specified input field
getString()
- Method in class uk.ac.ed.ph.sciprog.
Input
Get a String from the first field.
I
Input
- Class in
uk.ac.ed.ph.sciprog
Input class for producting input field with prompts and reading String, Boolean, int (s), double (s) and options.
Input(String, String)
- Constructor for class uk.ac.ed.ph.sciprog.
Input
Constructor to setup input field to read a single String
Input(String, int)
- Constructor for class uk.ac.ed.ph.sciprog.
Input
Constructor to setup input field to read a single integer
Input(String, double)
- Constructor for class uk.ac.ed.ph.sciprog.
Input
Constructor to setup input field to read a single double
Input(String, int[])
- Constructor for class uk.ac.ed.ph.sciprog.
Input
Constructor to setup input field to read multiple ints
Input(String, double[])
- Constructor for class uk.ac.ed.ph.sciprog.
Input
Constructor to setup input field to read multiple doubles
Input(String, String[], int)
- Constructor for class uk.ac.ed.ph.sciprog.
Input
Constructor to give a pop-down box with an String array of options.
Input(String, boolean)
- Constructor for class uk.ac.ed.ph.sciprog.
Input
Constuctor to deal with Boolean input via a JComboBox
P
paint(Graphics)
- Method in class uk.ac.ed.ph.sciprog.
Display
Overload of print method to resize the input and output panels if the main windw has been resized.
print(String)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print a string to the output pabel
print(int)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print a single int
print(double)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print a single double
print(boolean)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print a single boolean
printf(String, Object...)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to implement the Java 5.0 printf C Style print scheme with internal formating error trap.
printLine(String)
- Method in class uk.ac.ed.ph.sciprog.
Display
printLine(int)
- Method in class uk.ac.ed.ph.sciprog.
Display
printLine(double)
- Method in class uk.ac.ed.ph.sciprog.
Display
printLine(boolean)
- Method in class uk.ac.ed.ph.sciprog.
Display
println()
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print newline
println(String)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print a String to the ouput panel then followed by a new line.
println(int)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print single int then terminate line.
println(double)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print single double then terminal line.
println(boolean)
- Method in class uk.ac.ed.ph.sciprog.
Display
Method to print single boolean then terminal line.
R
removeInput(Input)
- Method in class uk.ac.ed.ph.sciprog.
Display
Public method to remove an Input field.
removeInput(int)
- Method in class uk.ac.ed.ph.sciprog.
Display
Public method to remove an input field by index, being the order it which they were added, starting at zero.
U
uk.ac.ed.ph.sciprog
- package uk.ac.ed.ph.sciprog
W
waitForButtonPress()
- Method in class uk.ac.ed.ph.sciprog.
Display
Public Waiting method, that loops until a ``go'' button is pressed.
A
C
D
G
I
P
R
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes