All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.StatusMessage

java.lang.Object
   |
   +----com.bulletproof.gui.Component
           |
           +----com.bulletproof.gui.StatusMessage

public class StatusMessage
extends Component
implements Runnable, ActionListener
Class StatusMessage represents a class for displaying status bar messages.


Constructor Index

 o StatusMessage(Frame)
Creates a Status bar class.

Method Index

 o actionPerformed(ActionEvent)
 o addConsole(String)
 o clearConsole()
 o clearStatusMsg()
Clear the current status message.
 o displayConsole()
 o getStatusMsg()
Get the current status message.
 o hideConsole()
 o paint(Graphics)
Paints the component.
 o run()
 o setStatusMsg(String, int)
Display a new status message.

Constructors

 o StatusMessage
 public StatusMessage(Frame parent)
Creates a Status bar class.

Parameters:
JDPUser - the global user parameter used to pass handles in JDP.

Methods

 o setStatusMsg
 public void setStatusMsg(String smessage,
                          int clear)
Display a new status message.

Parameters:
statusMessage - the message to display.
clearAfter - the number of seconds before the message should be removed.
 o clearStatusMsg
 public void clearStatusMsg()
Clear the current status message.

 o getStatusMsg
 public String getStatusMsg()
Get the current status message.

Returns:
the current status message.
 o paint
 public synchronized void paint(Graphics g)
Paints the component.

Overrides:
paint in class Component
 o run
 public void run()
 o addConsole
 public void addConsole(String contents)
 o clearConsole
 public void clearConsole()
 o hideConsole
 public void hideConsole()
 o displayConsole
 public void displayConsole()
 o actionPerformed
 public void actionPerformed(ActionEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index