EchoPoint
1.0

echopoint.progressbar
Class DefaultProgressBarRenderer

java.lang.Object
  extended byechopoint.progressbar.DefaultProgressBarRenderer
All Implemented Interfaces:
ProgressBarRenderer, java.io.Serializable

public class DefaultProgressBarRenderer
extends java.lang.Object
implements ProgressBarRenderer, java.io.Serializable

The default ProgressBar renderer

See Also:
Serialized Form

Constructor Summary
DefaultProgressBarRenderer()
           
 
Method Summary
 nextapp.echo.ImageReference drawProgressBar(ProgressBar progressBar)
          This method can be used by subclasses to customise how the ProgressBar is to be displayed.
 java.lang.String toString()
          A toString method for debugging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultProgressBarRenderer

public DefaultProgressBarRenderer()
Method Detail

drawProgressBar

public nextapp.echo.ImageReference drawProgressBar(ProgressBar progressBar)
This method can be used by subclasses to customise how the ProgressBar is to be displayed.

The subclass must take into account the properties of the ProgressBar at the time the image is to be drawn. For example the orientation, the progress string etc...

The default implementation create a AwtImageReference for display on the client via AWT graphics calls.

Specified by:
drawProgressBar in interface ProgressBarRenderer

toString

public java.lang.String toString()
A toString method for debugging


EchoPoint
1.0