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.


Variable Index

 o route
Route to this component in the client component tree
 o wizardManager
WizardTreeManager responsible for managing this panel

Constructor Index

 o ProgressVisual()
Creates an empty ProgressVisual.
 o ProgressVisual(WizardTreeManager, Route)
Buildtime constructor used by builders before inclusion into a Wizard.

Method Index

 o addRuntimeResources(Vector)
Get the runtime classes required by this visual.
 o deserialize(DataInput)
Deserialize this ProgressVisual from the specified input stream.
 o getRoute()
Get the route object that directs messages to the correct WizardState.
 o init()
Initializes this component.
 o serialize(DataOutput)
Serialize this ProgressVisual to the specified output stream.
 o setProgress(int)
Sets progress for this progressVisual.
 o start()
Begins the progress of this component.
 o stop()
Ends the progress of this component.

Variables

 o wizardManager
 protected WizardTreeManager wizardManager
WizardTreeManager responsible for managing this panel

 o route
 protected Route route
Route to this component in the client component tree

Constructors

 o ProgressVisual
 public ProgressVisual()
Creates an empty ProgressVisual. Not intended for use by users.

 o 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

Methods

 o setProgress
 public void setProgress(int currentProgress)
Sets progress for this progressVisual. Subclasses should override this.

Parameters:
currentProgress - The progress, measured between 0 and 100.
 o init
 public void init()
Initializes this component. Subclasses should override this.

 o start
 public void start()
Begins the progress of this component. Subclasses should override this.

 o stop
 public void stop()
Ends the progress of this component. Subclasses should override this.

 o getRoute
 public Route getRoute()
Get the route object that directs messages to the correct WizardState.

Returns:
The route to the server.
 o 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.
 o 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.
 o 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