Class ProgressPool


  • public class ProgressPool
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      protected java.beans.PropertyChangeSupport propertySupporter
      FOR INTERNAL USE ONLY
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressPool()
      FOR INTERNAL USE ONLY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addStateChangeListener​(java.beans.PropertyChangeListener l)
      Adds a PropertyChangeListener to the listener list.
      void removeStateChangeListener​(java.beans.PropertyChangeListener l)
      Removes a PropertyChangeListener from the listener list.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • propertySupporter

        protected java.beans.PropertyChangeSupport propertySupporter
        FOR INTERNAL USE ONLY
    • Constructor Detail

      • ProgressPool

        public ProgressPool()
        FOR INTERNAL USE ONLY
    • Method Detail

      • addStateChangeListener

        public void addStateChangeListener​(java.beans.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:
        java.lang.IllegalArgumentException - when PropertyChangeListener l == null
        Since:
        7.0
      • removeStateChangeListener

        public void removeStateChangeListener​(java.beans.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:
        java.lang.IllegalArgumentException - when PropertyChangeListener l == null
        Since:
        7.0