Class Controller

java.lang.Object
whiteboard.graphics.Controller

public class Controller
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) Config config
    Application configuration from Java .properties files
    (package private) java.util.Vector<LabelConfig> labelConfig  
    (package private) Model model
    Data displayed by view
    (package private) TimerTask timerTask
    timer task that updates the configuration
    (package private) View view
    GUI user sees
  • Constructor Summary

    Constructors 
    Constructor Description
    Controller​(View view, Model model)  
  • Method Summary

    Modifier and Type Method Description
    void requestGUIDateUpdate​(java.util.Date date)
    Have GUI update
    void requestGUIUpdateTimers()  
    (package private) void updateDates​(java.util.Date date)
    Gets vector of time elapsed from Configuration date to passed date

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait