net.thestump.ghronos.ui.state
Class StateFactory

java.lang.Object
  extended bynet.thestump.ghronos.ui.state.StateFactory

public class StateFactory
extends java.lang.Object

Used to create state labels

Author:
Christopher C. Stump

Constructor Summary
StateFactory()
           
 
Method Summary
static StateLabel getState(byte id)
          Gets the requested state label
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateFactory

public StateFactory()
Method Detail

getState

public static StateLabel getState(byte id)
Gets the requested state label

Parameters:
id - The id of the state label
Throws:
BadArgumentException - If id does not match the ID of any known state label class


Copyright © 2004 Christopher C. Stump. All Rights Reserved.