org.jdesktop.swingx.event
Interface ProgressListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
JXStatusBar

public interface ProgressListener
extends java.util.EventListener

The listener interface for recieving progress events. The class interested in handling ProgressEvents should implement this interface. The complementary interface would be MessageSource

See Also:
ProgressEvent, MessageSource

Method Summary
 void progressEnded(ProgressEvent evt)
          Indicates that the operation has stopped.
 void progressIncremented(ProgressEvent evt)
          Invoked when an increment of progress is sent.
 void progressStarted(ProgressEvent evt)
          Indicates the start of a long operation.
 

Method Detail

progressStarted

void progressStarted(ProgressEvent evt)
Indicates the start of a long operation. The ProgressEvent will indicate if this is a determinate or indeterminate operation.

Parameters:
evt - an object which describes the event

progressEnded

void progressEnded(ProgressEvent evt)
Indicates that the operation has stopped.


progressIncremented

void progressIncremented(ProgressEvent evt)
Invoked when an increment of progress is sent. This may not be sent if an indeterminate progress has started.

Parameters:
evt - an object which describes the event