Class Avatar
java.lang.Object
com.almis.awe.model.entities.Element
com.almis.awe.model.entities.screen.component.Component
com.almis.awe.model.entities.screen.component.criteria.AbstractCriteria
com.almis.awe.model.entities.screen.component.button.AbstractButton
com.almis.awe.model.entities.screen.component.button.Avatar
- All Implemented Interfaces:
Copyable
,XMLNode
,Serializable
Avatar Class
Used to add an avatar element with XStream
- Author:
- Pablo GarcĂa - 20/AGO/2024
- See Also:
-
Field Summary
Fields inherited from class com.almis.awe.model.entities.screen.component.button.AbstractButton
BUTTON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Get a copy of this elementGet avatar dropdown children dataRetrieve component tagRetrieve help templateRetrieves value for JSON serializationboolean
Returns if avatar must show the labelMethods inherited from class com.almis.awe.model.entities.screen.component.button.AbstractButton
getActionConverter, getButtonType, getButtonTypeConverter
Methods inherited from class com.almis.awe.model.entities.screen.component.criteria.AbstractCriteria
getElementGroup, getReportStructure, getType, isCapitalize, isChecked, isCheckEmpty, isCheckInitial, isOptional, isPrintable, isReadonly, isRequiredConverter, isShowFutureDates, isShowSlider, isShowTodayButton, isShowWeekends, isStrict
Methods inherited from class com.almis.awe.model.entities.screen.component.Component
generateTemplate, getContextMenuConverter, getDependencyConverter, getTemplate, isAutoload, isLoadAll, isVisible
Methods inherited from class com.almis.awe.model.entities.Element
addElement, generateHelpTemplate, generateHelpTemplate, getChildrenByType, getElementKey, getElementList, getElementsById, getElementsByType, getElementsByType
-
Constructor Details
-
Avatar
public Avatar()
-
-
Method Details
-
isShowLabel
public boolean isShowLabel()Returns if avatar must show the label- Returns:
- Component must show the label
-
getValueConverter
Retrieves value for JSON serialization- Returns:
- value
-
getChildren
Get avatar dropdown children data- Returns:
- Avatar dropdown children data
-
getComponentTag
Description copied from class:AbstractCriteria
Retrieve component tag- Overrides:
getComponentTag
in classAbstractButton
- Returns:
- Component tag
-
getHelpTemplate
Description copied from class:Element
Retrieve help template- Overrides:
getHelpTemplate
in classAbstractButton
- Returns:
- Help template
-
copy
Description copied from interface:Copyable
Get a copy of this element- Returns:
- element copy
-