net.codescore.controllers
Class ScoreBoardController

java.lang.Object
  extended by net.codescore.controllers.UIController
      extended by net.codescore.controllers.ScoreBoardController
All Implemented Interfaces:
Runnable, Controller, SubUpdateListener

public class ScoreBoardController
extends UIController
implements SubUpdateListener


Field Summary
private  DynamicScoreBoard sb
           
 
Fields inherited from class net.codescore.controllers.UIController
log, SLEEP_TIME
 
Constructor Summary
ScoreBoardController(DynamicScoreBoard board)
           
 
Method Summary
 void onSubAdd(TeamSubmission s)
          Callback for a new submission
 void onSubUpdate(TeamSubmission s)
          Callback for an updated submission
 void processUpdates()
          Called by the UI controller thread when there are updates pending
 
Methods inherited from class net.codescore.controllers.UIController
run, setPendingUpdates, stopRunning, toString, updateDesktop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sb

private final DynamicScoreBoard sb
Constructor Detail

ScoreBoardController

public ScoreBoardController(DynamicScoreBoard board)
Method Detail

processUpdates

public void processUpdates()
Description copied from interface: Controller
Called by the UI controller thread when there are updates pending

Specified by:
processUpdates in interface Controller
Specified by:
processUpdates in class UIController

onSubAdd

public void onSubAdd(TeamSubmission s)
Description copied from interface: SubUpdateListener
Callback for a new submission

Specified by:
onSubAdd in interface SubUpdateListener
Parameters:
s - The new submission

onSubUpdate

public void onSubUpdate(TeamSubmission s)
Description copied from interface: SubUpdateListener
Callback for an updated submission

Specified by:
onSubUpdate in interface SubUpdateListener
Parameters:
s - The updated submission


Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.