Class ElapsedTimeTask

java.lang.Object
whiteboard.time.ElapsedTimeTask
All Implemented Interfaces:
java.lang.Runnable

public class ElapsedTimeTask
extends java.lang.Object
implements java.lang.Runnable
  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) Config config
    Updates configuration during execution
    (package private) java.text.DateFormat dateFormat
    formats date object to specific format
    (package private) Controller guiController
    Used to issue update to controller
    (package private) java.util.Date today
    Holds the days date
  • Constructor Summary

    Constructors 
    Constructor Description
    ElapsedTimeTask​(Controller guiController, Config config)
    Initialize
  • Method Summary

    Modifier and Type Method Description
    void run()
    Update bits of application when timer elapses

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • today

      java.util.Date today
      Holds the days date
    • dateFormat

      java.text.DateFormat dateFormat
      formats date object to specific format
    • config

      Config config
      Updates configuration during execution
    • guiController

      Controller guiController
      Used to issue update to controller
  • Constructor Details

  • Method Details

    • run

      public void run()
      Update bits of application when timer elapses
      Specified by:
      run in interface java.lang.Runnable