com.elegantj.util.timer
Class TimerEvent
java.lang.Object
java.util.EventObject
com.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. |
| 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 |
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
TimerEvent
public TimerEvent(java.lang.Object source,
int nEvent)
- constructor.
- Parameters:
source - Source timer by which the timer-event occurrednEvent - The id indicating which event has occurred
isStarted
public boolean isStarted()
isStopped
public boolean isStopped()
isTimerTick
public boolean isTimerTick()
getEvent
public int getEvent()
Submit a bug or feature
Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.