Jeospace API

org.jeospace.event
Class NavigationEvent

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

public class NavigationEvent
extends java.util.EventObject

The event object for distributing navigation event notification.

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

Field Summary
static int COCKPIT_CHANGED
          The event id indicating that a new Cockpit has been configured
static int ORIENTATION_CHANGED
          The event id indicating that a new Cockpit has been configured
static int POSITION_CHANGED
          The event id indicating that a new Cockpit has been configured
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NavigationEvent(java.lang.Object source, int id, java.lang.Object eventObject)
          Construct a NavigationEvent object with the specified source object and type.
 
Method Summary
 java.lang.Object getEventObject()
          Return the event Object.
 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

COCKPIT_CHANGED

public static final int COCKPIT_CHANGED
The event id indicating that a new Cockpit has been configured

See Also:
Constant Field Values

POSITION_CHANGED

public static final int POSITION_CHANGED
The event id indicating that a new Cockpit has been configured

See Also:
Constant Field Values

ORIENTATION_CHANGED

public static final int ORIENTATION_CHANGED
The event id indicating that a new Cockpit has been configured

See Also:
Constant Field Values
Constructor Detail

NavigationEvent

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

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

getID

public int getID()
Return the event type.

Returns:
the event type

getEventObject

public java.lang.Object getEventObject()
Return the event Object.

Returns:
the event Object.

Jeospace API

Copyright © 2006 - jeospace.org