All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.StatusBar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----symantec.itools.awt.BorderPanel
                                   |
                                   +----symantec.itools.awt.StatusBar

public class StatusBar
extends BorderPanel
Use a StatusBar to show document status and other information, like the meaning of a button or other user interface element in a window. Typically, a status bar appears at the bottom of a window.


Variable Index

 o text
The text to display.
 o textColor
The color of the displayed text.

Constructor Index

 o StatusBar()
Constructs a default StatusBar.

Method Index

 o clear()
Clears the text that gets displayed.
 o getStatusText()
Gets the text currently displayed.
 o getStatusTextColor()
Gets the text color currently displayed.
 o setLayout(LayoutManager)
Takes no action.
 o setStatusText(String)
Sets the text that is displayed.
 o setStatusTextColor(Color)
Sets the color of the text that is displayed.

Variables

 o text
  protected Label text
The text to display.

 o textColor
  protected Color textColor
The color of the displayed text.

Constructors

 o StatusBar
  public StatusBar()
Constructs a default StatusBar. It is constructed with the BEVEL_LINE style.

Methods

 o setStatusText
  public void setStatusText(String s)
Sets the text that is displayed.

Parameters:
s - the new text to display
See Also:
getStatusText
 o getStatusText
  public String getStatusText()
Gets the text currently displayed.

Returns:
the text currently displayed
See Also:
setStatusText
 o setStatusTextColor
  public void setStatusTextColor(Color c)
Sets the color of the text that is displayed.

Parameters:
s - the new text color
See Also:
getStatusTextColor
 o getStatusTextColor
  public Color getStatusTextColor()
Gets the text color currently displayed.

Returns:
the current color of displayed text
See Also:
setStatusTextColor
 o setLayout
  public void setLayout(LayoutManager l)
Takes no action. This is a standard Java AWT method which gets called to specify which layout manager should be used to layout the components in standard containers. Since layout managers CANNOT BE USED with this container the standard setLayout has been OVERRIDDEN for this container and does nothing.

Parameters:
l - the layout manager to use to layout this container's components (IGNORED)
Overrides:
setLayout in class BorderPanel
See Also:
getLayout
 o clear
  public void clear()
Clears the text that gets displayed.

See Also:
setStatusText

All Packages  Class Hierarchy  This Package  Previous  Next  Index