ElegantJ Data Entry Masks Java API Specification v1.1

com.elegantj.util.timer
Class TimerEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.elegantj.util.timer.TimerEvent
All Implemented Interfaces:
java.io.Serializable

public class TimerEvent
extends java.util.EventObject

This class represents the Timer event for the class Timer

See Also:
Serialized Form

Field Summary
static int STARTED
          Indicates that the timer has started
static int STOPPED
          Indicates that the timer has stopped
static int TIMERTICK
          Indicates that the timer has ticked
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TimerEvent(java.lang.Object source, int nEvent)
          constructor.
 
Method Summary
 int getEvent()
           
 boolean isStarted()
           
 boolean isStopped()
           
 boolean isTimerTick()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STARTED

public static final int STARTED
Indicates that the timer has started

See Also:
Constant Field Values

TIMERTICK

public static final int TIMERTICK
Indicates that the timer has ticked

See Also:
Constant Field Values

STOPPED

public static final int STOPPED
Indicates that the timer has stopped

See Also:
Constant Field Values
Constructor Detail

TimerEvent

public TimerEvent(java.lang.Object source,
                  int nEvent)
constructor.

Parameters:
source - Source timer by which the timer-event occurred
nEvent - The id indicating which event has occurred
Method Detail

isStarted

public boolean isStarted()

isStopped

public boolean isStopped()

isTimerTick

public boolean isTimerTick()

getEvent

public int getEvent()

ElegantJ Data Entry Masks Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.