Jeospace API

org.jeospace.event
Class AtlasEvent

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

public class AtlasEvent
extends java.util.EventObject

The event object for distributing Atlas change notification.

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

Field Summary
static int ADD_COMPONENT_MASK
          Sub mask indicating an add component operation.
static int COMPONENT_ADD
          The event id indicating that a system component has been added.
static int COMPONENT_EVENT_TYPE
          Sub mask indicating a system component event.
static int COMPONENT_REMOVE
          The event id indicating that a system component has been removed.
static int LOAD
          The event id indicating that the Atlas has been loaded.
static int LOAD_STATUS_CHANGE_MASK
          Sub mask indicating a load status change operation.
static int PLATFORM_COMPONENT_ADD
          The event id indicating that a platform component has been added.
static int PLATFORM_COMPONENT_EVENT_TYPE
          Sub mask indicating a platform component event.
static int PLATFORM_COMPONENT_REMOVE
          The event id indicating that a platform component has been removed.
static int PLATFORM_STRUCTURE_EVENT_TYPE
          Sub mask indicating a platform structure event.
static int REMOVE_COMPONENT_MASK
          Sub mask indicating a remove component operation.
static int SATELLITE_ADD
          The event id indicating that a Satellite has been added.
static int SATELLITE_REMOVE
          The event id indicating that a Satellite has been removed.
static int SYSTEM_STRUCTURE_EVENT_TYPE
          Sub mask indicating a system structure event.
static int UNLOAD
          The event id indicating that the Atlas has been unloaded.
static int VIEWPOINT_ADD
          The event id indicating that a viewpoint has been added.
static int VIEWPOINT_EVENT_TYPE
          Sub mask indicating a viewpoint component event.
static int VIEWPOINT_REMOVE
          The event id indicating that a viewpoint has been removed.
static int WORLD_ADD
          The event id indicating that a World has been added.
static int WORLD_REMOVE
          The event id indicating that a World has been removed.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AtlasEvent(java.lang.Object source, int id, org.w3c.dom.Element argument)
          Construct an AtlasEvent.
 
Method Summary
 org.w3c.dom.Element getArgument()
          Return the component of the Atlas that has changed
 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

ADD_COMPONENT_MASK

public static final int ADD_COMPONENT_MASK
Sub mask indicating an add component operation.

See Also:
Constant Field Values

REMOVE_COMPONENT_MASK

public static final int REMOVE_COMPONENT_MASK
Sub mask indicating a remove component operation.

See Also:
Constant Field Values

LOAD_STATUS_CHANGE_MASK

public static final int LOAD_STATUS_CHANGE_MASK
Sub mask indicating a load status change operation.

See Also:
Constant Field Values

SYSTEM_STRUCTURE_EVENT_TYPE

public static final int SYSTEM_STRUCTURE_EVENT_TYPE
Sub mask indicating a system structure event.

See Also:
Constant Field Values

PLATFORM_STRUCTURE_EVENT_TYPE

public static final int PLATFORM_STRUCTURE_EVENT_TYPE
Sub mask indicating a platform structure event.

See Also:
Constant Field Values

WORLD_ADD

public static final int WORLD_ADD
The event id indicating that a World has been added.

See Also:
Constant Field Values

WORLD_REMOVE

public static final int WORLD_REMOVE
The event id indicating that a World has been removed.

See Also:
Constant Field Values

SATELLITE_ADD

public static final int SATELLITE_ADD
The event id indicating that a Satellite has been added.

See Also:
Constant Field Values

SATELLITE_REMOVE

public static final int SATELLITE_REMOVE
The event id indicating that a Satellite has been removed.

See Also:
Constant Field Values

VIEWPOINT_EVENT_TYPE

public static final int VIEWPOINT_EVENT_TYPE
Sub mask indicating a viewpoint component event.

See Also:
Constant Field Values

VIEWPOINT_ADD

public static final int VIEWPOINT_ADD
The event id indicating that a viewpoint has been added.

See Also:
Constant Field Values

VIEWPOINT_REMOVE

public static final int VIEWPOINT_REMOVE
The event id indicating that a viewpoint has been removed.

See Also:
Constant Field Values

COMPONENT_EVENT_TYPE

public static final int COMPONENT_EVENT_TYPE
Sub mask indicating a system component event.

See Also:
Constant Field Values

PLATFORM_COMPONENT_EVENT_TYPE

public static final int PLATFORM_COMPONENT_EVENT_TYPE
Sub mask indicating a platform component event.

See Also:
Constant Field Values

COMPONENT_ADD

public static final int COMPONENT_ADD
The event id indicating that a system component has been added.

See Also:
Constant Field Values

COMPONENT_REMOVE

public static final int COMPONENT_REMOVE
The event id indicating that a system component has been removed.

See Also:
Constant Field Values

PLATFORM_COMPONENT_ADD

public static final int PLATFORM_COMPONENT_ADD
The event id indicating that a platform component has been added.

See Also:
Constant Field Values

PLATFORM_COMPONENT_REMOVE

public static final int PLATFORM_COMPONENT_REMOVE
The event id indicating that a platform component has been removed.

See Also:
Constant Field Values

LOAD

public static final int LOAD
The event id indicating that the Atlas has been loaded.

See Also:
Constant Field Values

UNLOAD

public static final int UNLOAD
The event id indicating that the Atlas has been unloaded.

See Also:
Constant Field Values
Constructor Detail

AtlasEvent

public AtlasEvent(java.lang.Object source,
                  int id,
                  org.w3c.dom.Element argument)
Construct an AtlasEvent.

Parameters:
source - The Atlas that originated the event
id - The event type
argument - The component of the Atlas that has changed
Method Detail

getID

public int getID()
Return the event type.

Returns:
the event type

getArgument

public org.w3c.dom.Element getArgument()
Return the component of the Atlas that has changed

Returns:
the component

Jeospace API

Copyright © 2006 - jeospace.org