All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.install.panels.SixtyFourBitSelectionPanel

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

public class SixtyFourBitSelectionPanel
extends WizardLeaf
The SixtyFourBitSelectionPanel presents the user with a choice between performing a SixtyFour-bit install support or not.


Constructor Index

 o SixtyFourBitSelectionPanel()
Creates a SixtyFourBitSelectionPanel with no name.
 o SixtyFourBitSelectionPanel(String, Route, WizardTreeManager)
Creates a SixtyFourBitSelectionPanel with the specified name, the specified route and wizard manager.
 o SixtyFourBitSelectionPanel(WizardState, String, String)
Creates a SixtyFourBitSelectionPanel with the specified name which sets the user's preference into the specified WizardState key.
 o SixtyFourBitSelectionPanel(WizardState, String, String, boolean)
Creates a SixtyFourBitSelectionPanel with the specified name which sets the user's preference into the specified WizardState key.

Method Index

 o addCriticalStateKeys(Vector)
Adds the WizardState keys that should be set into the WizardState file.
 o addRuntimeResources(Vector)
Get the runtime classes required by this panel.
 o consoleInteraction()
This method is called during non-graphical execution (i.e.
 o createUI()
This method creates the user interface for the SixtyFourBitSelectionPanel.
 o deserialize(DataInput)
Deserialize this panel from the specified input stream.
 o isDisplayComplete()
Returns true if this panel is finished displaying.
 o reset(Object)
Resets this panel, reversing anything done in the past
 o serialize(DataOutput)
Serialize this panel to the specified output stream.
 o setDescription(Msg)
Sets the description text for this panel.
 o setNoMessage(Msg)
Sets the description text for the "No" control.
 o setYesMessage(Msg)
Sets the description text for the "Yes" control.

Constructors

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

 o SixtyFourBitSelectionPanel
 public SixtyFourBitSelectionPanel(WizardState wizardState,
                                   String name,
                                   String stateKey)
Creates a SixtyFourBitSelectionPanel with the specified name which sets the user's preference into the specified WizardState key.

Parameters:
wizardState - The buildtime WizardState.
name - The name for this panel.
stateKey - The key to set to Boolean(true) if the user selects a SixtyFour-bit installation.
 o SixtyFourBitSelectionPanel
 public SixtyFourBitSelectionPanel(WizardState wizardState,
                                   String name,
                                   String stateKey,
                                   boolean setting)
Creates a SixtyFourBitSelectionPanel with the specified name which sets the user's preference into the specified WizardState key.

Parameters:
wizardState - The buildtime WizardState.
name - The name for this panel.
stateKey - The key to set to Boolean(true) if the user selects a SixtyFour-bit installation.
setting - The default setting
 o SixtyFourBitSelectionPanel
 public SixtyFourBitSelectionPanel(String name,
                                   Route route,
                                   WizardTreeManager wizardManager)
Creates a SixtyFourBitSelectionPanel with the specified name, the specified route and wizard manager.

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

Methods

 o setYesMessage
 public void setYesMessage(Msg yesMessage)
Sets the description text for the "Yes" control. The text should describe the consequences of selecting a 64-bit installation.

Parameters:
yesMessage - The label for the "Yes" control.
 o setDescription
 public void setDescription(Msg description)
Sets the description text for this panel. This text should describe the purpose of this panel.

Parameters:
description - The description text for this panel.
 o setNoMessage
 public void setNoMessage(Msg noMessage)
Sets the description text for the "No" control. The text should describe the consequences of not selecting a 64-bit installation.

Parameters:
noMessage - The description of the custom behavior.
 o reset
 public void reset(Object info)
Resets this panel, reversing anything done in the past

Overrides:
reset in class WizardComponent
 o isDisplayComplete
 public boolean isDisplayComplete()
Returns true if this panel 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 consoleInteraction
 public void consoleInteraction()
This method is called during non-graphical execution (i.e.

Overrides:
consoleInteraction in class WizardComponent
 o createUI
 public void createUI()
This method creates the user interface for the SixtyFourBitSelectionPanel.

Overrides:
createUI in class WizardLeaf
 o addCriticalStateKeys
 public void addCriticalStateKeys(Vector keys)
Adds the WizardState keys that should be set into the WizardState file. The keys added to the specified vector are: defaultKey and currentKey.

Parameters:
keys - The vector of keys that will be added to the WizardState file.
Overrides:
addCriticalStateKeys 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