All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.wizards.nodes.SkipNode
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.SkipNode
- public class SkipNode
- 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 SkipNode is used to skip traversal of part of the wizard
client tree based on a data value set in the server. If the data
value is true, the SkipNode will request to be skipped. As a
result, all panels that are children of the SkipNode will be
skipped also.
-
skipKey
- The key to reference in the WizardState.
Deprecated.
-
SkipNode()
- Creates a SkipNode with no name and no
key to reference.
-
SkipNode(String, Route, WizardTreeManager)
- Creates a SkipNode with the specified name, the specified
route and wizard manager.
-
SkipNode(WizardState, String, String)
- Creates a SkipNode with the specified name
and the specified key to reference in
the WizardState.
-
SkipNode(WizardState, String, String, boolean)
- Creates a SkipNode with the specified name
and the specified key to reference in
the WizardState.
-
addRuntimeResources(Vector)
- Get the runtime classes required by this panel.
-
deserialize(DataInput)
- Deserialize this panel from the specified input stream.
-
getInvert()
- Returns the key this object observes when determining whether
to display its children.
-
getSkipKey()
- Returns the key this object observes when determining whether
to display its children.
-
serialize(DataOutput)
- Serialize this panel to the specified output stream.
-
skip()
- This method returns true if this SkipNode wants
to be skipped during traversal of this tree.
skipKey
protected String skipKey
- Note: skipKey is deprecated.
- The key to reference in the WizardState.
SkipNode
public SkipNode()
- Creates a SkipNode with no name and no
key to reference.
SkipNode
public SkipNode(WizardState wizardState,
String name,
String skipKey)
- Creates a SkipNode with the specified name
and the specified key to reference in
the WizardState.
- Parameters:
- wizardState - The buildtime WizardState.
- name - The name of this SkipNode.
- skipKey - The key to reference when deciding
whether this SkipNode should be
skipped in the tree traversal.
SkipNode
public SkipNode(WizardState wizardState,
String name,
String skipKey,
boolean invert)
- Creates a SkipNode with the specified name
and the specified key to reference in
the WizardState.
- Parameters:
- wizardState - The buildtime WizardState.
- name - The name of this SkipNode.
- skipKey - The key to reference when deciding
whether this SkipNode should be
skipped in the tree traversal.
- invert - Inverts the node. I.e., if the skip criteria
is met, the node is NOT skipped.
SkipNode
public SkipNode(String name,
Route route,
WizardTreeManager wizardManager)
- Creates a SkipNode with the specified name, the specified
route and wizard manager.
- Parameters:
- name - The name for this InstallTypePanel.
- route - The route to the appropriate server side object.
- wizardManager - The wizard manager responsible for this component.
getSkipKey
protected String getSkipKey()
- Returns the key this object observes when determining whether
to display its children.
getInvert
protected boolean getInvert()
- Returns the key this object observes when determining whether
to display its children.
skip
public boolean skip()
- This method returns true if this SkipNode wants
to be skipped during traversal of this tree.
- Returns:
- true if this object wants to be skipped in the
traversal of the tree. false otherwise.
- Overrides:
- skip in class WizardComponent
serialize
protected void serialize(DataOutput out)
- Serialize this panel to the specified output stream.
- Parameters:
- out - The output stream to which this panel will be
serialized.
- Overrides:
- serialize in class WizardComposite
deserialize
protected void deserialize(DataInput in)
- Deserialize this panel from the specified input stream.
- Parameters:
- in - The input stream from which this panel will be
deserialized.
- Overrides:
- deserialize in class WizardComposite
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