UiFormSpecifier (taack-ui 0.5.2-SNAPSHOT API)
Package: taack.ui.dsl

[Groovy] Class UiFormSpecifier

    • taack.ui.dsl.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_ONLY, value: FormSpec) groovy.lang.Closure closure)

          Allow to draw the form

          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