Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
W
P
paint(Graphics)
- Method in class net.pacbell.jfai.toh.ui.
Canvas3D
After painting the canvas, notifies any registered listener if this is the very first time that this method was invoked.
paint(Graphics)
- Method in class net.pacbell.jfai.toh.util.
SplashWindow
parseArguments(String[], Properties)
- Static method in class net.pacbell.jfai.toh.util.
AbstractJMainFrame
(Application)
Parses the list of argument strings and adds key-value pairs into the specified properties list.
parseHeightArgument(int, Properties)
- Static method in class net.pacbell.jfai.toh.util.
AbstractJMainFrame
Checks if height was specified as an invocation argument, e.g.
parseWidthArgument(int, Properties)
- Static method in class net.pacbell.jfai.toh.util.
AbstractJMainFrame
Checks if width was specified as an invocation argument, e.g.
pause()
- Method in class net.pacbell.jfai.toh.domain.
Solver
Pauses the solver.
pause()
- Method in class net.pacbell.jfai.toh.ui.
TowerOfHanoiView
Tells the model to pause while solving the puzzle.
paused()
- Method in interface net.pacbell.jfai.toh.domain.
Solver.IStateListener
Notifies the listener that the state was changed to Paused.
paused()
- Method in class net.pacbell.jfai.toh.ui.
TowerOfHanoiView
Notifies the listener that the state was changed to Paused.
pickPin(BufferedValue, Pin)
- Method in class net.pacbell.jfai.toh.ui.
CanvasPanel
A pin was selected in the 3D view.
Pin
- Class in
net.pacbell.jfai.toh.domain
A pin holds a stack of disks.
Pin(String)
- Constructor for class net.pacbell.jfai.toh.domain.
Pin
Creates a named pin.
pinNamed(String)
- Method in class net.pacbell.jfai.toh.domain.
Base
Answers the pin with the given name.
pinView(Pin)
- Method in class net.pacbell.jfai.toh.ui.
BaseView
Answer the pin view corresponding to the specified pin.
PinView
- Class in
net.pacbell.jfai.toh.ui
Visualizes a pin of the Tower Of Hanoi puzzle.
PinView(Pin, Point3f, Appearance)
- Constructor for class net.pacbell.jfai.toh.ui.
PinView
Create a new instance given a Pin as the model and the location of the base cap of the pin.
prepare(JPanel)
- Method in class net.pacbell.jfai.toh.ui.
TowerOfHanoiView
Prepares the initial view of the model.
PROPERTY_BUFFERED_VALUE
- Static variable in class net.pacbell.jfai.toh.util.
BufferedValue
Name of bound property: buffered value.
PROPERTY_CHANGED
- Static variable in class net.pacbell.jfai.toh.util.
BufferedValue
Name of bound property: value has changed.
PROPERTY_MOVE_COUNT
- Static variable in class net.pacbell.jfai.toh.domain.
Solver
Name of bound property: number of disks.
PROPERTY_NUMBER_OF_DISKS
- Static variable in class net.pacbell.jfai.toh.domain.
Solver
Name of bound property: number of disks.
PROPERTY_SOURCE
- Static variable in class net.pacbell.jfai.toh.domain.
Solver
Name of bound property: source pin.
PROPERTY_STATE
- Static variable in class net.pacbell.jfai.toh.domain.
Solver
Name of bound property: solver's state.
PROPERTY_TARGET
- Static variable in class net.pacbell.jfai.toh.domain.
Solver
Name of bound property: target pin.
PROPERTY_VALUE
- Static variable in class net.pacbell.jfai.toh.util.
BufferedValue
Name of bound property: original value.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
W