public interface WizardSequence
Modifier and Type | Method and Description |
---|---|
WizardPanelDescriptor |
configDescriptor()
Returns the descriptor in charge of configure the views.
|
WizardPanelDescriptor |
current()
Returns the descriptor currently displayed.
|
boolean |
hasNext()
Returns
true if the sequence has an element after the
current one. |
boolean |
hasPrevious()
Returns
true if the sequence has an element before the
current one. |
WizardPanelDescriptor |
logDescriptor()
Returns the descriptor in charge of logging events.
|
WizardPanelDescriptor |
next()
Returns the next descriptor to display.
|
default void |
onClose()
Method called when the wizard is closed.
|
WizardPanelDescriptor |
previous()
Returns the previous descriptor to display.
|
default JFrame |
run(String title)
Launches the wizard to play this sequence.
|
WizardPanelDescriptor |
save()
Returns the panel in charge of saving the data.
|
void |
setCurrent(String panelIdentifier)
Position the sequence so that its current descriptor is the one with the
specified identifier.
|
default JFrame run(String title)
JFrame
in which the wizard is displayed.default void onClose()
WizardPanelDescriptor current()
WizardPanelDescriptor next()
null
if the
sequence is finished and does not have a next descriptor.WizardPanelDescriptor previous()
null
if
the sequence is starting and does not have a previous descriptor.WizardPanelDescriptor logDescriptor()
WizardPanelDescriptor configDescriptor()
boolean hasNext()
true
if the sequence has an element after the
current one.true
if the sequence has an element after the
current one.boolean hasPrevious()
true
if the sequence has an element before the
current one.true
if the sequence has an element before the
current one.WizardPanelDescriptor save()
void setCurrent(String panelIdentifier)
panelIdentifier
- the descriptor identifier.Copyright © 2015–2021 Fiji. All rights reserved.