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:
- Installation directory.
- Product component selection.
As an example, here is a GroupedInstallTypePanel:
The code to create this panel is:
WizardState wizardState = getWizardState();
samplePanel GroupedInstallTypePanel = new GroupedInstallTypePanel(wizardState, "myName");
-
GroupedInstallTypePanel()
- Creates a GroupedInstallTypePanel with no name.
-
GroupedInstallTypePanel(String, Route, WizardTreeManager)
- Creates a GroupedInstallTypePanel with the specified name, the specified
route and wizard manager.
-
GroupedInstallTypePanel(WizardState, String)
- Creates a GroupedInstallTypePanel with the specified name for
the specified application.
-
addRuntimeResources(Vector)
- Get the runtime classes required by this panel.
-
consoleInteraction()
- CLI version of this panel.
-
createUI()
- This method creates the user interface for the
GroupedInstallTypePanel.
-
deserialize(DataInput)
- Deserialize this panel from the specified input stream.
-
isDisplayComplete()
- Returns true if this InstallTypePanel is finished displaying.
-
serialize(DataOutput)
- Serialize this panel to the specified output stream.
-
setCustomDescription(Msg)
- Sets the description text for the custom button.
-
setDefaultDescription(Msg)
- Sets the description text for the default button.
GroupedInstallTypePanel
public GroupedInstallTypePanel()
- Creates a GroupedInstallTypePanel with no name.
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.
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.
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.
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.
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
createUI
public void createUI()
- This method creates the user interface for the
GroupedInstallTypePanel.
- Overrides:
- createUI in class WizardLeaf
consoleInteraction
public void consoleInteraction()
- CLI version of this panel. Only shown in text-wizard mode.
- Overrides:
- consoleInteraction 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 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
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