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.
-
text
- The text to display.
-
textColor
- The color of the displayed text.
-
StatusBar()
- Constructs a default StatusBar.
-
clear()
- Clears the text that gets displayed.
-
getStatusText()
- Gets the text currently displayed.
-
getStatusTextColor()
- Gets the text color currently displayed.
-
setLayout(LayoutManager)
- Takes no action.
-
setStatusText(String)
- Sets the text that is displayed.
-
setStatusTextColor(Color)
- Sets the color of the text that is displayed.
text
protected Label text
- The text to display.
textColor
protected Color textColor
- The color of the displayed text.
StatusBar
public StatusBar()
- Constructs a default StatusBar.
It is constructed with the BEVEL_LINE style.
setStatusText
public void setStatusText(String s)
- Sets the text that is displayed.
- Parameters:
- s - the new text to display
- See Also:
- getStatusText
getStatusText
public String getStatusText()
- Gets the text currently displayed.
- Returns:
- the text currently displayed
- See Also:
- setStatusText
setStatusTextColor
public void setStatusTextColor(Color c)
- Sets the color of the text that is displayed.
- Parameters:
- s - the new text color
- See Also:
- getStatusTextColor
getStatusTextColor
public Color getStatusTextColor()
- Gets the text color currently displayed.
- Returns:
- the current color of displayed text
- See Also:
- setStatusTextColor
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
clear
public void clear()
- Clears the text that gets displayed.
- See Also:
- setStatusText
All Packages Class Hierarchy This Package Previous Next Index