A B C D E F G H I L M N P R S T U W

S

setCallback(PickingCallback) - Method in class net.pacbell.jfai.toh.ui.MousePicker
Register the callback class.
setContainer(Container) - Method in class net.pacbell.jfai.toh.util.AbstractSwingWorkerWithWaitCursor
Sets the container.
setDuration(long) - Static method in class net.pacbell.jfai.toh.ui.DiskMoveAnimator
Sets the move duration.
setErrorComponent(Component) - Method in class net.pacbell.jfai.toh.util.AbstractJMainFrame
Sets the errorComponent.
setHeight(float) - Static method in class net.pacbell.jfai.toh.ui.DiskView
Sets the absolute height.
setModel(Solver) - Method in class net.pacbell.jfai.toh.ui.TowerOfHanoiEditor
Hooks the receiver up to the bound properties of the new model.
setMoveCounter(long) - Method in class net.pacbell.jfai.toh.domain.Solver
Sets the number of executed moves.
setName(String) - Method in class net.pacbell.jfai.toh.domain.Pin
Sets the name.
setNumberOfDisks(int) - Method in class net.pacbell.jfai.toh.domain.Solver
Requests to change the number of disks at the source pin.
setNumberOfDisks(int) - Method in class net.pacbell.jfai.toh.ui.TowerOfHanoiEditor
The model's number of disks has changed.
setOriginalCursor(Cursor) - Method in class net.pacbell.jfai.toh.util.AbstractSwingWorkerWithWaitCursor
Remembers the original cursor.
setPickMode(int) - Method in class net.pacbell.jfai.toh.ui.MousePicker
Sets the pick mode.
setPosition(Point3f) - Method in class net.pacbell.jfai.toh.ui.DiskView
Sets the center point of the disk.
setPosition(Point3f) - Method in class net.pacbell.jfai.toh.ui.DiskView3D
Sets the position.
setSize(int) - Method in class net.pacbell.jfai.toh.domain.Disk
Sets the size.
setSolutionStartTime(Date) - Method in class net.pacbell.jfai.toh.domain.Solver
Sets the time when the solution started.
setSource(Pin) - Method in class net.pacbell.jfai.toh.domain.Solver
Requests to change the source pin, which effectively moves all disks to this pin.
setSourcePin(Pin) - Method in class net.pacbell.jfai.toh.ui.TowerOfHanoiEditor
The model's source pin has changed.
setStartButtonListener(ActionListener) - Method in class net.pacbell.jfai.toh.ui.TowerOfHanoiView
Sets the listener for the start button action.
setState(Solver.AbstractState) - Method in class net.pacbell.jfai.toh.domain.Solver
Sets the state.
setTarget(Pin) - Method in class net.pacbell.jfai.toh.domain.Solver
Requests to change the target pin.
setTargetPin(Pin) - Method in class net.pacbell.jfai.toh.ui.TowerOfHanoiEditor
The model's target pin has changed.
setThreadVar(AbstractSwingWorker.ThreadVar) - Method in class net.pacbell.jfai.toh.util.AbstractSwingWorker
Sets the synchronization instance.
setValue(Object) - Method in class net.pacbell.jfai.toh.util.AbstractSwingWorker
Sets the value produced by the worker thread.
setValue(Object) - Method in class net.pacbell.jfai.toh.util.BufferedValue
Put a new value into the buffer and mark the receiver changed.
setWindowPainted(boolean) - Method in class net.pacbell.jfai.toh.util.SplashWindow
Sets isWindowPainted.
showMessageDialog(Component, Object, String, int) - Static method in class net.pacbell.jfai.toh.util.AbstractSwingWorker
Displays a dialog and waits until the dialog is closed.
solve() - Method in class net.pacbell.jfai.toh.domain.Solver
This is the entry point to solve the problem of moving the initial tower from the source pin to the target pin.
solve() - Method in class net.pacbell.jfai.toh.ui.TowerOfHanoiView
Tells the model to start solving the puzzle.
Solver - Class in net.pacbell.jfai.toh.domain
There is a base with three pins to accept disks.
Solver() - Constructor for class net.pacbell.jfai.toh.domain.Solver
Creates an idle instance with default number of pins and disks.
Solver.AbstractState - Class in net.pacbell.jfai.toh.domain
Abstract superclass for all state classes of Solver.
Solver.AbstractState() - Constructor for class net.pacbell.jfai.toh.domain.Solver.AbstractState
 
Solver.Idle - Class in net.pacbell.jfai.toh.domain
State while Solver is being configured.
Solver.Idle() - Constructor for class net.pacbell.jfai.toh.domain.Solver.Idle
 
Solver.IStateListener - Interface in net.pacbell.jfai.toh.domain
An object that wants to be notified about specific state changes can implement this interface.
Solver.Paused - Class in net.pacbell.jfai.toh.domain
State while the solver is paused.
Solver.Paused() - Constructor for class net.pacbell.jfai.toh.domain.Solver.Paused
 
Solver.Solving - Class in net.pacbell.jfai.toh.domain
State while Solver is running to solve the puzzle.
Solver.Solving() - Constructor for class net.pacbell.jfai.toh.domain.Solver.Solving
 
solving() - Method in interface net.pacbell.jfai.toh.domain.Solver.IStateListener
Notifies the listener that the state was changed to Solving.
solving() - Method in class net.pacbell.jfai.toh.ui.TowerOfHanoiView
Notifies the listener that the state was changed to Solving.
splash(Image) - Static method in class net.pacbell.jfai.toh.util.SplashWindow
Constructs and displays a splash image centered on the screen.
SplashWindow - Class in net.pacbell.jfai.toh.util
Shows an image during the start of an application.
SplashWindow(Frame, Image) - Constructor for class net.pacbell.jfai.toh.util.SplashWindow
Constructs a splash window and centers it on the screen.
stackDisksAt(Pin) - Method in class net.pacbell.jfai.toh.domain.Solver
Position all disks at the given pin.
stackHeight() - Static method in class net.pacbell.jfai.toh.ui.PinView
Answers the maximum height of a stack of disks.
start() - Method in class net.pacbell.jfai.toh.util.AbstractSwingWorker
Starts the worker thread.
started() - Method in class net.pacbell.jfai.toh.util.AbstractSwingWorker
Called on the event dispatching thread (not on the worker thread) before the AbstractSwingWorker.construct()method is called.
started() - Method in class net.pacbell.jfai.toh.util.AbstractSwingWorkerWithWaitCursor
Called on the event dispatching thread (not on the worker thread) before the AbstractSwingWorker.construct()method is called. Displays the wait cursor.
StatusPanel - Class in net.pacbell.jfai.toh.ui
A panel containing status information.
StatusPanel(Solver, JSlider, JSlider, IChangeStatus) - Constructor for class net.pacbell.jfai.toh.ui.StatusPanel
Creates a panel containing status labels and fields.
storagePin(Pin, Pin) - Method in class net.pacbell.jfai.toh.domain.Base
Answers a pin that is different from each of the given pins.

A B C D E F G H I L M N P R S T U W