public interface MenuDefinition extends MenuDefinitionElement
Modifier and Type | Field and Description |
---|---|
static String |
ANY_PROFILE_LOCATOR
ANY_PROFILE_LOCATOR - wildcard value for profile locator names
|
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
getDepth - get depth of inclusion for folder menu options
|
List<MenuDefinitionElement> |
getMenuElements()
getMenuElements - get ordered list of menu options,
nested menus, separators, included
menu, and excluded menu elements
|
GenericMetadata |
getMetadata()
getMetadata - get generic metadata instance for menu
|
String |
getName()
getName - get menu name
|
String |
getOptions()
getOptions - get comma separated menu options if not specified as elements
|
String |
getOrder()
getOrder - get comma separated regexp ordering patterns for options
|
String |
getProfile()
getProfile - get profile locator used to filter specified options
|
String |
getShortTitle()
getShortTitle - get default short title for menu
|
String |
getShortTitle(Locale locale)
getShortTitle - get locale specific short title for menu from metadata
|
String |
getSkin()
getSkin - get skin name for menu
|
String |
getTitle()
getTitle - get default title for menu
|
String |
getTitle(Locale locale)
getTitle - get locale specific title for menu from metadata
|
boolean |
isPaths()
isPaths - get generate ordered path options for specified options
|
boolean |
isRegexp()
isRegexp - get regexp flag for interpreting specified options
|
void |
setDepth(int depth)
setDepth - set depth of inclusion for folder menu options
|
void |
setMenuElements(List<MenuDefinitionElement> elements)
setMenuElements - set ordered list of menu options
|
void |
setName(String name)
setName - set menu name
|
void |
setOptions(String options)
setOptions - set comma separated menu options if not specified as elements
|
void |
setOrder(String order)
setOrder - set comma separated regexp ordering patterns for options
|
void |
setPaths(boolean paths)
setPaths - set generate ordered path options for specified options
|
void |
setProfile(String locatorName)
setProfile - set profile locator used to filter specified options
|
void |
setRegexp(boolean regexp)
setRegexp - set regexp flag for interpreting specified options
|
void |
setShortTitle(String title)
setShortTitle - set default short title for menu
|
void |
setSkin(String name)
setSkin - set skin name for menu
|
void |
setTitle(String title)
setTitle - set default title for menu
|
static final String ANY_PROFILE_LOCATOR
String getName()
void setName(String name)
name
- menu nameString getOptions()
void setOptions(String options)
options
- paths specificationint getDepth()
void setDepth(int depth)
depth
- inclusion depthboolean isPaths()
void setPaths(boolean paths)
paths
- paths options flagboolean isRegexp()
void setRegexp(boolean regexp)
regexp
- regexp flagString getProfile()
void setProfile(String locatorName)
locatorName
- profile locator nameString getOrder()
void setOrder(String order)
order
- ordering patterns listString getSkin()
void setSkin(String name)
name
- skin nameString getTitle()
void setTitle(String title)
title
- title textString getShortTitle()
void setShortTitle(String title)
title
- short title textString getTitle(Locale locale)
locale
- preferred localeString getShortTitle(Locale locale)
locale
- preferred localeGenericMetadata getMetadata()
List<MenuDefinitionElement> getMenuElements()
void setMenuElements(List<MenuDefinitionElement> elements)
elements
- element listCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.