Package org.apache.groovy.swing.binding
Class ClosureTriggerBinding
- java.lang.Object
-
- org.apache.groovy.swing.binding.ClosureTriggerBinding
-
- All Implemented Interfaces:
SourceBinding
,TriggerBinding
public class ClosureTriggerBinding extends Object implements TriggerBinding, SourceBinding
-
-
Constructor Summary
Constructors Constructor Description ClosureTriggerBinding(Map<String,TriggerBinding> syntheticBindings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FullBinding
createBinding(SourceBinding source, TargetBinding target)
Closure
getClosure()
Object
getSourceValue()
void
setClosure(Closure closure)
-
-
-
Constructor Detail
-
ClosureTriggerBinding
public ClosureTriggerBinding(Map<String,TriggerBinding> syntheticBindings)
-
-
Method Detail
-
getClosure
public Closure getClosure()
-
setClosure
public void setClosure(Closure closure)
-
createBinding
public FullBinding createBinding(SourceBinding source, TargetBinding target)
- Specified by:
createBinding
in interfaceTriggerBinding
-
getSourceValue
public Object getSourceValue()
- Specified by:
getSourceValue
in interfaceSourceBinding
-
-