|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--net.javaprog.ui.wizard.plaf.basic.BasicWizardNavigator
Provides navigation facilities for the wizard model.
| Field Summary | |
static String |
BACK_ACTION
|
protected JButton |
backButton
|
static String |
CANCEL_ACTION
|
protected JButton |
cancelButton
|
static String |
FINISH_ACTION
|
protected JButton |
finishButton
|
protected JButton |
helpButton
|
static String |
NEXT_ACTION
|
protected JButton |
nextButton
|
protected Wizard |
wizard
|
| 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 | |
BasicWizardNavigator(Wizard wizard)
Creates a new navigation bar for the given wizard. |
|
| Method Summary | |
void |
addActionListener(ActionListener l)
Adds the given action listener to the buttons. |
protected String |
getPropertyPrefix()
|
protected void |
initButtons()
Initializes the navigation buttons. |
protected void |
layoutButtons()
Lays out the buttons in a horizontal row. |
void |
removeActionListener(ActionListener l)
Removes the given action listener from the buttons. |
void |
updateNavigation()
Updates the buttons' states according to the model's state. |
| 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 |
| Field Detail |
public static final String BACK_ACTION
protected JButton backButton
public static final String CANCEL_ACTION
protected JButton cancelButton
public static final String FINISH_ACTION
protected JButton finishButton
protected JButton helpButton
public static final String NEXT_ACTION
protected JButton nextButton
protected Wizard wizard
| Constructor Detail |
public BasicWizardNavigator(Wizard wizard)
| Method Detail |
public void addActionListener(ActionListener l)
protected String getPropertyPrefix()
protected void initButtons()
protected void layoutButtons()
public void removeActionListener(ActionListener l)
public void updateNavigation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||