|
GLG Toolkit, JavaScript Library
Version 4.6
|
User interface event data. More...
User interface event data.
This object describes a user interface event received by custom interaction handlers. It is received as the call_event parameter of a handler's EntryPoint method and contains data used by the handler.
Public Attributes | |
| Object | data1 |
| For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param1 parameter of SendMessageToObject. More... | |
| Object | data2 |
| For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param2 parameter of SendMessageToObject. More... | |
| Object | data3 |
| For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param3 parameter of SendMessageToObject. More... | |
| Object | data4 |
| For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param4 parameter of SendMessageToObject. More... | |
| GlgObject | event_viewport |
| For type=NATIVE_EVENT, the event's viewport. More... | |
| GlgObject | event_vl |
| For type=NATIVE_EVENT, the event's light viewport, if any, or the viewport otherwise. More... | |
| boolean | flag |
| Provides additional details of the HI_SETUP_EVENT and DI_SETUP_EVENT events. More... | |
| GlgObject | message |
| For type=MESSAGE_EVENT, the message object. More... | |
| String | message_name |
| For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contains value of the message parameter of SendMessageToObject. More... | |
| GlgObject | object |
| The handler's viewport. More... | |
| Object | rval |
| For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, the handler has to set this output parameter to the value that will be passed to the invoking SendMessageToObject to be used as its return value. More... | |
| byte | type |
| Call event type, one of the GlgCallEventType constants. More... | |
| boolean | used |
| For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, the handler must set this flag to a non-zero value if it handles the message, otherwise an error message is generated and false is returned by the invoking SendMessageToObject. More... | |
| Object data1 |
For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param1 parameter of SendMessageToObject.
| Object data2 |
For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param2 parameter of SendMessageToObject.
| Object data3 |
For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param3 parameter of SendMessageToObject.
| Object data4 |
For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contain the value of the param4 parameter of SendMessageToObject.
| GlgObject event_viewport |
For type=NATIVE_EVENT, the event's viewport.
| GlgObject event_vl |
For type=NATIVE_EVENT, the event's light viewport, if any, or the viewport otherwise.
| boolean flag |
Provides additional details of the HI_SETUP_EVENT and DI_SETUP_EVENT events.
| GlgObject message |
For type=MESSAGE_EVENT, the message object.
This message object may be sent by the children input objects inside the handler's viewport. It has the same content as the message object used by the InputCallback.
| String message_name |
For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, contains value of the message parameter of SendMessageToObject.
| Object rval |
For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, the handler has to set this output parameter to the value that will be passed to the invoking SendMessageToObject to be used as its return value.
| byte type |
Call event type, one of the GlgCallEventType constants.
| boolean used |
For message actions (type=MESSAGE_ACTION) triggered by SendMessageToObject, the handler must set this flag to a non-zero value if it handles the message, otherwise an error message is generated and false is returned by the invoking SendMessageToObject.