net.thestump.ghronos.mediate
Class Registrar

java.lang.Object
  extended bynet.thestump.ghronos.mediate.Registrar
Direct Known Subclasses:
Mediator

public class Registrar
extends java.lang.Object

Registration facility for Mediator colleagues.

Author:
Christopher C. Stump

Field Summary
protected  Clock bottomClock
           
protected  HardButton hardButton
           
protected  Ghronos mainWin
           
protected  Menubar menuBar
           
protected  StateLabel stateLabel
           
protected  TimingStyle timingStyle
           
protected  Clock topClock
           
 
Constructor Summary
Registrar()
           
 
Method Summary
 TimingStyle getTimingStyle()
          Gets the current timing style
 void registerClocks(Clock tClock, Clock bClock)
          Registers the application's clocks with the Registrar
 void registerHardButton(HardButton hardb)
          Registers the application's HardButton with the Registrar
 void registerMainWindow(Ghronos ghronos)
          Registers the application's MainWindow with the Registrar
 void registerMenubar(Menubar mbar)
          Registers the application's Menubar with the Registrar
 void registerState(StateLabel state)
          Registers the application's StateButton with the Registrar
 void registerTimingStyle(TimingStyle tStyle)
          Registers the application's current timing style with the Registrar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainWin

protected Ghronos mainWin

menuBar

protected Menubar menuBar

hardButton

protected HardButton hardButton

timingStyle

protected TimingStyle timingStyle

stateLabel

protected StateLabel stateLabel

topClock

protected Clock topClock

bottomClock

protected Clock bottomClock
Constructor Detail

Registrar

public Registrar()
Method Detail

registerHardButton

public void registerHardButton(HardButton hardb)
Registers the application's HardButton with the Registrar

Parameters:
hardb - The application's HardButton

registerState

public void registerState(StateLabel state)
Registers the application's StateButton with the Registrar

Parameters:
state - The application's StateLabel

registerMenubar

public void registerMenubar(Menubar mbar)
Registers the application's Menubar with the Registrar

Parameters:
mbar - The application's Menubar

registerMainWindow

public void registerMainWindow(Ghronos ghronos)
Registers the application's MainWindow with the Registrar

Parameters:
ghronos - The application's MainWindow

getTimingStyle

public TimingStyle getTimingStyle()
Gets the current timing style

Returns:
The timing style currently in use

registerClocks

public void registerClocks(Clock tClock,
                           Clock bClock)
Registers the application's clocks with the Registrar

Parameters:
tClock - The application's top Clock
bClock - The application's bottom Clock

registerTimingStyle

public void registerTimingStyle(TimingStyle tStyle)
Registers the application's current timing style with the Registrar

Parameters:
tStyle - The application's current timing style


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