@groovy.transform.CompileStatic final class MenuSpec extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
static enum |
MenuSpec.MenuMode |
|
static enum |
MenuSpec.MenuPosition |
Type | Name and description |
---|---|
IUiMenuVisitor |
menuVisitor |
SubMenuSpec |
subMenuSpec |
TaackUiEnablerService |
taackUiEnablerService |
Constructor and description |
---|
MenuSpec
(IUiMenuVisitor menuVisitor) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
label(java.lang.String i18n, groovy.lang.Closure closure) Labeled menu entry, can contain a closure to describe sub-menus |
|
void |
menu(java.lang.String i18n, org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params) Menu entry with explicit captation |
|
void |
menu(org.codehaus.groovy.runtime.MethodClosure action, java.util.Map<java.lang.String, ? extends java.lang.Object> params) Menu entry with implicit captation |
|
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) Menu on the right part of the screen, displaying an icon |
|
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) Menu on the right part of the screen, displaying an icon |
|
void |
menuOptions(IEnumOptions options) Menu Entry using a select box. |
|
void |
menuSearch(org.codehaus.groovy.runtime.MethodClosure action, java.lang.String q) Display the search box |
|
void |
menuSelect(java.lang.String paramName, IEnumOptions selects, grails.web.servlet.mvc.GrailsParameterMap params) Menu Entry using a select box. |
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() |
Labeled menu entry, can contain a closure to describe sub-menus
i18n
- captationclosure
- sub-menu listingMenu entry with explicit captation
Menu entry with implicit captation
Menu on the right part of the screen, displaying an icon
Menu on the right part of the screen, displaying an icon
Menu Entry using a select box.
Display the search box
Menu Entry using a select box. [paramName: value] will be transmitted current action
Groovy Documentation