Jeospace API

org.jeospace.event
Class ChronEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.jeospace.event.ChronEvent
All Implemented Interfaces:
java.io.Serializable

public class ChronEvent
extends java.util.EventObject

The event object for distributing Chronometer event notification.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton
See Also:
Serialized Form

Field Summary
static int RATE_CHANGE
          The event id indicating that the Chronometer's rate has changed.
static int RESET
          The event id indicating that the Chronometer's time has been reset.
static int START
          The event id indicating that the Chronometer has started running.
static int STOP
          The event id indicating that the Chronometer has been stopped.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChronEvent(java.lang.Object source, int id)
          Construct a ChronEvent object with the specified source object and type.
 
Method Summary
 int getID()
          Return the event type.
 
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

RESET

public static final int RESET
The event id indicating that the Chronometer's time has been reset.

See Also:
Constant Field Values

START

public static final int START
The event id indicating that the Chronometer has started running.

See Also:
Constant Field Values

STOP

public static final int STOP
The event id indicating that the Chronometer has been stopped.

See Also:
Constant Field Values

RATE_CHANGE

public static final int RATE_CHANGE
The event id indicating that the Chronometer's rate has changed.

See Also:
Constant Field Values
Constructor Detail

ChronEvent

public ChronEvent(java.lang.Object source,
                  int id)
Construct a ChronEvent object with the specified source object and type.

Parameters:
source - the object where the event originated
id - the event type
Method Detail

getID

public int getID()
Return the event type.

Returns:
the event type

Jeospace API

Copyright © 2006 - jeospace.org