MenuSpec (taack-ui 0.5.2-SNAPSHOT API)
Package: taack.ui.dsl.menu

[Groovy] Class MenuSpec

    • taack.ui.dsl.menu.MenuSpec


    • @groovy.transform.CompileStatic
      final class MenuSpec
      extends java.lang.Object
      • Constructor Summary

          Constructors 
          Constructor and description
          MenuSpec (java.lang.String ajaxBlockd, IUiMenuVisitor menuVisitor)
      • Methods Summary

          Methods 
          Type Params Return Type Name and description
          void label(java.lang.String i18n, groovy.lang.Closure closure)
          void menu(java.lang.String i18n, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)
          void menu(org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)
          void menu(java.lang.String i18n, org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id)
          void menuIcon(taack.ui.dsl.common.ActionIcon icon, org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id)
          void menuIcon(taack.ui.dsl.common.ActionIcon icon, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)
          void menuOptions(IEnumOptions options)
          void menuSearch(org.codehaus.groovy.runtime.MethodClosure action, java.lang.String q)
          void menuSelect(java.lang.String paramName, IEnumOptions selects, grails.web.servlet.mvc.GrailsParameterMap params)
      • 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()
      • Constructor Detail

      • Method Detail

        • void label(java.lang.String i18n, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_ONLY, value: SubMenuSpec) groovy.lang.Closure closure)

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

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

        • void menu(java.lang.String i18n, org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id)

        • void menuIcon(taack.ui.dsl.common.ActionIcon icon, org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id)

        • void menuIcon(taack.ui.dsl.common.ActionIcon icon, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params)

        • void menuSearch(org.codehaus.groovy.runtime.MethodClosure action, java.lang.String q)

        • void menuSelect(java.lang.String paramName, IEnumOptions selects, grails.web.servlet.mvc.GrailsParameterMap params)