All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tdg.event.TDGEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----tdg.event.TDGEvent

public class TDGEvent
extends EventObject
The root event class for all perspective-level events.

See Also:
TDGListener

Variable Index

 o TDG_3DPRESET_CHANGED
Notify Listeners that Preset has changed.
 o TDG_APPLY_COLOR
Apply color change to current selection, if any.
 o TDG_CALC_PERFORMED
Notify Listeners that CALC has been performed.
 o TDG_EDITOR_STATE_TOGGLE
Notify Listeners that Editing State has been toggled.
 o TDG_FIRST_EVENT_ID
The lowest event ID allowed in the Perspective JavaCHART world.
 o TDG_GRAPHTYPE_CHANGED
Notify Listeners that GraphType has changed.
 o TDG_KEY_PRESSED
Notify Listeners that Key Pressed.
 o TDG_KEY_RELEASED
Notify Listeners that Key Released.
 o TDG_KEY_TYPED
Notify Listeners that Key Typed.
 o TDG_LAST_EVENT_ID
The highest event ID allowed in the Perspective JavaCHART world.
 o TDG_MOUSE_CLICKED
Notify Listeners that Mouse Clicked.
 o TDG_MOUSE_DRAGGED
Notify Listeners that Mouse Dragged.
 o TDG_MOUSE_ENTERED
Notify Listeners that Mouse Entered.
 o TDG_MOUSE_EXITED
Notify Listeners that Mouse Exited.
 o TDG_MOUSE_MOVED
Notify Listeners that Mouse Moved.
 o TDG_MOUSE_PRESSED
Notify Listeners that Mouse Pressed.
 o TDG_MOUSE_RELEASED
Notify Listeners that Mouse Released.
 o TDG_SELECTION_CHANGED
Perspective selection changed.

Constructor Index

 o TDGEvent(Object, int, Object)
Constructs a TDGEvent object with the specified source Perspective and type.

Method Index

 o getDataObject()
Returns the dataObject associated with this event.
 o getID()
Returns the id associated with this event.
 o getSource()
Returns the Source where this event originated.

Variables

 o TDG_FIRST_EVENT_ID
 public static final int TDG_FIRST_EVENT_ID
The lowest event ID allowed in the Perspective JavaCHART world.

 o TDG_LAST_EVENT_ID
 public static final int TDG_LAST_EVENT_ID
The highest event ID allowed in the Perspective JavaCHART world.

 o TDG_SELECTION_CHANGED
 public static final int TDG_SELECTION_CHANGED
Perspective selection changed.

 o TDG_APPLY_COLOR
 public static final int TDG_APPLY_COLOR
Apply color change to current selection, if any.

 o TDG_3DPRESET_CHANGED
 public static final int TDG_3DPRESET_CHANGED
Notify Listeners that Preset has changed.

 o TDG_GRAPHTYPE_CHANGED
 public static final int TDG_GRAPHTYPE_CHANGED
Notify Listeners that GraphType has changed.

 o TDG_CALC_PERFORMED
 public static final int TDG_CALC_PERFORMED
Notify Listeners that CALC has been performed.

 o TDG_EDITOR_STATE_TOGGLE
 public static final int TDG_EDITOR_STATE_TOGGLE
Notify Listeners that Editing State has been toggled.

 o TDG_MOUSE_PRESSED
 public static final int TDG_MOUSE_PRESSED
Notify Listeners that Mouse Pressed.

 o TDG_MOUSE_DRAGGED
 public static final int TDG_MOUSE_DRAGGED
Notify Listeners that Mouse Dragged.

 o TDG_MOUSE_RELEASED
 public static final int TDG_MOUSE_RELEASED
Notify Listeners that Mouse Released.

 o TDG_MOUSE_MOVED
 public static final int TDG_MOUSE_MOVED
Notify Listeners that Mouse Moved.

 o TDG_KEY_PRESSED
 public static final int TDG_KEY_PRESSED
Notify Listeners that Key Pressed.

 o TDG_KEY_RELEASED
 public static final int TDG_KEY_RELEASED
Notify Listeners that Key Released.

 o TDG_KEY_TYPED
 public static final int TDG_KEY_TYPED
Notify Listeners that Key Typed.

 o TDG_MOUSE_EXITED
 public static final int TDG_MOUSE_EXITED
Notify Listeners that Mouse Exited.

 o TDG_MOUSE_ENTERED
 public static final int TDG_MOUSE_ENTERED
Notify Listeners that Mouse Entered.

 o TDG_MOUSE_CLICKED
 public static final int TDG_MOUSE_CLICKED
Notify Listeners that Mouse Clicked.

Constructors

 o TDGEvent
 public TDGEvent(Object source,
                 int id,
                 Object dataObject)
Constructs a TDGEvent object with the specified source Perspective and type.

Parameters:
source - the Perspective where the event originated
id - the event type

Methods

 o getSource
 public Object getSource()
Returns the Source where this event originated.

Overrides:
getSource in class EventObject
 o getID
 public int getID()
Returns the id associated with this event.

 o getDataObject
 public Object getDataObject()
Returns the dataObject associated with this event.


All Packages  Class Hierarchy  This Package  Previous  Next  Index