Classes


Last modified: 2013-2-27

Class JitterEvent

JitterEvent.

Class Summary
Constructor Attributes Constructor Name and Description
<private>  
No Constructor.
Field Summary
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
  • 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.

©2012-2013
Max MSP Documentation copied to JsDoc by Tim Schenk SEO Frelancer Berlin. Some examples are by him. Some descriptions of classes, interfaces, properties, methods or events are by him. Until now, most of it is a copy. Published with permission of Cycling '74. This document might be wrong or incomplete. All informations without any warranty. All trademarks are the property of their respective owners. Documentation generated by JsDoc Toolkit on 2013-2-27