Class symantec.itools.awt.StatusBar
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.StatusBar
Object
|
+----Component
|
+----Container
|
+----Panel
|
+----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.
- Version:
- 1.1, July 18, 1997
- Author:
- Symantec
-
text
- The text to display.
-
textColor
- The color of the displayed text.
-
symantec.itools.awt.StatusBar()
- Constructs a default StatusBar.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener for all event changes.
-
addVetoableChangeListener(VetoableChangeListener)
- Adds a vetoable listener for all event changes.
-
clear()
- Clears the text that gets displayed.
-
getStatusText()
- Gets the text currently displayed.
-
getStatusTextColor()
- Gets the text color currently displayed.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a listener for all event changes.
-
removeVetoableChangeListener(VetoableChangeListener)
- Removes a vetoable listener for all event changes.
-
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 java.awt.Label text
- The text to display.
textColor
protected java.awt.Color textColor
- The color of the displayed text.
StatusBar
public StatusBar()
- Constructs a default StatusBar.
It is constructed with the BEVEL_LINE style.
addPropertyChangeListener
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)
- Adds a listener for all event changes.
- Parameters:
- listener - the listener to add.
- Overrides:
- addPropertyChangeListener in class BorderPanel
- See Also:
- removePropertyChangeListener
addVetoableChangeListener
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)
- Adds a vetoable listener for all event changes.
- Parameters:
- listener - the listener to add.
- Overrides:
- addVetoableChangeListener in class BorderPanel
- See Also:
- removeVetoableChangeListener
clear
public void clear()
- Clears the text that gets displayed.
- See Also:
- setStatusText
getStatusText
public java.lang.String getStatusText()
- Gets the text currently displayed.
- Returns:
- the text currently displayed
- See Also:
- setStatusText
getStatusTextColor
public java.awt.Color getStatusTextColor()
- Gets the text color currently displayed.
- Returns:
- the current color of displayed text
- See Also:
- setStatusTextColor
removePropertyChangeListener
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)
- Removes a listener for all event changes.
- Parameters:
- listener - the listener to remove.
- Overrides:
- removePropertyChangeListener in class BorderPanel
- See Also:
- addPropertyChangeListener
removeVetoableChangeListener
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)
- Removes a vetoable listener for all event changes.
- Parameters:
- listener - the listener to remove.
- Overrides:
- removeVetoableChangeListener in class BorderPanel
- See Also:
- addVetoableChangeListener
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
setStatusText
public void setStatusText(String s) throws PropertyVetoException
- Sets the text that is displayed.
- Parameters:
- s - the new text to display
- Throws: PropertyVetoException
- if the specified property value is unacceptable
- See Also:
- getStatusText
setStatusTextColor
public void setStatusTextColor(Color c) throws PropertyVetoException
- Sets the color of the text that is displayed.
- Parameters:
- s - the new text color
- Throws: PropertyVetoException
- if the specified property value is unacceptable
- See Also:
- getStatusTextColor
All Packages Class Hierarchy This Package Previous Next Index