Package org.apache.groovy.swing.binding
Class ClosureSourceBinding
java.lang.Object
org.apache.groovy.swing.binding.ClosureSourceBinding
- All Implemented Interfaces:
SourceBinding
public class ClosureSourceBinding extends java.lang.Object implements SourceBinding
- Since:
- Groovy 1.1
-
Constructor Summary
Constructors Constructor Description ClosureSourceBinding(Closure closure)ClosureSourceBinding(Closure closure, java.lang.Object[] arguments) -
Method Summary
Modifier and Type Method Description ClosuregetClosure()java.lang.ObjectgetSourceValue()voidsetClosure(Closure closure)voidsetClosureArgument(java.lang.Object argument)voidsetClosureArguments(java.lang.Object[] arguments)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ClosureSourceBinding
-
ClosureSourceBinding
-
-
Method Details
-
getClosure
-
setClosure
-
getSourceValue
public java.lang.Object getSourceValue()- Specified by:
getSourceValuein interfaceSourceBinding
-
setClosureArguments
public void setClosureArguments(java.lang.Object[] arguments) -
setClosureArgument
public void setClosureArgument(java.lang.Object argument)
-