Class Component
java.lang.Object
com.almis.awe.model.entities.Element
com.almis.awe.model.entities.screen.component.Component
- All Implemented Interfaces:
Copyable
,XMLNode
,Serializable
- Direct Known Subclasses:
AbstractChart
,AbstractCriteria
,AbstractWidget
,Container
,Dialog
,Frame
,Image
,Link
,MenuContainer
,Resizable
,TagList
,Video
,Window
Component decorator
Used to parse a COMPONENT with XStream
Superclass of all component, like Window, Button, ButtonAction, Message, Column, Criteria, Grid, Tab
- Author:
- Pablo GARCIA - 28/JUN/2010
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.stringtemplate.v4.ST
generateTemplate
(org.stringtemplate.v4.STGroup group) Generates the output HTML of the elementRetrieve component tag (to be overriden) tagReturns a serialized list with the context menu descriptionReturns the criteria dependency model for JSON serializationRetrieve element templateboolean
Returns if component is autoloadboolean
Returns if component is autoloadboolean
Returns if component is visibleMethods inherited from class com.almis.awe.model.entities.Element
addElement, generateHelpTemplate, generateHelpTemplate, getChildrenByType, getElementKey, getElementList, getElementsById, getElementsByType, getElementsByType, getHelpTemplate, getReportStructure
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
isAutoload
public boolean isAutoload()Returns if component is autoload- Returns:
- Component is autoload
-
isLoadAll
public boolean isLoadAll()Returns if component is autoload- Returns:
- Component is autoload
-
isVisible
public boolean isVisible()Returns if component is visible- Returns:
- Component is visible
-
getContextMenuConverter
Returns a serialized list with the context menu description- Returns:
- Context Menu List
-
getDependencyConverter
Returns the criteria dependency model for JSON serialization- Returns:
- Dependency List
-
generateTemplate
public org.stringtemplate.v4.ST generateTemplate(org.stringtemplate.v4.STGroup group) Generates the output HTML of the element- Overrides:
generateTemplate
in classElement
- Parameters:
group
- String Template Group- Returns:
- Code
-
getTemplate
Retrieve element template- Overrides:
getTemplate
in classElement
- Returns:
- Element template
-
getComponentTag
Retrieve component tag (to be overriden) tag- Returns:
- Component tag
-