public interface StatusBar extends ViewerComponent
Modifier and Type | Method and Description |
---|---|
void |
addStateChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list.
|
void |
clearInfoMessage()
Remove the current info message from the StatusBar.Calling
this method will bring a status message(if set) back to screen.
|
void |
clearStatusMessage()
Remove the current status message from the StatusBar.
|
java.lang.String |
getInfoMessage()
Returns the current info message from the statusbar.
|
java.lang.String |
getStatusMessage()
Returns the current status message from the statusbar.
|
boolean |
isVisible()
Determines whether this component should be visible when its
parent is visible.
|
void |
removeStateChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from this progress.
|
void |
setInfoMessage(java.lang.String message)
Sets and shows a info message in this StatusBar.
|
void |
setStatusMessage(java.lang.String message,
boolean isError)
Sets and shows, if no info message is set, a status message in this StatusBar.
|
void |
setVisible(boolean vis)
Shows or hides this component depending on the value of parameter
b . |
getComponent
void setStatusMessage(java.lang.String message, boolean isError)
clearStatusMessage()
is called or an infor or a new status message is set. If isError
is set the message will be displayed as an error (red color).message
- The status message to show.isError
- If true the status message will be displayed red.void clearStatusMessage()
java.lang.String getStatusMessage()
void setInfoMessage(java.lang.String message)
clearInfoMessage()
is called or a new info message is set. A status message cant
overwrite an info message and calling clearInfoMessage()
will bring the status message
(if set) back to screen.message
- The info message to show.java.lang.String getInfoMessage()
void clearInfoMessage()
void setVisible(boolean vis)
b
.vis
- if true
, shows this component;
otherwise, hides this componentboolean isVisible()
Frame
objects.true
if the component is visible,
false
otherwisevoid addStateChangeListener(java.beans.PropertyChangeListener l)
l
- PropertyChangeListenervoid removeStateChangeListener(java.beans.PropertyChangeListener l)
l
- PropertyChangeListenerCopyright © 1999-2020 by i-net software GmbH