net.nexttext.behaviour.standard
Class DoNothing

java.lang.Object
  extended by net.nexttext.behaviour.AbstractAction
      extended by net.nexttext.behaviour.standard.DoNothing
All Implemented Interfaces:
Action

public class DoNothing
extends AbstractAction

Does nothing to a TextObject.


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action
Action.ActionResult
 
Constructor Summary
DoNothing()
          Do nothing, returning the default ActionResult(false, false, false).
DoNothing(boolean complete, boolean canComplete, boolean event)
          Do nothing, returning an ActionResult constructed with the given values.
 
Method Summary
 Action.ActionResult behave(TextObject to)
          Does nothing to the TextObject.
 
Methods inherited from class net.nexttext.behaviour.AbstractAction
behave, behave, complete, getDisplayName, getRequiredProperties, makeBehaviour, properties, setDisplayName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoNothing

public DoNothing()
Do nothing, returning the default ActionResult(false, false, false).


DoNothing

public DoNothing(boolean complete,
                 boolean canComplete,
                 boolean event)
Do nothing, returning an ActionResult constructed with the given values.

Method Detail

behave

public Action.ActionResult behave(TextObject to)
Does nothing to the TextObject.

Specified by:
behave in interface Action
Overrides:
behave in class AbstractAction