Class CardIcon
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocallapp.utilities.ux.ui.container.cardview.CardIcon
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Identified,Tool,HTMLRenderable
CardView component for displaying Material Design icons.
Can be positioned freely in the layout XML.
- Since:
- 21.0
- See Also:
- GCApi:
- component
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsFields inherited from class overit.geocall.ui.Component
_basic, _childrenContainers, _currentId, _gridalign, _gridcols, _gridrows, _gridvalign, _iconElement, _id, _keylabel, _label, _layoutName, _name, _parentContainer, _registryName, _shortcut, _tabindex, _transformations, _valuesContainer, aliasField, BR, configHidden, configuredLabel, configuredLabelInLine, defaultHidden, ELEMENT_BR, ELEMENT_NULL, entityContainer, entityName, extendedField, fullHeight, important, labelInLine, layoutLabel, PIXEL_IMG, safeInlineService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the current data contextgetHtml()Implementation of HTMLRenderable interfaceorg.apache.ecs.ElementImplementation of Component's abstract method.voidSets the icon name (Material Design icon with md: prefix)voidSets the icon size in pixelsMethods inherited from class overit.geocall.ui.Component
adapt, ajaxQuery, appendAttribute, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBASIC, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getDefaultLayoutLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getKEYLABEL, getLABEL, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isImportant, isLabelInLine, onInit, setActivable, setActive, setAliasField, setBASIC, setConfigHidden, setDEFAULTHIDDEN, setEntityName, setExtendedField, setFULLHEIGHT, setGRIDALIGN, setGRIDCOLS, setGRIDROWS, setGRIDVALIGN, setICON, setIdentity, setIMPORTANT, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, setREGISTRYNAME, setTooltip, setup, setValuesContainer, stringForJs, tabIndexer
-
Field Details
-
LOG
-
dataContext
-
-
Constructor Details
-
CardIcon
public CardIcon()
-
-
Method Details
-
getDataContext
Gets the current data context- Returns:
- The current data container, or null if not set
-
getHtml
Implementation of HTMLRenderable interface- Specified by:
getHtmlin interfaceHTMLRenderable- Returns:
- The HTML string representation of the component
-
getHtml
Implementation of Component's abstract method. Delegates to HTMLRenderable.getHtml() and wraps the result in a StringElement. -
setNAME
Sets the icon name (Material Design icon with md: prefix) -
setSIZE
Sets the icon size in pixels
-