com.e1.mxdublin.evlist
Class EvAction

java.lang.Object
  extended by com.e1.mxdublin.core.SeqEvent
      extended by com.e1.mxdublin.evlist.EvAbstractItem
          extended by com.e1.mxdublin.evlist.EvAction
All Implemented Interfaces:
Cloneable, Comparable<EvAbstractItem>, Runnable

public class EvAction
extends EvAbstractItem

A simple event that will execution an action. Only the play method is supported.


Field Summary
 
Fields inherited from class com.e1.mxdublin.evlist.EvAbstractItem
gp, len_tm
 
Fields inherited from class com.e1.mxdublin.core.SeqEvent
mandatory
 
Constructor Summary
EvAction(Executable exec)
          Execute the 'executable' at 'tm'
 
Method Summary
 boolean isLike(EvAbstractItem comp)
          Returns true if the content of this event is the same than event item 'comp'.
 void play()
          Tells this event to execute.
 Element toXML()
          Force this object not to be XML serializable.
 
Methods inherited from class com.e1.mxdublin.evlist.EvAbstractItem
appendDefinedProperties, bang, cancel, clone, compareTo, equals, fromXML, getGroupProperties, getTm, getValue, isSameGroupProperties, loadElement, repr, run, setProperties, setProperty, setTm, setTm, setValue, stop, toString
 
Methods inherited from class com.e1.mxdublin.core.SeqEvent
eventDebug
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvAction

public EvAction(Executable exec)
Execute the 'executable' at 'tm'

Parameters:
exec - the action to execute
Method Detail

play

public void play()
Description copied from class: EvAbstractItem
Tells this event to execute.

Specified by:
play in class EvAbstractItem

isLike

public boolean isLike(EvAbstractItem comp)
Description copied from class: EvAbstractItem
Returns true if the content of this event is the same than event item 'comp'. Unlike equals(Object o), the event time is not compared.

Specified by:
isLike in class EvAbstractItem
Parameters:
comp - the event item to compare
Returns:
returns true is the content is the same

toXML

public Element toXML()
Force this object not to be XML serializable.

Overrides:
toXML in class EvAbstractItem
Returns:
Element representation of this event