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 Object implements SourceBinding
- Since:
- Groovy 1.1
-
Constructor Summary
Constructors Constructor Description ClosureSourceBinding(groovy.lang.Closure closure)ClosureSourceBinding(groovy.lang.Closure closure, Object[] arguments) -
Method Summary
Modifier and Type Method Description groovy.lang.ClosuregetClosure()ObjectgetSourceValue()voidsetClosure(groovy.lang.Closure closure)voidsetClosureArgument(Object argument)voidsetClosureArguments(Object[] arguments)
-
Constructor Details
-
ClosureSourceBinding
public ClosureSourceBinding(groovy.lang.Closure closure) -
ClosureSourceBinding
-
-
Method Details
-
getClosure
public groovy.lang.Closure getClosure() -
setClosure
public void setClosure(groovy.lang.Closure closure) -
getSourceValue
- Specified by:
getSourceValuein interfaceSourceBinding
-
setClosureArguments
-
setClosureArgument
-