com.cycling74.jitter
Class JitterEvent
java.lang.Object
|
+--com.cycling74.jitter.JitterEvent
- public class JitterEvent
- extends java.lang.Object
JitterEvent
is a unit of communication from named instances of
JitterObject (e.g. jit.window, jit.pwindow, jit.matrix) to any attached
JitterListener objects
- Author:
- Joshua Kit Clayton
Constructor Summary |
JitterEvent()
creates a JitterEvent |
JitterEvent(java.lang.String subject,
java.lang.String event,
com.cycling74.max.Atom[] args)
creates a JitterEvent with a named subject, event and args |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JitterEvent
public JitterEvent()
- creates a
JitterEvent
JitterEvent
public JitterEvent(java.lang.String subject,
java.lang.String event,
com.cycling74.max.Atom[] args)
- creates a
JitterEvent
with a named subject, event and args
- Parameters:
subject
- the name of the subject who generated the eventevent
- the name of the eventargs
- arguments of the event
getSubjectName
public java.lang.String getSubjectName()
- Returns:
- the event subject
getEventName
public java.lang.String getEventName()
- Returns:
- the event name
getArgs
public com.cycling74.max.Atom[] getArgs()
- Returns:
- the event arguments
getArgsIntArray
public int[] getArgsIntArray()
- Returns:
- the arguments as an array of integers
getArgsFloatArray
public float[] getArgsFloatArray()
- Returns:
- the arguments as an array of floats
getArgsStringArray
public java.lang.String[] getArgsStringArray()
- Returns:
- the arguments as an array of Strings