Class ProgressPool

java.lang.Object
com.inet.viewer.ProgressPool

public class ProgressPool extends Object
This class handles all running progresses. Register a propertyChangeListener to this class to monitor the state changes of all registered progresses. If a progress is finished the ProgressPool will automatically remove all Listener for this finished progress.
Since:
7.0
  • Field Details

  • Constructor Details

    • ProgressPool

      public ProgressPool()
      FOR INTERNAL USE ONLY
  • Method Details

    • addStateChangeListener

      public void addStateChangeListener(PropertyChangeListener l)
      Adds a PropertyChangeListener to the listener list. The listener is registered for status changes of all registered progresses.

      Parameters:
      l - the PropertyChangeListener to be added
      Throws:
      IllegalArgumentException - when PropertyChangeListener l == null
      Since:
      7.0
    • removeStateChangeListener

      public void removeStateChangeListener(PropertyChangeListener l)
      Removes a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for status changes of all registered progresses.
      Parameters:
      l - the PropertyChangeListener to be removed
      Throws:
      IllegalArgumentException - when PropertyChangeListener l == null
      Since:
      7.0