All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.wizards.nodes.PanelNode
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.sun.wizards.core.WizardComponent
|
+----com.sun.wizards.core.WizardComposite
|
+----com.sun.wizards.nodes.PanelNode
- public class PanelNode
- extends WizardComposite
Nodes within the wizard panel tree are used to group sets of
wizard panels together. In this way, groups of panels can
be visited or skipped as the user traverses through the
wizard panels.
The PanelNode is a Node that receives all of the events of a wizard
panel. This makes the PanelNode a good building block for a
node that requires panel events to be sent to it. The HierarchyNode
is an example use of this class.
-
PanelNode()
- Creates a PanelNode with a route to the root of
the server object tree.
-
PanelNode(String, Route, WizardTreeManager)
- Creates a PanelNode with the specified name, the specified
route and wizard manager.
-
PanelNode(WizardState, String)
- Creates a PanelNode with the specified name and WizardState.
-
abortDisplay()
- This method is called when this WizardComponent is being displayed,
and the user presses the "back" button.
-
addRuntimeResources(Vector)
- Get the runtime classes required by this panel.
-
beginDisplay()
- This method is called when the WizardComponent is displayed.
-
traversingForward()
- Returns true if the user is traversing into this node.
PanelNode
public PanelNode()
- Creates a PanelNode with a route to the root of
the server object tree.
PanelNode
public PanelNode(WizardState wizardState,
String name)
- Creates a PanelNode with the specified name and WizardState.
- Parameters:
- wizardState - The buildtime WizardState.
- name - The name for this PanelNode.
PanelNode
public PanelNode(String name,
Route route,
WizardTreeManager wizardManager)
- Creates a PanelNode with the specified name, the specified
route and wizard manager.
- Parameters:
- name - The name for this PanelNode.
- route - The route to the appropriate server side object.
- wizardManager - The wizardManager responsible for this component.
beginDisplay
public void beginDisplay()
- This method is called when the WizardComponent is displayed.
- Overrides:
- beginDisplay in class WizardComponent
abortDisplay
public void abortDisplay()
- This method is called when this WizardComponent is being displayed,
and the user presses the "back" button. This method provides an
opportunity for this WizardComponent to do cleanup before exiting.
This method is used when the user presses the "back" button, and
the
isDisplayComplete method is used when the user
presses the "next" button.
- Overrides:
- abortDisplay in class WizardComponent
traversingForward
protected boolean traversingForward()
- Returns true if the user is traversing into this node.
addRuntimeResources
public void addRuntimeResources(Vector resourceVector)
- Get the runtime classes required by this panel.
- Parameters:
- resourceVector - The vector containing all runtime resources for this wizard.
- Overrides:
- addRuntimeResources in class WizardComposite
All Packages Class Hierarchy This Package Previous Next Index