All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.install.panels.GroupedInstallTypePanel

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.GroupedInstallTypePanel

public class GroupedInstallTypePanel
extends WizardLeaf
The GroupedInstallTypePanel presents the user with a choice between performing a default installation or a custom installation. Generally the custom installation will present the user with options including but not limited to the following: As an example, here is a GroupedInstallTypePanel:
Graphic of a GroupedInstallTypePanel

The code to create this panel is:

WizardState wizardState = getWizardState(); samplePanel GroupedInstallTypePanel = new GroupedInstallTypePanel(wizardState, "myName");


Constructor Index

 o GroupedInstallTypePanel()
Creates a GroupedInstallTypePanel with no name.
 o GroupedInstallTypePanel(String, Route, WizardTreeManager)
Creates a GroupedInstallTypePanel with the specified name, the specified route and wizard manager.
 o GroupedInstallTypePanel(WizardState, String)
Creates a GroupedInstallTypePanel with the specified name for the specified application.

Method Index

 o addRuntimeResources(Vector)
Get the runtime classes required by this panel.
 o consoleInteraction()
CLI version of this panel.
 o createUI()
This method creates the user interface for the GroupedInstallTypePanel.
 o deserialize(DataInput)
Deserialize this panel from the specified input stream.
 o isDisplayComplete()
Returns true if this InstallTypePanel is finished displaying.
 o serialize(DataOutput)
Serialize this panel to the specified output stream.
 o setCustomDescription(Msg)
Sets the description text for the custom button.
 o setDefaultDescription(Msg)
Sets the description text for the default button.

Constructors

 o GroupedInstallTypePanel
 public GroupedInstallTypePanel()
Creates a GroupedInstallTypePanel with no name.

 o GroupedInstallTypePanel
 public GroupedInstallTypePanel(WizardState wizardState,
                                String name)
Creates a GroupedInstallTypePanel with the specified name for the specified application.

Parameters:
wizardState - The buildtime WizardState.
name - The name for this panel.
 o GroupedInstallTypePanel
 public GroupedInstallTypePanel(String name,
                                Route route,
                                WizardTreeManager wizardManager)
Creates a GroupedInstallTypePanel with the specified name, the specified route and wizard manager.

Parameters:
name - The name for this GroupedInstallTypePanel.
route - The route to the appropriate server side object.
wizardManager - The wizard manager responsible for this component.

Methods

 o setDefaultDescription
 public void setDefaultDescription(Msg defaultDescription)
Sets the description text for the default button. The text should describe the consequences of selecting a default installation.

Parameters:
defaultDescription - The description of the default behavior.
 o setCustomDescription
 public void setCustomDescription(Msg customDescription)
Sets the description text for the custom button. The text should describe the consequences of selecting a custom installation.

Parameters:
customDescription - The description of the custom behavior.
 o isDisplayComplete
 public boolean isDisplayComplete()
Returns true if this InstallTypePanel 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
 o createUI
 public void createUI()
This method creates the user interface for the GroupedInstallTypePanel.

Overrides:
createUI in class WizardLeaf
 o consoleInteraction
 public void consoleInteraction()
CLI version of this panel. Only shown in text-wizard mode.

Overrides:
consoleInteraction in class WizardComponent
 o 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
 o 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
 o 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