SubMenuSpec (taack-ui 0.5.7-SNAPSHOT API)
Package: taack.ui.dsl.menu

[Groovy] Class SubMenuSpec

    • taack.ui.dsl.menu.SubMenuSpec


    • @groovy.transform.CompileStatic
      final class SubMenuSpec
      extends java.lang.Object
      • Methods Summary

          Methods 
          Type Params Return Type Name and description
          void section(java.lang.String i18n, MenuPosition position, groovy.lang.Closure closure)
          Section allowing to group sub-menu
          void subMenu(java.lang.String i18n, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)
          Level 2 menu entry
          void subMenu(org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)
          Level 2 menu entry
      • 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 section(java.lang.String i18n, MenuPosition position, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_ONLY, value: SubMenuSpec) groovy.lang.Closure closure)

          Section allowing to group sub-menu

          Parameters:
          i18n
          position
          closure

        • void subMenu(java.lang.String i18n, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)

          Level 2 menu entry

          Parameters:
          i18n
          action
          params

        • void subMenu(org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)

          Level 2 menu entry

          Parameters:
          action
          params