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 Details

    • ClosureSourceBinding

      public ClosureSourceBinding​(Closure closure)
    • ClosureSourceBinding

      public ClosureSourceBinding​(Closure closure, java.lang.Object[] arguments)
  • Method Details

    • getClosure

      public Closure getClosure()
    • setClosure

      public void setClosure​(Closure closure)
    • getSourceValue

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

      public void setClosureArguments​(java.lang.Object[] arguments)
    • setClosureArgument

      public void setClosureArgument​(java.lang.Object argument)