guk.im
Class Action
java.lang.Object
|
+--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. |
Action
public Action(State nextState)
- Constructor.
- Parameters:
nextState
- the state this action goes to.
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.