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
-
TDG_3DPRESET_CHANGED
- Notify Listeners that Preset has changed.
-
TDG_APPLY_COLOR
- Apply color change to current selection, if any.
-
TDG_CALC_PERFORMED
- Notify Listeners that CALC has been performed.
-
TDG_EDITOR_STATE_TOGGLE
- Notify Listeners that Editing State has been toggled.
-
TDG_FIRST_EVENT_ID
- The lowest event ID allowed in the Perspective JavaCHART world.
-
TDG_GRAPHTYPE_CHANGED
- Notify Listeners that GraphType has changed.
-
TDG_KEY_PRESSED
- Notify Listeners that Key Pressed.
-
TDG_KEY_RELEASED
- Notify Listeners that Key Released.
-
TDG_KEY_TYPED
- Notify Listeners that Key Typed.
-
TDG_LAST_EVENT_ID
- The highest event ID allowed in the Perspective JavaCHART world.
-
TDG_MOUSE_CLICKED
- Notify Listeners that Mouse Clicked.
-
TDG_MOUSE_DRAGGED
- Notify Listeners that Mouse Dragged.
-
TDG_MOUSE_ENTERED
- Notify Listeners that Mouse Entered.
-
TDG_MOUSE_EXITED
- Notify Listeners that Mouse Exited.
-
TDG_MOUSE_MOVED
- Notify Listeners that Mouse Moved.
-
TDG_MOUSE_PRESSED
- Notify Listeners that Mouse Pressed.
-
TDG_MOUSE_RELEASED
- Notify Listeners that Mouse Released.
-
TDG_SELECTION_CHANGED
- Perspective selection changed.
-
TDGEvent(Object, int, Object)
- Constructs a TDGEvent object with the specified source
Perspective and type.
-
getDataObject()
- Returns the dataObject associated with this event.
-
getID()
- Returns the id associated with this event.
-
getSource()
- Returns the Source where this event originated.
TDG_FIRST_EVENT_ID
public static final int TDG_FIRST_EVENT_ID
- The lowest event ID allowed in the Perspective JavaCHART world.
TDG_LAST_EVENT_ID
public static final int TDG_LAST_EVENT_ID
- The highest event ID allowed in the Perspective JavaCHART world.
TDG_SELECTION_CHANGED
public static final int TDG_SELECTION_CHANGED
- Perspective selection changed.
TDG_APPLY_COLOR
public static final int TDG_APPLY_COLOR
- Apply color change to current selection, if any.
TDG_3DPRESET_CHANGED
public static final int TDG_3DPRESET_CHANGED
- Notify Listeners that Preset has changed.
TDG_GRAPHTYPE_CHANGED
public static final int TDG_GRAPHTYPE_CHANGED
- Notify Listeners that GraphType has changed.
TDG_CALC_PERFORMED
public static final int TDG_CALC_PERFORMED
- Notify Listeners that CALC has been performed.
TDG_EDITOR_STATE_TOGGLE
public static final int TDG_EDITOR_STATE_TOGGLE
- Notify Listeners that Editing State has been toggled.
TDG_MOUSE_PRESSED
public static final int TDG_MOUSE_PRESSED
- Notify Listeners that Mouse Pressed.
TDG_MOUSE_DRAGGED
public static final int TDG_MOUSE_DRAGGED
- Notify Listeners that Mouse Dragged.
TDG_MOUSE_RELEASED
public static final int TDG_MOUSE_RELEASED
- Notify Listeners that Mouse Released.
TDG_MOUSE_MOVED
public static final int TDG_MOUSE_MOVED
- Notify Listeners that Mouse Moved.
TDG_KEY_PRESSED
public static final int TDG_KEY_PRESSED
- Notify Listeners that Key Pressed.
TDG_KEY_RELEASED
public static final int TDG_KEY_RELEASED
- Notify Listeners that Key Released.
TDG_KEY_TYPED
public static final int TDG_KEY_TYPED
- Notify Listeners that Key Typed.
TDG_MOUSE_EXITED
public static final int TDG_MOUSE_EXITED
- Notify Listeners that Mouse Exited.
TDG_MOUSE_ENTERED
public static final int TDG_MOUSE_ENTERED
- Notify Listeners that Mouse Entered.
TDG_MOUSE_CLICKED
public static final int TDG_MOUSE_CLICKED
- Notify Listeners that Mouse Clicked.
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
getSource
public Object getSource()
- Returns the Source where this event originated.
- Overrides:
- getSource in class EventObject
getID
public int getID()
- Returns the id associated with this event.
getDataObject
public Object getDataObject()
- Returns the dataObject associated with this event.
All Packages Class Hierarchy This Package Previous Next Index