public interface StatusManager
| Modifier and Type | Method and Description |
|---|---|
void |
add(Status status)
Add a new status message.
|
void |
add(StatusListener listener)
Add a status listener.
|
boolean |
addUniquely(StatusListener listener,
java.lang.Object origin)
Add a status listener unless another instance of the same type has been
previously registered.
|
void |
clear()
Clear the list of status messages.
|
java.util.List<Status> |
getCopyOfStatusList()
Obtain a copy of the status list maintained by this StatusManager.
|
java.util.List<StatusListener> |
getCopyOfStatusListenerList()
Obtain a copy of the status listener list maintained by this StatusManager
|
int |
getCount()
Return the number of status entries.
|
void |
remove(StatusListener listener)
Remove a status listener.
|
void add(Status status)
status - the status to addjava.util.List<Status> getCopyOfStatusList()
int getCount()
void add(StatusListener listener)
listener - the status listenerboolean addUniquely(StatusListener listener, java.lang.Object origin)
listener - the status listenerorigin - the caller of this methodvoid remove(StatusListener listener)
listener - the status listenervoid clear()
java.util.List<StatusListener> getCopyOfStatusListenerList()