2 *******************************************************************************
3 * Copyright (C) 1998-2004, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 *******************************************************************************
7 * Created on Dec 09, 2003
9 *******************************************************************************
11 package com.ibm.icu.dev.tool.layout;
13 import java.io.PrintStream;
15 public class ThaiStateTransition
20 public ThaiStateTransition(int nextState, char action)
22 this.nextState = nextState;
26 public final int getNextState()
31 public final char getAction()
36 public final void setNextState(int newNextState)
38 nextState = newNextState;
41 public final void setAction(char newAction)
46 public String toString()
48 return ((nextState < 10) ? "0" : "") + nextState + "/" + action + " ";
51 public void write(PrintStream output)
59 output.print(nextState);