All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.install.panels.DesktopPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.sun.wizards.core.WizardComponent
|
+----com.sun.wizards.core.WizardLeaf
|
+----com.sun.install.panels.DesktopPanel
- public class DesktopPanel
- extends WizardLeaf
The DesktopPanel presents the user with a choice
to add items to the desktop for a product tree
-
DesktopPanel()
- Creates a DesktopPanel with no name.
-
DesktopPanel(String, Route, WizardTreeManager)
- Creates a DesktopPanel with the specified name, the specified
route and wizard manager.
-
DesktopPanel(WizardState, String)
- Creates a DesktopPanel with the specified name for
the specified application.
-
addRuntimeResources(Vector)
- Get the runtime classes required by this panel.
-
createUI()
- This method creates the user interface for the
DesktopPanel.
-
deserialize(DataInput)
- Deserialize this panel from the specified input stream.
-
getButtonMask()
- Returns information suggesting which buttons should be
displayed for this panel.
-
isDisplayComplete()
- Returns true if this DesktopPanel is finished displaying.
-
sequenceComplete()
- Callback method.
-
serialize(DataOutput)
- Serialize this panel to the specified output stream.
-
setDescription(Msg)
- Sets the description text for the panel.
-
setNoMessage(Msg)
- Sets the description text for the no button.
-
setYesMessage(Msg)
- Sets the label for the accept desktop items control.
-
skip()
- This method returns true if this DesktopPanel wants
to be skipped during traversal of this tree.
DesktopPanel
public DesktopPanel()
- Creates a DesktopPanel with no name.
DesktopPanel
public DesktopPanel(WizardState wizardState,
String name)
- Creates a DesktopPanel with the specified name for
the specified application.
- Parameters:
- wizardState - The buildtime WizardState.
- name - The name for this panel.
DesktopPanel
public DesktopPanel(String name,
Route route,
WizardTreeManager wizardManager)
- Creates a DesktopPanel with the specified name, the specified
route and wizard manager.
- Parameters:
- name - The name for this DesktopPanel.
- route - The route to the appropriate server side object.
- wizardManager - The wizard manager responsible for this component.
setYesMessage
public void setYesMessage(Msg yesMessage)
- Sets the label for the accept desktop items control. The
text should describe the consequences of selecting a
desktop items to be added.
- Parameters:
- yesMessage - The label of the "yes" control.
setDescription
public void setDescription(Msg description)
- Sets the description text for the panel. The description is
the text message that appears at the top of the panel. The purpose
of this description is to inform the user that this panel is
used to add desktop icons and menu items for the product that
was installed.
- Parameters:
- description - The localized description text.
setNoMessage
public void setNoMessage(Msg noMessage)
- Sets the description text for the no button. The
text should describe the consequences of not adding
desktop support
- Parameters:
- noMessage - The label for the "no" control.
skip
public boolean skip()
- This method returns true if this DesktopPanel wants
to be skipped during traversal of this tree. This panel
only chooses to be skipped if the product was not installed.
- Returns:
- true if this object wants to be skipped in the
traversal of the tree. false otherwise.
- Overrides:
- skip in class WizardComponent
isDisplayComplete
public boolean isDisplayComplete()
- Returns true if this DesktopPanel is finished displaying.
This method is used to set the user's selection into the
WizardState before moving to the next panel.
- Returns:
- true if the display of this panel is complete, false otherwise
- Overrides:
- isDisplayComplete in class WizardComponent
sequenceComplete
public void sequenceComplete()
- Callback method. This method is called when the desktop sequence
has completed.
createUI
public void createUI()
- This method creates the user interface for the
DesktopPanel.
- Overrides:
- createUI in class WizardLeaf
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 WizardComponent
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 WizardComponent
getButtonMask
public int getButtonMask()
- Returns information suggesting which buttons should be
displayed for this panel. The DesktopPanel does not display
a back button.
- Returns:
- A button mask identifying valid navigation buttons.
- Overrides:
- getButtonMask in class WizardLeaf
addRuntimeResources
public void addRuntimeResources(Vector resourceVector)
- Get the runtime classes required by this panel.
- Parameters:
- resourceVector - The vector containing resources that this method will add to.
- Overrides:
- addRuntimeResources in class WizardLeaf
All Packages Class Hierarchy This Package Previous Next Index