@groovy.transform.CompileStatic class SectionSpec extends java.lang.Object
ShowSpec.section delegated class
Type | Name and description |
---|---|
IUiShowVisitor |
showVisitor |
TaackUiEnablerService |
taackUiEnablerService |
Constructor and description |
---|
SectionSpec
(IUiShowVisitor showVisitor) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
field(taack.ui.dsl.common.Style style, java.lang.String i18n, FieldInfo field) Add a field in the show graphical element |
|
void |
field(taack.ui.dsl.common.Style style, java.lang.String html) insert custom HTML in the show element |
|
void |
field(taack.ui.dsl.common.Style style, java.lang.String i18n, java.lang.String field) Add a field in the show graphical element |
|
void |
field(java.lang.String html) Inline HTML without style |
|
void |
fieldAction(java.lang.String i18n, taack.ui.dsl.common.ActionIcon icon, org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id) Action in a form of an icon, that is displayed at the end of the next field value. |
|
void |
fieldAction(java.lang.String i18n, taack.ui.dsl.common.ActionIcon icon, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ?> additionalParams) see fieldAction(java.lang.String, ActionIcon, org.codehaus.groovy.runtime.MethodClosure, java.lang.Long) |
|
void |
fieldLabeled(taack.ui.dsl.common.Style style, FieldInfo[] fieldInfos) Add a field in the show graphical element, label is automatically deduced. |
|
void |
fieldLabeled(taack.ui.dsl.common.Style style, GetMethodReturn methodReturn) Add a field in the show graphical element, label is automatically deduced. |
|
void |
fieldUnlabeled(taack.ui.dsl.common.Style style, FieldInfo[] fieldInfos) field content without labeling |
|
void |
fieldUnlabeled(taack.ui.dsl.common.Style style, GetMethodReturn methodReturn) field content without labeling |
|
void |
inlineHtml(java.lang.String html, java.lang.String additionalCSSClass) Inline HTML, adding CSS class to the embedding div |
|
void |
showInputField(java.lang.String i18n, FieldInfo field) Editable field |
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() |
Add a field in the show graphical element
i18n
- labelstyle
- Portable styleinsert custom HTML in the show element
style
- Portable and static element styleAdd a field in the show graphical element
i18n
- labelfield
- valuestyle
- Portable and static element styleInline HTML without style
Action in a form of an icon, that is displayed at the end of the next field value.
i18n
- hover texticon
- iconaction
- target action if icon is clickedid
- id parameterisAjax
- true if target action is an ajax onesee fieldAction(java.lang.String, ActionIcon, org.codehaus.groovy.runtime.MethodClosure, java.lang.Long)
i18n
- hover textaction
- target action if icon is clickedadditionalParams
- target action additional parametersAdd a field in the show graphical element, label is automatically deduced.
style
- Portable and static element stylefieldInfos
- target fieldAdd a field in the show graphical element, label is automatically deduced.
style
- Portable and static element stylemethodReturn
- target a getter fieldfield content without labeling
field content without labeling
Inline HTML, adding CSS class to the embedding div
Editable field
i18n
- labelfield
- target field (require action and object to be set in UiShowSpecifier.uiGroovy Documentation