Package com.reportmill.graphics
Class RMInvocation
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.graphics.RMInvocation
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class represent a method call  and is used to set values on another object, either by calling a "setFoo()"
 method or by directly setting the value of a public instance variable.
 The action string is always of the form "setFoo:".  If the target object has a setFoo() method, that method will
 get called. If not, but it has a "foo" or "_foo" instance variable, that variable will get stuffed with the value.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an uninitialized invocation.RMInvocation(RMShapeAnim.RecordList aRecList, RMShapeAnim.Record aRecord) Creates a new invocation for the given record list and record.RMInvocation(Object target, String action, Object value) Creates a new invocation for the given object, method name and value.
- 
Method SummaryModifier and TypeMethodDescriptionblend(RMInvocation other, float fraction) Returns an invocation by blending this invocation with given invocation using the given fraction of this invocation.clone()Standard clone implementation.getArg()Returns the arg for this invocaiton.Returns the class of this invocation's arg.floatReturns the arg for this invocation as a float.Returns the function string used for interpolating args for this invocation.Returns the result of executing this invocation on its target.getTargetArg(Object anObj) Returns the result of executing this invocation on a given object.voidinvoke()Invoke method.voidInvoke method on given target.voidSets the action or method name for this invocation.voidSets the arg for this invocation.voidsetFunctionString(String aString) Sets the fuction string used for interpolating args for this invocation.toString()Returns a string representation of this invocation.Methods inherited from class com.reportmill.base.RMObjectcopy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
RMInvocationpublic RMInvocation()Creates an uninitialized invocation.
- 
RMInvocationCreates a new invocation for the given object, method name and value.
- 
RMInvocationCreates a new invocation for the given record list and record.
 
- 
- 
Method Details- 
setActionSets the action or method name for this invocation.
- 
getArgReturns the arg for this invocaiton.
- 
setArgSets the arg for this invocation.
- 
getArgFloatValuepublic float getArgFloatValue()Returns the arg for this invocation as a float.
- 
getTargetArgReturns the result of executing this invocation on its target.
- 
getTargetArgReturns the result of executing this invocation on a given object.
- 
getArgClassReturns the class of this invocation's arg.
- 
getFunctionStringReturns the function string used for interpolating args for this invocation.
- 
setFunctionStringSets the fuction string used for interpolating args for this invocation.
- 
invokepublic void invoke()Invoke method.
- 
invokeInvoke method on given target.
- 
blendReturns an invocation by blending this invocation with given invocation using the given fraction of this invocation.
- 
cloneStandard clone implementation.
- 
toStringReturns a string representation of this invocation.
 
-