de.esprit.appsuite.task

## Class CancelTimer

- java.lang.Object
- - javax.swing.Timer
  - - de.esprit.common.util.TimeoutTimer
    - - de.esprit.appsuite.task.CancelTimer

- All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener

      public class CancelTimer
      extends TimeoutTimer

  This class is for testing purposes only. It cancels a given `CancellableTask` object after the specified time.
  Author:
    Rainer Buesch
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class javax.swing.Timer

      `listenerList`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CancelTimer(ApplicationContext ctx, TaskId taskId, int millis)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `actionPerformed(java.awt.event.ActionEvent e)`

    - ### Methods inherited from class de.esprit.common.util.TimeoutTimer

      `getTimeoutMillis, getTimeoutSeconds, setTimeout`

    - ### Methods inherited from class javax.swing.Timer

      `addActionListener, fireActionPerformed, getActionCommand, getActionListeners, getDelay, getInitialDelay, getListeners, getLogTimers, isCoalesce, isRepeats, isRunning, removeActionListener, restart, setActionCommand, setCoalesce, setDelay, setInitialDelay, setLogTimers, setRepeats, start, stop`

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

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

- - ### Constructor Detail

    - #### CancelTimer

          public CancelTimer(ApplicationContext ctx,
                     TaskId taskId,
                     int millis)

  - ### Method Detail

    - #### actionPerformed

          public void actionPerformed(java.awt.event.ActionEvent e)

Copyright © 2014 EsprIT-Systems. All Rights Reserved.