Jeospace API

org.jeospace.event
Class ProfileEvent

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

public class ProfileEvent
extends java.util.EventObject

The event object for distributing Profile change notification.

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

Field Summary
static int ATLAS_CLOSE
          The event id indicating that an Atlas has been closed.
static int ATLAS_OPEN
          The event id indicating that an Atlas has been opened.
static int LOCALE
          The event id indicating that the Locale has changed.
static int RENAME
          The event id indicating this Profile has been renamed.
static int TIMEZONE
          The event id indicating that the Timezone has changed.
static int VIEWPOINT_ACTIVE
          The event id indicating that the active viewpoint has changed.
static int VIEWPOINT_HOME
          The event id indicating that the home viewpoint has changed.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProfileEvent(java.lang.Object source, int id, java.lang.Object argument)
          Constructor
 
Method Summary
 java.lang.Object getArgument()
          Return the component of the Profile 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

RENAME

public static final int RENAME
The event id indicating this Profile has been renamed.

See Also:
Constant Field Values

ATLAS_OPEN

public static final int ATLAS_OPEN
The event id indicating that an Atlas has been opened.

See Also:
Constant Field Values

ATLAS_CLOSE

public static final int ATLAS_CLOSE
The event id indicating that an Atlas has been closed.

See Also:
Constant Field Values

VIEWPOINT_HOME

public static final int VIEWPOINT_HOME
The event id indicating that the home viewpoint has changed.

See Also:
Constant Field Values

VIEWPOINT_ACTIVE

public static final int VIEWPOINT_ACTIVE
The event id indicating that the active viewpoint has changed.

See Also:
Constant Field Values

LOCALE

public static final int LOCALE
The event id indicating that the Locale has changed.

See Also:
Constant Field Values

TIMEZONE

public static final int TIMEZONE
The event id indicating that the Timezone has changed.

See Also:
Constant Field Values
Constructor Detail

ProfileEvent

public ProfileEvent(java.lang.Object source,
                    int id,
                    java.lang.Object argument)
Constructor

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

getID

public int getID()
Return the event type.

Returns:
the event type

getArgument

public java.lang.Object getArgument()
Return the component of the Profile that has changed

Returns:
the component

Jeospace API

Copyright © 2006 - jeospace.org