UiFormSpecifier (taack-ui 0.3.8 API)
Package: taack.ui.base

[Groovy] Class UiFormSpecifier

    • taack.ui.base.UiFormSpecifier


    • @groovy.transform.CompileStatic
      final class UiFormSpecifier
      extends java.lang.Object

      Class allowing to manipulate the form to display in a block (see BlockSpec.form).

      • Constructor Summary

      • Methods Summary

      • Inherited Methods Summary

          Inherited Methods 
          Methods inherited from class Name
          class java.lang.Object java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
      • Property Detail

        • java.lang.Object aObject

        • groovy.lang.Closure closure

      • Constructor Detail

        • UiFormSpecifier()

      • Method Detail

        • UiFormSpecifier ui(java.lang.Object aObject, FieldInfo[] lockedFields, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: FormSpec) groovy.lang.Closure closure)

          Allow to draw the form

          Parameters:
          aObject - object the form is applied
          lockedFields - read only fields. This parameter should also be passed to the save method (declared in the crew app)
          closure - description of the form
          Returns:
          itself