|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.pacbell.jfai.toh.ui.ControlPanel
public class ControlPanel
A panel containing the configuration controls, such as sliders, buttons.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ControlPanel(String sourcePin,
String targetPin,
int numberOfDisks)
Creates a panel with the various buttons and sliders for the configuration of the puzzle. |
|
| Method Summary | |
|---|---|
JButton |
getApplyButton()
Gets the apply button. |
JButton |
getCancelButton()
Gets the cancel button. |
JSlider |
getDisksSlider()
Gets the slider for the number of disks. |
JToggleButton |
getInvisibleButton()
Gets the invisible button. |
JToggleButton |
getSourceButton()
Gets the source button. |
JSlider |
getSpeedSlider()
Gets the speed slider. |
JButton |
getStartButton()
Gets the start button. |
JToggleButton |
getTargetButton()
Gets the target button. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ControlPanel(String sourcePin,
String targetPin,
int numberOfDisks)
sourcePin - label for the button to select the source pintargetPin - label for the button to select the target pinnumberOfDisks - the total number of disks of the puzzle| Method Detail |
|---|
public JButton getApplyButton()
public JButton getCancelButton()
public JSlider getDisksSlider()
public JToggleButton getInvisibleButton()
public JToggleButton getSourceButton()
public JSlider getSpeedSlider()
public JButton getStartButton()
public JToggleButton getTargetButton()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||