graphlab.gui.plugins.main.core.actions
Class StatusBarMessage

java.lang.Object
  extended by graphlab.main.core.action.AbstractAction
      extended by graphlab.gui.plugins.main.core.actions.StatusBarMessage
All Implemented Interfaces:
Action, Notifiable, GComponentInterface

public class StatusBarMessage
extends AbstractAction
implements GComponentInterface

with using of this class you can have a message in status bar of the program, by just putting a bar in the XML file as following

Author:
azin azadi

Field Summary
 
Fields inherited from class graphlab.main.core.action.AbstractAction
listeningEvents
 
Constructor Summary
StatusBarMessage(BlackBoard bb)
          constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.awt.Component getComponent(BlackBoard b)
           
 void performJob(java.lang.String name)
          like Action
static void setMessage(BlackBoard b, java.lang.String s)
           
static void showQuickMessage(BlackBoard b, java.lang.String message)
           
 
Methods inherited from class graphlab.main.core.action.AbstractAction
disable, doJob, enable, getBlackBoard, isEnable, setBlackBoard
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusBarMessage

public StatusBarMessage(BlackBoard bb)
constructor

Parameters:
bb - the BlackBoard of the action
Method Detail

performJob

public void performJob(java.lang.String name)
Description copied from class: AbstractAction
like Action

Specified by:
performJob in class AbstractAction

showQuickMessage

public static void showQuickMessage(BlackBoard b,
                                    java.lang.String message)

setMessage

public static void setMessage(BlackBoard b,
                              java.lang.String s)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

getComponent

public java.awt.Component getComponent(BlackBoard b)
Specified by:
getComponent in interface GComponentInterface