SectionSpec (taack-ui 0.5.7-SNAPSHOT API)
Package: taack.ui.dsl.show

[Groovy] Class SectionSpec

    • taack.ui.dsl.show.SectionSpec


    • @groovy.transform.CompileStatic
      class SectionSpec
      extends java.lang.Object

      ShowSpec.section delegated class

      • Methods Summary

          Methods 
          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
      • 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()
      • Method Detail

        • void field(taack.ui.dsl.common.Style style, java.lang.String i18n, FieldInfo field)

          Add a field in the show graphical element

          Parameters:
          i18n - label
          field
          style - Portable style

        • void field(taack.ui.dsl.common.Style style, java.lang.String html)

          insert custom HTML in the show element

          Parameters:
          html
          style - Portable and static element style

        • void field(taack.ui.dsl.common.Style style, java.lang.String i18n, java.lang.String field)

          Add a field in the show graphical element

          Parameters:
          i18n - label
          field - value
          style - Portable and static element style

        • void field(java.lang.String html)

          Inline HTML without style

          Parameters:
          html

        • 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.

          Parameters:
          i18n - hover text
          icon - icon
          action - target action if icon is clicked
          id - id parameter
          isAjax - true if target action is an ajax one

        • void fieldLabeled(taack.ui.dsl.common.Style style, FieldInfo[] fieldInfos)

          Add a field in the show graphical element, label is automatically deduced.

          Parameters:
          style - Portable and static element style
          fieldInfos - target field

        • void fieldLabeled(taack.ui.dsl.common.Style style, GetMethodReturn methodReturn)

          Add a field in the show graphical element, label is automatically deduced.

          Parameters:
          style - Portable and static element style
          methodReturn - target a getter field

        • void fieldUnlabeled(taack.ui.dsl.common.Style style, FieldInfo[] fieldInfos)

          field content without labeling

          Parameters:
          style
          fieldInfos

        • void fieldUnlabeled(taack.ui.dsl.common.Style style, GetMethodReturn methodReturn)

          field content without labeling

          Parameters:
          style
          fieldInfos

        • void inlineHtml(java.lang.String html, java.lang.String additionalCSSClass)

          Inline HTML, adding CSS class to the embedding div

          Parameters:
          html
          additionalCSSClass

        • void showInputField(java.lang.String i18n, FieldInfo field)

          Editable field

          Parameters:
          i18n - label
          field - target field (require action and object to be set in UiShowSpecifier.ui