|
org.openide.awt 6.11.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openide.awt.StatusDisplayer
public abstract class StatusDisplayer
Permits control of a status line. The default instance may correspond to the NetBeans status line in the main window.
Constructor Summary | |
---|---|
protected |
StatusDisplayer()
Subclass constructor. |
Method Summary | |
---|---|
abstract void |
addChangeListener(ChangeListener l)
Add a listener for when the text changes. |
static StatusDisplayer |
getDefault()
Get the default status displayer. |
abstract String |
getStatusText()
Get the currently displayed text. |
abstract void |
removeChangeListener(ChangeListener l)
Remove a listener for the text. |
abstract void |
setStatusText(String text)
Show text in the status line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected StatusDisplayer()
Method Detail |
---|
public static StatusDisplayer getDefault()
public abstract String getStatusText()
Modules should not need to call this method. If you think you really do, please explain why on nbdev. The implementation of the GUI component (if any) which displays the text naturally needs to call it.
public abstract void setStatusText(String text)
Default implementation of status line in NetBeans displays the text in status line and clears it after a while. Also there is no guarantee how long the text will be displayed as it can be replaced with new call to this method at any time.
text
- the text to be shownpublic abstract void addChangeListener(ChangeListener l)
l
- a listenerpublic abstract void removeChangeListener(ChangeListener l)
l
- a listener
|
org.openide.awt 6.11.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |