public class RMInvocation
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static interface |
RMInvocation.Blend
Implemented by any class that can interpolate themselves for animation purposes.
|
Constructor and Description |
---|
RMInvocation()
Creates an uninitialized invocation.
|
RMInvocation(java.lang.Object aTarget,
java.lang.String anAction,
java.lang.Object aValue)
Creates a new invocation for the given object, method name and value.
|
Modifier and Type | Method and Description |
---|---|
RMInvocation |
blend(RMInvocation other,
double aFraction,
RMInterpolator anInterpolator)
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.String |
getAction()
Returns the action for this invocation.
|
java.lang.Object |
getArg()
Returns the arg for this invocation.
|
java.lang.Class |
getArgClass()
Returns the class of this invocation's arg.
|
java.lang.Object |
getTarget()
Returns the target for this invocation.
|
void |
invoke()
Invoke method.
|
void |
setArg(java.lang.Object anObj)
Sets the arg for this invocation.
|
java.lang.String |
toString()
Returns a string representation of this invocation.
|
public RMInvocation()
public RMInvocation(java.lang.Object aTarget, java.lang.String anAction, java.lang.Object aValue)
public java.lang.Object getTarget()
public java.lang.String getAction()
public java.lang.Object getArg()
public void setArg(java.lang.Object anObj)
public java.lang.Class getArgClass()
public void invoke()
public RMInvocation blend(RMInvocation other, double aFraction, RMInterpolator anInterpolator)
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object