[Java] Class ClosureSourceBinding
- org.apache.groovy.swing.binding.ClosureSourceBinding
- All Implemented Interfaces and Traits:
- SourceBinding
public class ClosureSourceBinding
- Since:
- Groovy 1.1
Constructor Summary
Constructor and description |
---|
ClosureSourceBinding
(Closure closure) |
ClosureSourceBinding
(Closure closure, Object[] arguments) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Closure |
getClosure() | |
public Object |
getSourceValue() | |
public void |
setClosure(Closure closure) | |
public void |
setClosureArgument(Object argument) | |
public void |
setClosureArguments(Object[] arguments) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public ClosureSourceBinding(Closure closure)
public ClosureSourceBinding(Closure closure, Object[] arguments)
Method Detail
public Closure getClosure()
public Object getSourceValue()
public void setClosure(Closure closure)
public void setClosureArgument(Object argument)
public void setClosureArguments(Object[] arguments)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/swing/binding/ClosureSourceBinding.html