Last modified: 2013-2-27
Class JitterEvent
JitterEvent.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
No Constructor.
|
Field Attributes | Field Name and Description |
---|---|
mixed |
depends on event type
|
String |
Name of the event to be handled
|
String |
The name of the object to listen to.
|
Class Detail
<private>
JitterEvent
()
No Constructor. Object created by JitterListener. No documentation found until now...
possible events depending on type of listened JitterObject
possible events depending on type of listened JitterObject
- mouse
- mouseidle
- mouseidleout
- mousewheel
- matrix_received
- message_received
- connected_notification
- import
- collisions
- matrixoutput
- swap
- Example:
var window = new JitterObject("jit.window"); var listener = new JitterListener(window.getregisteredname(),callback); function callback(event){ switch(event.eventname){ case "mouseidle": case "mouse": post(event.eventname + ": successfully handled\n"); break; default: post(event.eventname + ": no handler defined\n"); postprops(event); } }
Field Detail
{mixed}
args
depends on event type
{String}
eventname
Name of the event to be handled
{String}
subjectname
The name of the object to listen to.