|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Step
Models a simple step in a sequence of steps. It is recommended
to subclass AbstractStep
instead of implementing this interface.
WizardModel
,
AbstractStep
Field Summary | |
---|---|
static String |
BACK_PROPERTY
Property name that is used for PropertyChangeEvents generated when the canGoBack property is Changed. |
static String |
CANCEL_PROPERTY
Property name that is used for PropertyChangeEvents generated when the canCancel property is Changed. |
static String |
FINISH_PROPERTY
Property name that is used for PropertyChangeEvents generated when the canFinish property is Changed. |
static String |
NEXT_PROPERTY
Property name that is used for PropertyChangeEvents generated when the canGoNext property is Changed. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds a listener for the back, next and finish properties. |
boolean |
canCancel()
Returns whether the cancel action is enabled. |
boolean |
canFinish()
Returns whether the finish action is enabled. |
boolean |
canGoBack()
Returns whether the back action is enabled. |
boolean |
canGoNext()
Returns whether the next action is enabled. |
JComponent |
getComponent()
Returns the step's component that will be displayed in the wizard. |
String |
getDescription()
Returns a descriptive string for this step that might be displayed in the StepDescriptionRenderer. |
String |
getName()
Returns the step's name that might be displayed in the StepDescriptionRenderer and in the StepListRenderer. |
void |
prepareRendering()
Is called just before the component will be displayed. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a previously added listener. |
Field Detail |
---|
static final String BACK_PROPERTY
canGoBack()
,
Constant Field Valuesstatic final String NEXT_PROPERTY
canGoNext()
,
Constant Field Valuesstatic final String FINISH_PROPERTY
canFinish()
,
Constant Field Valuesstatic final String CANCEL_PROPERTY
canFinish()
,
Constant Field ValuesMethod Detail |
---|
void addPropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener(PropertyChangeListener)
void removePropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener(PropertyChangeListener)
boolean canGoBack()
boolean canGoNext()
boolean canFinish()
boolean canCancel()
void prepareRendering()
getComponent()
JComponent getComponent()
String getName()
String getDescription()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |