Serialio.modem
Class Timer

java.lang.Object
  extended by java.lang.Thread
      extended by Serialio.modem.Timer
All Implemented Interfaces:
java.lang.Runnable

public class Timer
extends java.lang.Thread

Timer class.

  • Copyright (c) 1998-2003 Restock.com, All Rights Reserved.


    Nested Class Summary
     
    Nested classes/interfaces inherited from class java.lang.Thread
    java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
     
    Field Summary
     
    Fields inherited from class java.lang.Thread
    MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
     
    Constructor Summary
    Timer(long tickTime, TimerTick t)
               
     
    Method Summary
     void abort()
               
     long getInterval()
               
     long getTicks()
               
     void run()
               
     void setInterval(int i)
               
     void setRepeats(boolean s)
               
     
    Methods inherited from class java.lang.Thread
    activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    Timer

    public Timer(long tickTime,
                 TimerTick t)
    Method Detail

    run

    public void run()
    Specified by:
    run in interface java.lang.Runnable
    Overrides:
    run in class java.lang.Thread

    abort

    public void abort()

    setRepeats

    public void setRepeats(boolean s)

    setInterval

    public void setInterval(int i)

    getInterval

    public long getInterval()

    getTicks

    public long getTicks()