Package docking.wizard
Interface MagePanel<T>
- 
- All Superinterfaces:
- WizardPanel
 - All Known Implementing Classes:
- AbstractMageJPanel
 
 public interface MagePanel<T> extends WizardPanel 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDependencies(WizardState<T> state)voiddispose()voidenterPanel(WizardState<T> state)Enter panel for real; take your state from the state object and then populate your external state accordingly.WizardPanelDisplayabilitygetPanelDisplayabilityAndUpdateState(WizardState<T> state)Enter and leave panel for pretend; take your state from the state object and then add whatever state you need into it to pretend finish the wizard (if possible).voidleavePanel(WizardState<T> state)Leave panel for real; inject your external state into the state object.voidupdateStateObjectWithPanelInfo(WizardState<T> state)Updates the state object, being passed as a parameter, with the current state information from this panel.- 
Methods inherited from interface docking.wizard.WizardPaneladdWizardPanelListener, getDefaultFocusComponent, getHelpLocation, getPanel, getTitle, initialize, isValidInformation, removeWizardPanelListener
 
- 
 
- 
- 
- 
Method Detail- 
addDependenciesvoid addDependencies(WizardState<T> state) 
 - 
getPanelDisplayabilityAndUpdateStateWizardPanelDisplayability getPanelDisplayabilityAndUpdateState(WizardState<T> state) Enter and leave panel for pretend; take your state from the state object and then add whatever state you need into it to pretend finish the wizard (if possible). Return whether you must, can, or should not be displayed.- Parameters:
- state- the state object
- Returns:
- displayability
- Throws:
- IllegalPanelStateException- indicates that something bad has happened and we should return to the very first panel - unless we are the first panel in which case we should abort the wizard.
 
 - 
enterPanelvoid enterPanel(WizardState<T> state) throws IllegalPanelStateException Enter panel for real; take your state from the state object and then populate your external state accordingly.- Parameters:
- state- the state object
- Throws:
- IllegalPanelStateException- indicates that something bad has happened and we should return to the very first panel - unless we are the first panel in which case we should abort the wizard.
 
 - 
leavePanelvoid leavePanel(WizardState<T> state) Leave panel for real; inject your external state into the state object.- Parameters:
- state- the state object
 
 - 
updateStateObjectWithPanelInfovoid updateStateObjectWithPanelInfo(WizardState<T> state) Updates the state object, being passed as a parameter, with the current state information from this panel. Only state information that the panel is intended to set should be modified within the state object by this method. For example, a summary panel might display state information, but doesn't set it and therefore wouldn't change it in the state object.- Parameters:
- state- the state object to update
 
 - 
disposevoid dispose() 
 
- 
 
-