Package com.inet.viewer
Class ProgressPool
java.lang.Object
com.inet.viewer.ProgressPool
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds aPropertyChangeListener
to the listener list.void
Removes aPropertyChangeListener
from the listener list.
-
Field Details
-
propertySupporter
FOR INTERNAL USE ONLY
-
-
Constructor Details
-
ProgressPool
public ProgressPool()FOR INTERNAL USE ONLY
-
-
Method Details
-
addStateChangeListener
Adds aPropertyChangeListener
to the listener list. The listener is registered for status changes of all registered progresses.- Parameters:
l
- thePropertyChangeListener
to be added- Throws:
IllegalArgumentException
- when PropertyChangeListener l == null- Since:
- 7.0
-
removeStateChangeListener
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:
IllegalArgumentException
- when PropertyChangeListener l == null- Since:
- 7.0
-