Class Menu
java.lang.Object
com.almis.awe.model.entities.Element
com.almis.awe.model.entities.menu.Menu
- All Implemented Interfaces:
Copyable
,XMLNode
,Serializable
Menu Class
Used to parse the files in 'menu' folder with XStream
Generates a menu
- Author:
- Pablo GARCIA - 28/JUN/2010
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Get a copy of this elementvoid
Define all options parentDefine all options parentgetOptionByName
(String optionName) Search an initial option by namegetOptionByScreen
(String screen) Search an initial option by screen namegetOptionsByName
(String optionName) Search an initial option by nameMethods inherited from class com.almis.awe.model.entities.Element
addElement, generateHelpTemplate, generateHelpTemplate, generateTemplate, getChildrenByType, getElementKey, getElementList, getElementsById, getElementsByType, getElementsByType, getHelpTemplate, getReportStructure, getTemplate
-
Constructor Details
-
Menu
public Menu()
-
-
Method Details
-
copy
Description copied from interface:Copyable
Get a copy of this element- Returns:
- element copy
-
getOptionByScreen
Search an initial option by screen name- Parameters:
screen
- Screen name- Returns:
- Option found
-
getOptionByName
Search an initial option by name- Parameters:
optionName
- Option name- Returns:
- Option found
-
getOptionsByName
Search an initial option by name- Parameters:
optionName
- Option name- Returns:
- Option found
-
defineRelationship
public void defineRelationship()Define all options parent -
getMenuScreenOptions
Define all options parent
-