public class RMInvocation extends RMObject
Modifier and Type | Class and Description |
---|---|
static interface |
RMInvocation.Blending |
Constructor and Description |
---|
RMInvocation()
Creates an uninitialized invocation.
|
RMInvocation(java.lang.Object target,
java.lang.String action,
java.lang.Object value)
Creates a new invocation for the given object, method name and value.
|
RMInvocation(RMShapeAnim.RecordList aRecList,
RMShapeAnim.Record aRecord)
Creates a new invocation for the given record list and record.
|
Modifier and Type | Method and Description |
---|---|
RMInvocation |
blend(RMInvocation other,
float fraction)
Returns an invocation by blending this invocation with given invocation using the given fraction of this invocation.
|
java.lang.Object |
clone()
Standard clone implementation.
|
java.lang.Object |
getArg()
Returns the arg for this invocaiton.
|
java.lang.Class |
getArgClass()
Returns the class of this invocation's arg.
|
float |
getArgFloatValue()
Returns the arg for this invocation as a float.
|
java.lang.String |
getFunctionString()
Returns the function string used for interpolating args for this invocation.
|
java.lang.Object |
getTargetArg()
Returns the result of executing this invocation on its target.
|
java.lang.Object |
getTargetArg(java.lang.Object anObj)
Returns the result of executing this invocation on a given object.
|
void |
invoke()
Invoke method.
|
void |
invoke(java.lang.Object target)
Invoke method on given target.
|
void |
setAction(java.lang.String action)
Sets the action or method name for this invocation.
|
void |
setArg(java.lang.Object anObj)
Sets the arg for this invocation.
|
void |
setFunctionString(java.lang.String aString)
Sets the fuction string used for interpolating args for this invocation.
|
java.lang.String |
toString()
Returns a string representation of this invocation.
|
copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public RMInvocation()
public RMInvocation(java.lang.Object target, java.lang.String action, java.lang.Object value)
public RMInvocation(RMShapeAnim.RecordList aRecList, RMShapeAnim.Record aRecord)
public void setAction(java.lang.String action)
public java.lang.Object getArg()
public void setArg(java.lang.Object anObj)
public float getArgFloatValue()
public java.lang.Object getTargetArg()
public java.lang.Object getTargetArg(java.lang.Object anObj)
public java.lang.Class getArgClass()
public java.lang.String getFunctionString()
public void setFunctionString(java.lang.String aString)
public void invoke()
public void invoke(java.lang.Object target)
public RMInvocation blend(RMInvocation other, float fraction)
public java.lang.Object clone()
public java.lang.String toString()
toString
in class java.lang.Object