org.ow2.clif.console.lib.egui.monitor
Class BladeOption

java.lang.Object
  extended by org.ow2.clif.console.lib.egui.monitor.BladeOption

public class BladeOption
extends java.lang.Object

This class represents blade's options

Author:
Tsirimiaina ANDRIANAVONIMIARINA JAONA, Joan Chaumont

Constructor Summary
BladeOption(boolean display, boolean collect, java.lang.String bladeId)
          Constructor.
 
Method Summary
 void beginTimer()
          Begin the timer for these blade
 java.lang.String getBladeId()
          Get the blade id
 java.lang.String getEllapsedTime()
          Get ellapsed time for this blade
 boolean isBoolcollect()
          Test if the blade must be collected
 boolean isBooldisplay()
          Test if the blade must be displayed
 void setBladeId(java.lang.String bladeId)
          Set blade id
 void setBoolcollect(boolean boolcollect)
          Set if the blade must be collected
 void setBooldisplay(boolean booldisplay)
          Set if the blade must be displayed
 void suspendTimer()
          Suspend the timer for these blade
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BladeOption

public BladeOption(boolean display,
                   boolean collect,
                   java.lang.String bladeId)
Constructor.

Parameters:
display -
collect -
bladeId -
Method Detail

getBladeId

public java.lang.String getBladeId()
Get the blade id

Returns:
String blade id

setBladeId

public void setBladeId(java.lang.String bladeId)
Set blade id

Parameters:
bladeId - the new blade id

isBoolcollect

public boolean isBoolcollect()
Test if the blade must be collected

Returns:
boolean true if blade must be collected

setBoolcollect

public void setBoolcollect(boolean boolcollect)
Set if the blade must be collected

Parameters:
boolcollect -

isBooldisplay

public boolean isBooldisplay()
Test if the blade must be displayed

Returns:
boolean true if blade must be display

setBooldisplay

public void setBooldisplay(boolean booldisplay)
Set if the blade must be displayed

Parameters:
booldisplay -

beginTimer

public void beginTimer()
Begin the timer for these blade


getEllapsedTime

public java.lang.String getEllapsedTime()
Get ellapsed time for this blade

Returns:
String the ellapsed time

suspendTimer

public void suspendTimer()
Suspend the timer for these blade


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object