GraphLab Project

graphlab.ui.actions
Class MemoryUsageStatusAction

java.lang.Object
  extended by graphlab.platform.core.AbstractAction
      extended by graphlab.ui.actions.MemoryUsageStatusAction
All Implemented Interfaces:
Action, Listener, GComponentInterface, java.awt.event.ActionListener, java.util.EventListener

public class MemoryUsageStatusAction
extends AbstractAction
implements java.awt.event.ActionListener, GComponentInterface

Author:
Azin Azadi

Field Summary
 
Fields inherited from class graphlab.platform.core.AbstractAction
blackboard
 
Constructor Summary
MemoryUsageStatusAction(BlackBoard bb)
          constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          occurs when the button pressed
 java.awt.Component getComponent(BlackBoard b)
           
 void performAction(java.lang.String eventName, java.lang.Object value)
          called when the variable bname is changed
 
Methods inherited from class graphlab.platform.core.AbstractAction
disable, enable, getBlackBoard, getLastListenedEventKey, isEnable, keyChanged, listen4Event, setBlackBoard, unListenEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryUsageStatusAction

public MemoryUsageStatusAction(BlackBoard bb)
constructor

Parameters:
bb - the blackboard of the action
Method Detail

performAction

public void performAction(java.lang.String eventName,
                          java.lang.Object value)
called when the variable bname is changed

Specified by:
performAction in interface Action
Specified by:
performAction in class AbstractAction
Parameters:
eventName -
value -

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
occurs when the button pressed

Specified by:
actionPerformed in interface java.awt.event.ActionListener

getComponent

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

GraphLab Project