Jeospace API

org.jeospace.event
Class CockpitPropertyEvent

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

public class CockpitPropertyEvent
extends java.util.EventObject

The event object for distributing notification of changes to the CockpitProperties.

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

Field Summary
static int AVATARSIZE
          Event id indicating that the avatar size has changed.
static int FIELDOFVIEW
          Event id indicating that the field of view has changed.
static int HEADLIGHT
          Event id indicating that the headlight state has changed.
static int VISIBILITYLIMIT
          Event id indicating that the visibility limit has changed.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CockpitPropertyEvent(java.lang.Object source, int id)
          Construct a CockpitPropertyEvent 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

HEADLIGHT

public static final int HEADLIGHT
Event id indicating that the headlight state has changed.

See Also:
Constant Field Values

FIELDOFVIEW

public static final int FIELDOFVIEW
Event id indicating that the field of view has changed.

See Also:
Constant Field Values

VISIBILITYLIMIT

public static final int VISIBILITYLIMIT
Event id indicating that the visibility limit has changed.

See Also:
Constant Field Values

AVATARSIZE

public static final int AVATARSIZE
Event id indicating that the avatar size has changed.

See Also:
Constant Field Values
Constructor Detail

CockpitPropertyEvent

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