All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.webrunner.bab.StatusBar
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JPanel
|
+----com.ibm.webrunner.bab.StatusBar
- public class StatusBar
- extends JPanel
- implements Serializable
This is basically a JPanel with a message area. The status messages can be
using this statusbar. The messages are stacked so that statusbar can be
reverted to previously set message. The statusbar requires a message display
component, basically a JLabel to display the messages. The statusbar can be
customized to contain other components if need be. If no message display
component is set by the user, the statusbar adds a JLabel to the center of
the JPanel and this is used for displaying the messages.
Modification(s) History :
09/18/98 - created
- Version:
- 0.1
-
StatusBar()
- Default constructor
-
clearStatusMessages()
- Clear all the status messages
-
getMessageLabel()
- Return the Message area where the status messages are displayed
-
getStatusMessage()
- Return status message
-
setMessageLabel(JLabel)
- Set the Message area where the status messages are displayed
-
setStatusMessage(String)
- Set the status message.
-
unsetStatusMessage()
- Display the previously set status message.
StatusBar
public StatusBar()
- Default constructor
setStatusMessage
public void setStatusMessage(String message)
- Set the status message.
getStatusMessage
public String getStatusMessage()
- Return status message
unsetStatusMessage
public void unsetStatusMessage()
- Display the previously set status message.
clearStatusMessages
public void clearStatusMessages()
- Clear all the status messages
getMessageLabel
public JLabel getMessageLabel()
- Return the Message area where the status messages are displayed
setMessageLabel
public void setMessageLabel(JLabel newMessageLabel)
- Set the Message area where the status messages are displayed
All Packages Class Hierarchy This Package Previous Next Index