net.thestump.ghronos.timing
Class TimingFactory

java.lang.Object
  extended bynet.thestump.ghronos.timing.TimingFactory

public class TimingFactory
extends java.lang.Object

Used to create timing styles

Author:
Christopher C. Stump

Field Summary
static java.lang.String[] STYLES
          Holds the name of each TimingStyle available from this factory
 
Constructor Summary
TimingFactory()
           
 
Method Summary
static TimingStyle getTimingStyle(int id)
          Gets the requested timing style
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STYLES

public static final java.lang.String[] STYLES
Holds the name of each TimingStyle available from this factory

Constructor Detail

TimingFactory

public TimingFactory()
Method Detail

getTimingStyle

public static TimingStyle getTimingStyle(int id)
Gets the requested timing style

Parameters:
id - The id of the timing style
Throws:
BadArgumentException - If id does not match the ID of any known TimingStyle class


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