Package com.inet.viewer
Class ProgressPool
- java.lang.Object
-
- com.inet.viewer.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 aPropertyChangeListener
to the listener list.void
removeStateChangeListener(java.beans.PropertyChangeListener l)
Removes aPropertyChangeListener
from the listener list.
-
-
-
Method Detail
-
addStateChangeListener
public void addStateChangeListener(java.beans.PropertyChangeListener l)
Adds aPropertyChangeListener
to the listener list. The listener is registered for status changes of all registered progresses.- Parameters:
l
- thePropertyChangeListener
to be added- Throws:
java.lang.IllegalArgumentException
- when PropertyChangeListener l == null- Since:
- 7.0
-
removeStateChangeListener
public void removeStateChangeListener(java.beans.PropertyChangeListener l)
Removes aPropertyChangeListener
from the listener list. This removes aPropertyChangeListener
that was registered for status changes of all registered progresses.- Parameters:
l
- thePropertyChangeListener
to be removed- Throws:
java.lang.IllegalArgumentException
- when PropertyChangeListener l == null- Since:
- 7.0
-
-