Package docking.wizard
Interface WizardPanel
-
- All Known Subinterfaces:
MagePanel<T>
- All Known Implementing Classes:
AbstractMageJPanel,AbstractWizardJPanel,ProjectAccessPanel,RepositoryPanel,ServerInfoPanel,ViewProjectAccessPanel
public interface WizardPanelInterface to define methods for panels to be shown in the wizard dialog.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddWizardPanelListener(WizardPanelListener l)Add a listener to this panel.java.awt.ComponentgetDefaultFocusComponent()Returns the component, if any, that should receive focus when this panel is shown.HelpLocationgetHelpLocation()Returns the help content location for this panel.javax.swing.JPanelgetPanel()Get the panel objectjava.lang.StringgetTitle()Get the title for this panel.voidinitialize()Initialize the panel as though this is the first time it is being displayed.booleanisValidInformation()Return true if the user entered valid information for this panel.voidremoveWizardPanelListener(WizardPanelListener l)Remove the listener from this panel.
-
-
-
Method Detail
-
getTitle
java.lang.String getTitle()
Get the title for this panel.- Returns:
- String title
-
getPanel
javax.swing.JPanel getPanel()
Get the panel object- Returns:
- JPanel panel
-
isValidInformation
boolean isValidInformation()
Return true if the user entered valid information for this panel.- Returns:
- boolean whether or not the info on the panel valid
-
initialize
void initialize()
Initialize the panel as though this is the first time it is being displayed.
-
addWizardPanelListener
void addWizardPanelListener(WizardPanelListener l)
Add a listener to this panel.- Parameters:
l- listener to add
-
removeWizardPanelListener
void removeWizardPanelListener(WizardPanelListener l)
Remove the listener from this panel.- Parameters:
l- listener to remove
-
getHelpLocation
HelpLocation getHelpLocation()
Returns the help content location for this panel.- Returns:
- String help location for this panel; return null if default help location should be used.
-
getDefaultFocusComponent
java.awt.Component getDefaultFocusComponent()
Returns the component, if any, that should receive focus when this panel is shown.- Returns:
- the component, if any, that should receive focus when this panel is shown; null if no preferred focus component exists.
-
-