All Packages Class Hierarchy This Package Previous Next Index
Class fr.l2f.gui.StatusBar
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----fr.l2f.gui.StatusBar
- public class StatusBar
- extends Container
a Status bar for an application
Message can be sent to this object by the setMessage method
-
StatusBar()
-
-
getInsets()
-
-
getPreferredSize()
-
-
paint(Graphics)
-
-
setDefaultMessage(String)
- Set the default message, i.e.
-
setMessage(String, Font)
- Display a message in the StatusBar
StatusBar
public StatusBar()
setDefaultMessage
public void setDefaultMessage(String s)
- Set the default message, i.e. used when no message is given in the setMessage method
- Parameters:
- s - default message
setMessage
public void setMessage(String s,
Font f)
- Display a message in the StatusBar
- Parameters:
- s - message string
- f - font used for this message
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Container
getInsets
public Insets getInsets()
- Overrides:
- getInsets in class Container
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
All Packages Class Hierarchy This Package Previous Next Index