BlockLayoutSpec (taack-ui 0.6.3-SNAPSHOT API)
Package: taack.ui.dsl.block

[Groovy] Class BlockLayoutSpec

        • taack.ui.dsl.block.BlockLayoutSpec


        • @groovy.transform.CompileStatic
          class BlockLayoutSpec
          extends BlockLeafSpec

          UiBlockSpecifier.ui delegated class.

          This class allows to draw the layout of a page, or to update part of a page after an ajax call.

          Each block can contains many graphical elements, but it is better to have one graphical element (show, form, table, tableFilter ...) per block (modal, ajaxBlock ...)

          • Constructor Detail

            • BlockLayoutSpec()

          • Method Detail

            • static groovy.lang.Closure<BlockLayoutSpec> buildBlockLayoutSpec(@groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: BlockLayoutSpec) groovy.lang.Closure closure)

            • void col(Width width, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: BlockLayoutSpec) groovy.lang.Closure closure)

              invisible blocks that enable complex layout. Can be nested.

              Parameters:
              width
              closure

            • void row(@groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: BlockLayoutSpec) groovy.lang.Closure closure)

              invisible blocks that enable complex layout. Can be nested.

              Parameters:
              width
              closure

            • static void simpleLog(java.lang.String toPrint)

            • void tabs(@groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: BlockTabSpec) groovy.lang.Closure closure)