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 Details

    • ClosureSourceBinding

      public ClosureSourceBinding(Closure closure)
    • ClosureSourceBinding

      public ClosureSourceBinding(Closure closure, Object[] arguments)
  • Method Details

    • getClosure

      public Closure getClosure()
    • setClosure

      public void setClosure(Closure closure)
    • getSourceValue

      public Object getSourceValue()
      Specified by:
      getSourceValue in interface SourceBinding
    • setClosureArguments

      public void setClosureArguments(Object[] arguments)
    • setClosureArgument

      public void setClosureArgument(Object argument)