Jeospace API

org.jeospace.event
Class SimEvent

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

public class SimEvent
extends java.util.EventObject

The event object for distributing simulation manager event notification.

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

Field Summary
static int FRAME_READY
          Event id indicating that the simulation manager is ready for the next frame update.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SimEvent(java.lang.Object source, int id)
          Construct a SimEvent 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

FRAME_READY

public static final int FRAME_READY
Event id indicating that the simulation manager is ready for the next frame update.

See Also:
Constant Field Values
Constructor Detail

SimEvent

public SimEvent(java.lang.Object source,
                int id)
Construct a SimEvent 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