|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.cycling74.jitter.JitterObject
JitterObject provides a way for your mxj classes to instantiate
Jitter objects.
| Field Summary | |
protected long |
_p_obj
a pointer to the peer Jitter object. |
| Constructor Summary | |
JitterObject()
creates a JitterObject with no Jitter class peer. |
|
JitterObject(java.lang.String classname)
creates a JitterObject with no arguments |
|
JitterObject(java.lang.String classname,
com.cycling74.max.Atom[] args)
creates a JitterObject |
|
| Method Summary | |
protected long |
_new(java.lang.String s,
com.cycling74.max.Atom[] args)
|
com.cycling74.max.Atom[] |
bang()
sends a bang to the peer Jitter object |
com.cycling74.max.Atom[] |
call(java.lang.String messagename)
calls a method without arguments in the peer Jitter object (This does the same thing as the send method.) |
com.cycling74.max.Atom[] |
call(java.lang.String messagename,
com.cycling74.max.Atom[] args)
calls a method in the peer Jitter object (This does the same thing as the send method.) |
com.cycling74.max.Atom[] |
call(java.lang.String messagename,
float arg)
calls a method in the peer Jitter object (This does the same thing as the send method.) |
com.cycling74.max.Atom[] |
call(java.lang.String messagename,
float[] args)
calls a method in the peer Jitter object (This does the same thing as the send method.) |
com.cycling74.max.Atom[] |
call(java.lang.String messagename,
int arg)
calls a method in the peer Jitter object (This does the same thing as the send method.) |
com.cycling74.max.Atom[] |
call(java.lang.String messagename,
int[] args)
calls a method in the peer Jitter object (This does the same thing as the send method.) |
com.cycling74.max.Atom[] |
call(java.lang.String messagename,
java.lang.String arg)
calls a method in the peer Jitter object (This does the same thing as the send method.) |
com.cycling74.max.Atom[] |
call(java.lang.String messagename,
java.lang.String[] args)
calls a method in the peer Jitter object (This does the same thing as the send method.) |
protected void |
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
void |
freePeer()
frees the peer Jitter object. |
com.cycling74.max.Atom[] |
getAttr(java.lang.String attrname)
|
float |
getAttrFloat(java.lang.String attrname)
|
float[] |
getAttrFloatArray(java.lang.String attrname)
|
int |
getAttrInt(java.lang.String attrname)
|
int[] |
getAttrIntArray(java.lang.String attrname)
|
java.lang.String |
getAttrString(java.lang.String attrname)
|
java.lang.String[] |
getAttrStringArray(java.lang.String attrname)
|
java.lang.String |
getJitterClass()
|
boolean |
matrixcalc(java.lang.Object input,
java.lang.Object output)
execute the peer Jitter object's matrixcalc method |
com.cycling74.max.Atom[] |
send(float f)
sends a float/code> to the peer Jitter object |
com.cycling74.max.Atom[] |
send(int i)
sends an int to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename)
sends a message without arguments to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename,
com.cycling74.max.Atom[] args)
sends a message to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename,
float arg)
sends a message to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename,
float[] args)
sends a message to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename,
int arg)
sends a message to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename,
int[] args)
sends a message to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename,
java.lang.String arg)
sends a message to the peer Jitter object |
com.cycling74.max.Atom[] |
send(java.lang.String messagename,
java.lang.String[] args)
sends a message to the peer Jitter object |
boolean |
setAttr(java.lang.String attrname,
com.cycling74.max.Atom[] args)
sets an attribute |
boolean |
setAttr(java.lang.String attrname,
float arg)
sets an attribute |
boolean |
setAttr(java.lang.String attrname,
float[] args)
sets an attribute |
boolean |
setAttr(java.lang.String attrname,
int arg)
sets an attribute |
boolean |
setAttr(java.lang.String attrname,
int[] args)
sets an attribute |
boolean |
setAttr(java.lang.String attrname,
java.lang.String arg)
sets an attribute |
boolean |
setAttr(java.lang.String attrname,
java.lang.String[] args)
sets an attribute |
boolean |
understands(java.lang.String messagename)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected long _p_obj
| Constructor Detail |
public JitterObject(java.lang.String classname,
com.cycling74.max.Atom[] args)
JitterObjectclassname - the String that contains the Jitter class name to instantiateargs - the arguments for the Jitter class constructorpublic JitterObject(java.lang.String classname)
JitterObject with no argumentsclassname - the String that contains the Jitter class name to instantiatepublic JitterObject()
JitterObject with no Jitter class peer.
This constructor is useful when subclassing - you need to call
the superclass's constructor right away, but you may not know
all the parameters of the peer Jitter object you want to create.
After invoking this empty constructor one can later call the
_new method to create the peer object.| Method Detail |
public com.cycling74.max.Atom[] getAttr(java.lang.String attrname)
attrname - the attribute to queryAtom[] containing the value(s) of
the attribute specified by attrname.public int getAttrInt(java.lang.String attrname)
attrname - the attribute to queryint containing the value of
the attribute specified by attrname.public int[] getAttrIntArray(java.lang.String attrname)
attrname - the attribute to queryint[] containing the value(s) of
the attribute specified by attrname.public float getAttrFloat(java.lang.String attrname)
attrname - the attribute to queryfloat containing the value of
the attribute specified by attrname.public float[] getAttrFloatArray(java.lang.String attrname)
attrname - the attribute to queryfloat[] containing the value(s) of
the attribute specified by attrname.public java.lang.String getAttrString(java.lang.String attrname)
attrname - the attribute to queryString containing the value of
the attribute specified by attrname.public java.lang.String[] getAttrStringArray(java.lang.String attrname)
attrname - the attribute to queryString[] containing the value of
the attribute specified by attrname.
public boolean setAttr(java.lang.String attrname,
com.cycling74.max.Atom[] args)
attrname - which attribute to setargs - the value(s) to set
public boolean setAttr(java.lang.String attrname,
int arg)
attrname - which attribute to setarg - the value to set
public boolean setAttr(java.lang.String attrname,
int[] args)
attrname - which attribute to setargs - the value(s) to set
public boolean setAttr(java.lang.String attrname,
float arg)
attrname - which attribute to setarg - the value to set
public boolean setAttr(java.lang.String attrname,
float[] args)
attrname - which attribute to setargs - the value(s) to set
public boolean setAttr(java.lang.String attrname,
java.lang.String arg)
attrname - which attribute to setarg - the value to set
public boolean setAttr(java.lang.String attrname,
java.lang.String[] args)
attrname - which attribute to setargs - the value(s) to setpublic com.cycling74.max.Atom[] bang()
Atom[] containing the return value(s), if anypublic com.cycling74.max.Atom[] send(int i)
int to the peer Jitter objecti - the int to sendAtom[] containing the return value(s), if anypublic com.cycling74.max.Atom[] send(float f)
float/code> to the peer Jitter object
- Parameters:
f - the float to send- Returns:
- the
Atom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename)
messagename - the message to sendAtom[] containing the return value(s), if anypublic com.cycling74.max.Atom[] call(java.lang.String messagename)
messagename - the message to sendAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename,
com.cycling74.max.Atom[] args)
messagename - the message to sendargs - the Atom[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] call(java.lang.String messagename,
com.cycling74.max.Atom[] args)
messagename - the message to sendargs - the Atom[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename,
int arg)
messagename - the message to sendarg - the int argument to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] call(java.lang.String messagename,
int arg)
messagename - the message to sendarg - the int argument to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename,
int[] args)
messagename - the message to sendargs - the int[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] call(java.lang.String messagename,
int[] args)
messagename - the message to sendargs - the int[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename,
float arg)
messagename - the message to sendarg - the float argument to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] call(java.lang.String messagename,
float arg)
messagename - the message to sendarg - the float argument to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename,
float[] args)
messagename - the message to sendargs - the float[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] call(java.lang.String messagename,
float[] args)
messagename - the message to sendargs - the float[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename,
java.lang.String arg)
messagename - the message to sendarg - the String argument to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] call(java.lang.String messagename,
java.lang.String arg)
messagename - the message to sendarg - the String argument to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] send(java.lang.String messagename,
java.lang.String[] args)
messagename - the message to sendargs - the String[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public com.cycling74.max.Atom[] call(java.lang.String messagename,
java.lang.String[] args)
messagename - the message to sendargs - the String[] argument(s) to send with the messageAtom[] containing the return value(s), if any
public boolean matrixcalc(java.lang.Object input,
java.lang.Object output)
input - the input, either as a String representing the
name of a peer Jitter matrix or a JitterMatrix objectoutput - the output, either as a String representing the
name of a peer Jitter matrix or a JitterMatrix objectpublic boolean understands(java.lang.String messagename)
messagename - the message to testpublic java.lang.String getJitterClass()
public void freePeer()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable -
protected long _new(java.lang.String s,
com.cycling74.max.Atom[] args)
s - the name of the peer Jitter classargs - the instantiation arguments of the peer Jitter classlong representing the peer Jitter object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||