|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdsto.dfc.util.BasicPropertyEventSource
dsto.dfc.swing.status.StatusManager
public class StatusManager
Manages a stack of status messages. Used as the underlying 'model' for the StatusBar control.
StatusBar,
MenuStatusAdapter,
LogStatusAdapter,
Serialized Form| Constructor Summary | |
|---|---|
StatusManager()
|
|
| Method Summary | |
|---|---|
static StatusManager |
getOrCreateStatusManager(Component c)
Get or create a status manager for the window containing a given component. |
Object |
getStatus()
The current top of the status stack (null if the stack is empty). |
String |
getStatusMessage()
The string value of the top of the status stack ("" if the stack is empty). |
Object |
popStatus()
Pop the current status object off the stack. |
void |
pushStatus(Object status)
|
void |
pushStatus(Object status,
boolean soft)
Push a new status object (usually a String or Iconic value) onto the status stack. |
| Methods inherited from class dsto.dfc.util.BasicPropertyEventSource |
|---|
addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener, setPropertyChangeSource |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusManager()
| Method Detail |
|---|
public static StatusManager getOrCreateStatusManager(Component c)
throws IllegalArgumentException
IllegalArgumentExceptionpublic void pushStatus(Object status)
public void pushStatus(Object status,
boolean soft)
status - The new status.soft - If true, the new status is marked 'soft' and will be
automatically replaced by the next call to pushStatus ().public Object popStatus()
public Object getStatus()
getStatusMessage()public String getStatusMessage()
getStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||