|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.grails.plugin.platform.navigation.NavigationScope org.grails.plugin.platform.navigation.NavigationItem
class NavigationItem extends NavigationScope
Immutable encapsulation of an item in the navigation structure Instances of this are shared globally and available to requests so this must be immutable and threadsafe
Field Summary | |
---|---|
private java.util.List |
actionAliases
|
private java.util.Map |
data
|
private boolean |
enabled
|
private groovy.lang.Closure |
enabledClosure
|
private java.util.Map |
linkArgs
|
private java.lang.Integer |
order
|
private java.lang.String |
titleDefault
|
private java.lang.String |
titleMessageCode
|
private boolean |
visible
|
private groovy.lang.Closure |
visibleClosure
|
Fields inherited from class NavigationScope | |
---|---|
children, name |
Constructor Summary | |
NavigationItem(java.util.Map args)
|
Method Summary | |
---|---|
java.util.List
|
getActionAliases()
|
java.util.Map
|
getData()
Get any application-supplied data that was declared for this item Used for info like icon-names, alt text and so on - custom rendering usage |
groovy.lang.Closure
|
getEnabledClosure()
|
boolean
|
getLeafNode()
|
java.lang.Integer
|
getOrder()
|
java.lang.String
|
getTitleDefault()
|
java.lang.String
|
getTitleMessageCode()
|
groovy.lang.Closure
|
getVisibleClosure()
|
boolean
|
inScope(java.lang.String scopeName)
|
boolean
|
inScope(NavigationScope scope)
|
protected java.lang.Object
|
invokeCallback(groovy.lang.Closure c, java.lang.Object context)
|
boolean
|
isEnabled(java.lang.Object context)
|
boolean
|
isVisible(java.lang.Object context)
|
void
|
setOrder(java.lang.Integer v)
|
Methods inherited from class NavigationScope | |
---|---|
add, finalizeItems, getChildren, getId, getName, getRootScope, lockChildren, remove |
Field Detail |
---|
private java.util.List actionAliases
private java.util.Map data
private boolean enabled
private groovy.lang.Closure enabledClosure
private java.util.Map linkArgs
private java.lang.Integer order
private java.lang.String titleDefault
private java.lang.String titleMessageCode
private boolean visible
private groovy.lang.Closure visibleClosure
Constructor Detail |
---|
NavigationItem(java.util.Map args)
Method Detail |
---|
java.util.List getActionAliases()
java.util.Map getData()
groovy.lang.Closure getEnabledClosure()
boolean getLeafNode()
java.lang.Integer getOrder()
java.lang.String getTitleDefault()
java.lang.String getTitleMessageCode()
groovy.lang.Closure getVisibleClosure()
boolean inScope(java.lang.String scopeName)
boolean inScope(NavigationScope scope)
protected java.lang.Object invokeCallback(groovy.lang.Closure c, java.lang.Object context)
boolean isEnabled(java.lang.Object context)
boolean isVisible(java.lang.Object context)
void setOrder(java.lang.Integer v)
Groovy Documentation