public class StatusLineWriter
extends java.lang.Object
MyStatusBar via the event service.
TODO: Or should we try to get the MyStatusBar instance injected directly (as a Context variable etc), which would remove the need for using the event broker and this client?
| Constructor and Description |
|---|
StatusLineWriter(IEventBroker eventBroker) |
| Modifier and Type | Method and Description |
|---|---|
void |
flashMessage(java.lang.String s,
int timeSeconds)
Flashes a message for the given time,
or until another message gets set.
|
void |
setMessage(java.lang.String s)
Must only be called from the UI thread.
|
public void setMessage(java.lang.String s)
s - The message to appear in the status bar.public void flashMessage(java.lang.String s,
int timeSeconds)
s - The message to appear in the status bar.