Class CardDouble
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocallapp.utilities.ux.ui.container.cardview.CardField
overit.geocallapp.utilities.ux.ui.container.cardview.CardDouble
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Identified,Tool,HTMLRenderable
CardView field for displaying Double numbers.
Supports custom decimal number formatting.
- 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
FieldsModifier and TypeFieldDescriptionstatic final StringDefault number format patternprotected static final LogChannelFields inherited from class overit.geocallapp.utilities.ux.ui.container.cardview.CardField
dataContext, truncate, visibleFields 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
Methods inherited from class overit.geocallapp.utilities.ux.ui.container.cardview.CardField
applyTruncate, getDataContext, getHtml, getHtml, getLabelHtml, getTruncate, isVisible, setDataContext, setTRUNCATE, setVisibleMethods 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, setNAME, setREGISTRYNAME, setTooltip, setValuesContainer, stringForJs, tabIndexer
-
Field Details
-
LOG
-
DEFAULT_FORMAT
Default number format pattern- See Also:
-
-
Constructor Details
-
CardDouble
public CardDouble()
-
-
Method Details
-
setFORMAT
Sets the number format (XML framework method)- Parameters:
s- The number format pattern (e.g. "#,##0.00", "0.000", "#,###")
-
getFormat
Gets the number format- Returns:
- The DecimalFormat used for formatting numbers
-
setup
protected void setup()Initializes the component (like ColumnDouble.setup). Sets default format if not configured via XML. -
getFormattedValue
Implementation of getFormattedValue for CardDouble. Returns the formatted number value.- Specified by:
getFormattedValuein classCardField- Returns:
- The formatted value as string
-