GLG Toolkit, JavaScript Library
Version 4.2
|
The GlgTraceData class is used to pass information to the TraceListener.
Public Attributes | |
int | button |
Object | event |
GlgEventType | event_type |
GlgObject | light_viewport |
double | mouse_root_x |
double | mouse_root_y |
double | mouse_x |
double | mouse_y |
boolean | trace2 |
GlgObject | viewport |
int button |
Mouse button for the mouse events.
Object event |
JavaScript event that triggered Trace callback.
GlgEventType event_type |
Type of the event.
GlgObject light_viewport |
Event's light viewport.
double mouse_root_x |
X coordinate of the mouse (or touch) in pixels relative to the page.
double mouse_root_y |
Y coordinate of the mouse (or touch) in pixels relative to the page.
double mouse_x |
X coordinate of the mouse (or touch) in pixels relative to the viewport.
double mouse_y |
Y coordinate of the mouse (or touch) in pixels relative to the viewport.
boolean trace2 |
true for the Trace2 callback, false for the Trace callback.
Trace callback is invoked before processing GLG Input events, and Trace2 is invoked after event processing;
GlgObject viewport |
Event's viewport.