@groovy.transform.CompileStatic final class UiFormSpecifier extends java.lang.Object
Class allowing to manipulate the form to display in a block (see BlockSpec.form).
Type | Name and description |
---|---|
java.lang.Object |
aObject |
groovy.lang.Closure |
closure |
FieldInfo[] |
lockedFields |
Constructor and description |
---|
UiFormSpecifier
() |
Type Params | Return Type | Name and description |
---|---|---|
|
UiFormSpecifier |
ui(java.lang.Object aObject, FieldInfo[] lockedFields, groovy.lang.Closure closure) Allow to draw the form |
|
void |
visitForm(IUiFormVisitor formVisitor) Allow to visit the closure passed via ui(java.lang.Object, groovy.lang.Closure). |
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() |
Allow to draw the form
aObject
- object the form is appliedlockedFields
- read only fields. This parameter should also be passed to the save method (declared in the crew app)closure
- description of the formAllow to visit the closure passed via ui(java.lang.Object, groovy.lang.Closure).
formVisitor
- must implement IUiFormVisitorGroovy Documentation