public class BasicStatusManager extends java.lang.Object implements StatusManager
Modifier and Type | Field and Description |
---|---|
static int |
MAX_HEADER_COUNT |
static int |
TAIL_SIZE |
Constructor and Description |
---|
BasicStatusManager() |
Modifier and Type | Method and Description |
---|---|
void |
add(Status newStatus)
Add a new status object.
|
boolean |
add(StatusListener listener)
This implementation does not allow duplicate installations of OnConsoleStatusListener
|
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.
|
int |
getLevel() |
void |
remove(StatusListener listener)
);
Remove a status listener.
|
public static final int MAX_HEADER_COUNT
public static final int TAIL_SIZE
public void add(Status newStatus)
add
in interface StatusManager
newStatus
- the status message to addpublic java.util.List<Status> getCopyOfStatusList()
StatusManager
getCopyOfStatusList
in interface StatusManager
public void clear()
StatusManager
clear
in interface StatusManager
public int getLevel()
public int getCount()
StatusManager
getCount
in interface StatusManager
public boolean add(StatusListener listener)
add
in interface StatusManager
listener
- public void remove(StatusListener listener)
StatusManager
remove
in interface StatusManager
public java.util.List<StatusListener> getCopyOfStatusListenerList()
StatusManager
getCopyOfStatusListenerList
in interface StatusManager
Copyright © 2010 - 2020 Adobe. All Rights Reserved