GATE
Version 3.1-2270

guk.im
Class Action

java.lang.Object
  extended by guk.im.Action

public class Action
extends Object

Defines an action in the FSM of the input method. An action starts from a state and goes into another one adding perhaps something to the composed text.


Constructor Summary
Action(State nextState)
          Constructor.
 
Method Summary
 String getComposedText()
          Gets the composed text added by this action.
 State getNext()
          Gets the state this action leads to.
 void setComposedText(String text)
          Sets the composed text to be added by this action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action(State nextState)
Constructor.

Parameters:
nextState - the state this action goes to.
Method Detail

setComposedText

public void setComposedText(String text)
Sets the composed text to be added by this action

Parameters:
text -

getComposedText

public String getComposedText()
Gets the composed text added by this action.


getNext

public State getNext()
Gets the state this action leads to.


GATE
Version 3.1-2270