net.thestump.ghronos.ui.clock
Class ClockFactory

java.lang.Object
  extended bynet.thestump.ghronos.ui.clock.ClockFactory

public class ClockFactory
extends java.lang.Object

Used to create clocks

Author:
Christopher C. Stump

Constructor Summary
ClockFactory()
           
 
Method Summary
static Clock getClock(byte id)
          Gets the requested clock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClockFactory

public ClockFactory()
Method Detail

getClock

public static Clock getClock(byte id)
Gets the requested clock

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


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