|
JPedal 4.74b27 Click here for Tutorials, code examples, help forums and support | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WizardPanelModel
In order to use the Wizard class you need to implement this interface. The implemented class will contain the contents of the user defined panels and add listeners to components that effect the ability to go to the next panel. See SignWizardModel.java for an example.
| Method Summary | |
|---|---|
boolean |
canAdvance()
|
void |
close()
This method can contain any housekeeping you require when the Wizard is exited. |
java.util.Map |
getJPanels()
In order to use the Card Layout in the wizard class each JPanel must have a unique String identifier. |
java.lang.String |
getStartPanelID()
|
boolean |
hasPrevious()
|
boolean |
isFinishPanel()
|
java.lang.String |
next()
|
java.lang.String |
previous()
|
void |
registerNextChangeListeners(javax.swing.event.ChangeListener e)
A component that is registered will alert the Wizard class that it should check whether the advance button should be enabled. |
void |
registerNextKeyListeners(java.awt.event.KeyListener e)
The same effect as registerNextChangeListeners(ChangeListener e) except applied to keys. |
| Method Detail |
|---|
boolean isFinishPanel()
java.lang.String getStartPanelID()
java.lang.String next()
java.lang.String previous()
void close()
boolean hasPrevious()
boolean canAdvance()
java.util.Map getJPanels()
void registerNextChangeListeners(javax.swing.event.ChangeListener e)
Alerts - Wizard that the registered component effects the Next button enable/disable statusvoid registerNextKeyListeners(java.awt.event.KeyListener e)
Alerts - Wizard that the registered component effects the Next button enable/disable status
|
JPedal 4.74b27 Click here for Tutorials, code examples, help forums and support | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||