All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.wizards.panels.ProgressVisual
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.sun.wizards.panels.ProgressVisual
- public class ProgressVisual
- extends Panel
ProgressVisual is a superclass for entertainment objects
that will appear in the progress panel during installation.
Subclasses will override most of the methods in this Class.
-
route
- Route to this component in the client component tree
-
wizardManager
- WizardTreeManager responsible for managing this panel
-
ProgressVisual()
- Creates an empty ProgressVisual.
-
ProgressVisual(WizardTreeManager, Route)
-
Buildtime constructor used by builders before inclusion into a Wizard.
-
addRuntimeResources(Vector)
- Get the runtime classes required by this visual.
-
deserialize(DataInput)
- Deserialize this ProgressVisual from the specified input
stream.
-
getRoute()
- Get the route object that directs messages to the
correct WizardState.
-
init()
- Initializes this component.
-
serialize(DataOutput)
- Serialize this ProgressVisual to the specified output
stream.
-
setProgress(int)
- Sets progress for this progressVisual.
-
start()
- Begins the progress of this component.
-
stop()
- Ends the progress of this component.
wizardManager
protected WizardTreeManager wizardManager
- WizardTreeManager responsible for managing this panel
route
protected Route route
- Route to this component in the client component tree
ProgressVisual
public ProgressVisual()
- Creates an empty ProgressVisual. Not intended for use by users.
ProgressVisual
public ProgressVisual(WizardTreeManager wizardManager,
Route route)
- Buildtime constructor used by builders before inclusion into a Wizard.
- Parameters:
- wizardManager - the WizardTreeManager responsible for
managing this panel
- route - The route to this component in the client
object tree
setProgress
public void setProgress(int currentProgress)
- Sets progress for this progressVisual. Subclasses should override this.
- Parameters:
- currentProgress - The progress, measured between 0 and 100.
init
public void init()
- Initializes this component. Subclasses should override this.
start
public void start()
- Begins the progress of this component. Subclasses should override this.
stop
public void stop()
- Ends the progress of this component. Subclasses should override this.
getRoute
public Route getRoute()
- Get the route object that directs messages to the
correct WizardState.
- Returns:
- The route to the server.
serialize
public void serialize(DataOutput out)
- Serialize this ProgressVisual to the specified output
stream.
- Parameters:
- out - The output stream to which this ProgressVisual will be
serialized.
deserialize
public void deserialize(DataInput in)
- Deserialize this ProgressVisual from the specified input
stream.
- Parameters:
- in - The input stream from which this ProgressVisual will be
deserialized.
addRuntimeResources
public void addRuntimeResources(Vector resourceVector)
- Get the runtime classes required by this visual.
- Parameters:
- resourceVector - The vector containing all runtime resources for this wizard.
All Packages Class Hierarchy This Package Previous Next Index