Class MetaController
java.lang.Object
org.openxava.util.meta.MetaElement
org.openxava.controller.meta.MetaController
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaAction(MetaAction action) voidaddMetaControllerElement(MetaControllerElement controllerElement) voidaddMetaSubcontroller(MetaSubcontroller subcontroller) voidbooleancontainsMetaAction(String actionName) The MetaActions of this controller and all its parents.The not hidden MetaActions of this controller and all its parents.The not hidden MetaActions of this controller and all its parents and subcontrollers recursively.Only for spanish/swing versiongetIcon()getId()Unique id of element, normally used to search the label in the resources files.getImage()getMetaAction(String name) Actions from father and subcontrollers are included.Actions from father and subcontrollers are included.Actions from father and subcontrollers are included.Actions from father and subcontrollers are included.booleanvoidsetClassName(String className) Only for spanish/swing versionvoidvoidMethods inherited from class MetaElement
getDescription, getDescription, getDescription, getDescription, getLabel, getLabel, getLabel, getLabel, getLocale, getName, getPlaceholder, getPlaceholder, getPlaceholder, has18nLabel, hasName, setDescription, setLabel, setName, setPlaceholder
-
Constructor Details
-
MetaController
public MetaController()
-
-
Method Details
-
addMetaControllerElement
-
getMetaControllerElements
-
getAllMetaControllerElements
-
getClassName
Only for spanish/swing version -
setClassName
Only for spanish/swing version -
addMetaSubcontroller
- Since:
- 4.8
-
addMetaAction
-
addParent
-
getMetaAction
- Throws:
ElementNotFoundException
-
getMetaActions
- Returns:
- Not null, of type MetaAction and read only.
-
getMetaSubcontrollers
- Since:
- 4.8
-
containsMetaAction
-
getAllMetaActions
The MetaActions of this controller and all its parents.- Throws:
XavaException
-
getAllNotHiddenMetaActions
The not hidden MetaActions of this controller and all its parents.- Throws:
XavaException
-
getAllNotHiddenMetaActionsRecursive
The not hidden MetaActions of this controller and all its parents and subcontrollers recursively.- Throws:
XavaException- Since:
- 5.5.1
-
getId
Description copied from class:MetaElementUnique id of element, normally used to search the label in the resources files.- Specified by:
getIdin classMetaElement
-
getMetaActionsOnInit
Actions from father and subcontrollers are included.- Throws:
XavaException
-
hasParents
public boolean hasParents() -
getParents
- Returns:
- of type MetaController
- Throws:
XavaException
-
getMetaActionsOnEachRequest
Actions from father and subcontrollers are included.- Throws:
XavaException
-
getMetaActionsAfterEachRequest
Actions from father and subcontrollers are included.- Throws:
XavaException
-
getMetaActionsBeforeEachRequest
Actions from father and subcontrollers are included.- Throws:
XavaException
-
getIcon
-
setIcon
-
getImage
-
setImage
-