Package com.macrofocus.timer

# Class AbstractTimer

java.lang.Object
com.macrofocus.timer.AbstractTimer

All Implemented Interfaces:
  `Timer`, `Runnable`

Direct Known Subclasses:
  `CoalescingTimer`, `ImmediateTimer`

public abstract class AbstractTimer extends Object implements Timer

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.macrofocus.timer.Timer

  `Timer.TimerListener`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final List<Timer.TimerListener>`
  `actionListeners`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractTimer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addActionListener(Timer.TimerListener listener)`
  `protected void`
  `fireTimerTriggered()`
  `void`
  `removeActionListener(Timer.TimerListener listener)`

  ### Methods inherited from class java.lang.Object

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

  ### Methods inherited from interface java.lang.Runnable

  `run`

  ### Methods inherited from interface com.macrofocus.timer.Timer

  `isScheduled, restart, stop`

- ## Field Details

  - ### actionListeners

    protected final List<Timer.TimerListener> actionListeners

- ## Constructor Details

  - ### AbstractTimer

    public AbstractTimer()

- ## Method Details

  - ### addActionListener

    public void addActionListener(Timer.TimerListener listener)
    Specified by:
      `addActionListener` in interface `Timer`

  - ### removeActionListener

    public void removeActionListener(Timer.TimerListener listener)
    Specified by:
      `removeActionListener` in interface `Timer`

  - ### fireTimerTriggered

    protected void fireTimerTriggered()