|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All changes to properties must fire property change events.
Field Summary | |
static java.lang.String |
_ID_
|
Method Summary | |
void |
abortBusy()
Called by the wizard if the user presses cancel while the step is in a busy
state. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
|
void |
applyState()
This method is called whenever the user presses next while this step is active. |
javax.swing.Icon |
getIcon()
Gets the Icon that represents this step. |
java.lang.String |
getName()
Gets the name of this step. |
java.awt.Dimension |
getPreferredSize()
This method must return the maximum preferred size of this wizard step. |
java.lang.String |
getSummary()
Gets the summary of this step. |
java.awt.Component |
getView()
Returns the current view this step is displaying. |
void |
init(WizardModel model)
Called to initialize the step. |
boolean |
isBusy()
Checks if the current task is busy. |
boolean |
isComplete()
Checks if this step is compete. |
void |
prepare()
Called to prepare this step to display. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
|
Field Detail |
public static final java.lang.String _ID_
Method Detail |
public java.lang.String getName()
public java.lang.String getSummary()
public javax.swing.Icon getIcon()
Icon
that represents this step.
Icon
that represents this step, or null if the step
doesn't have an icon.public java.awt.Component getView()
public boolean isComplete()
public boolean isBusy()
abortBusy()
public void init(WizardModel model)
model
- the model to which the step belongs.public void prepare()
This method will be called whenever the step is to be displayed, regardless of whether the user pressed next or previous.
public void applyState() throws InvalidStateException
If this method will take a long time to complete, subclasses should consider executing the work and a separate thread and displaying some kind of progress indicator.
This method will only be called if WizardModel.isNextAvailable()
and isComplete()
return true.
InvalidStateException
- if an error occurs and the wizard can't progress to the next
step. By default the message of this exception will be displayed to the user. If you wish to
prevent this behaviour please ensure InvalidStateException.setShowUser(boolean)
is called with
a value of false.public void abortBusy()
busy
state. This method will be called after the user has confirmed the abort process and as
such may be invoked after the step is no longer busy.
public java.awt.Dimension getPreferredSize()
init(org.pietschy.wizard.WizardModel)
.
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |