|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inet.viewer.SwingStatusBar
public class SwingStatusBar
Swing implementation of the Statusbar.
| Constructor Summary | |
|---|---|
SwingStatusBar(ReportView view)
Creates a new instance of the StatusBar connected to the given ReportView. |
|
| Method Summary | |
|---|---|
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.awt.Component |
getComponent()
All public graphical components of the viewer must implement this method, which returns the actual AWT component so that it can be added to containers, etc. |
java.lang.String |
getInfoMessage()
Returns the current info message from the statusbar. |
java.lang.String |
getStatusMessage()
Returns the current status message from the statusbar. |
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 |
setStatusIcon(javax.swing.Icon icon)
Displays the specified icon 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. |
| Methods inherited from interface com.inet.viewer.StatusBar |
|---|
isVisible, setVisible |
| Constructor Detail |
|---|
public SwingStatusBar(ReportView view)
view - ReportView to which this StatusBar is to belong.| Method Detail |
|---|
public java.awt.Component getComponent()
myFrame.add(viewer.getComponent())
getComponent in interface ViewerComponentpublic void addStateChangeListener(java.beans.PropertyChangeListener l)
addStateChangeListener in interface StatusBarl - PropertyChangeListenerpublic void removeStateChangeListener(java.beans.PropertyChangeListener l)
removeStateChangeListener in interface StatusBarl - PropertyChangeListenerpublic void clearInfoMessage()
clearInfoMessage in interface StatusBarpublic void clearStatusMessage()
clearStatusMessage in interface StatusBarpublic java.lang.String getInfoMessage()
getInfoMessage in interface StatusBarpublic java.lang.String getStatusMessage()
getStatusMessage in interface StatusBarpublic void setInfoMessage(java.lang.String message)
StatusBar.clearInfoMessage() is called or a new info message is set. A status message cant
overwrite an info message and calling StatusBar.clearInfoMessage() will bring the status message
(if set) back to screen.
setInfoMessage in interface StatusBarmessage - The info message to show.
public void setStatusMessage(java.lang.String message,
boolean isError)
StatusBar.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).
setStatusMessage in interface StatusBarmessage - The status message to show.isError - If true the status message will be displayed red.public void setStatusIcon(javax.swing.Icon icon)
icon - the given icon (null possible)
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||