Class DataCollectionNodeCheckboxValueComponent
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.control.Grid
overit.geocall.basic.ui.control.ArrangingGrid
overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeTypeValueComponent<DataCollectionNodeCheckbox>
overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeCheckboxValueComponent
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Arrangeable,Badgeable,Hideable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
@Component
public class DataCollectionNodeCheckboxValueComponent
extends DataCollectionNodeTypeValueComponent<DataCollectionNodeCheckbox>
Component that represents the data collection node checkbox selection value.
Supports two display modes:
- Table view with selectable rows
- Standard checkbox group layout
- Since:
- 20.0
- See Also:
-
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 TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected ControlGridprotected ControlGridprotected static final Stringprotected static final Stringprotected static final Stringprotected InputCheckBoxesprotected InputOptionprotected static final Stringprotected static final Stringprotected ServerTableViewFields inherited from class overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeTypeValueComponent
BUTTON_INFO_NAME, form, INDEXED_NAME_SEPARATOR, infoPanel, MANDATORY_TAG, node, nodeId, sheet, typeFields inherited from class overit.geocall.basic.ui.control.Grid
_align, _border, _cellsize, _childrenMatrix, _closable, _closed, _conf, _event, _fullsize, _mode, _msg, _param, _ref, _roclosed, _spacing, _valign, _visible, layoutCacheFields inherited from class overit.geocall.ui.Control
_blank, _cleaner, _dblink, _enabled, _ro, _title, altEventIconsList, altIcon, ariaDescription, ariaLabel, badge, badgeformat, FILTER_PREFIXES, LABEL_ATTRIBUTE, LABEL_IN_LINE_ATTRIBUTE, STATE_BLANK, STATE_NORMAL, STATE_RO, STATE_ROBLANKFields 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 TypeMethodDescriptionprotected voidbooleanHandles row selection event in table view mode.booleanHandles bulk selection changes in table view mode.booleanShows the checkbox info dialog.protected voidDisplays component value based on display mode (table or checkbox).protected voidMethods inherited from class overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeTypeValueComponent
formatLabel, getComponentByName, getIndexedName, getNode, getNODEID, getPlaceholder, getSheet, getTooltip, getUpdatedType, initLabel, initReadonly, initTooltipAndPlaceholder, isReadOnly, onInit, onShowInfo, setNode, setNODEID, setSheet, show, updateIndexedButtonParams, updateIndexedNames, updateRegistryNameMethods inherited from class overit.geocall.basic.ui.control.ArrangingGrid
fillBodyRowsMethods inherited from class overit.geocall.basic.ui.control.Grid
addStructureRow, buildDisplayScript, buildSetupScript, createTD, getChildrenMatrix, getClosable, getClosed, getContentHtml, getDescriptionHtml, getEventButton, getFullHeightChilds, getGenerationHandle, getHiddenHtml, getHtml, getPublishedChildrenList, getRef, getROClosed, isVisible, setALIGN, setBORDER, setCLOSABLE, setClosed, setCLOSED, setEVENT, setFULLSIZE, setLAYOUTCACHE, setMODE, setMsg, setMSG, setPARAM, setREF, setRo, setROCLOSED, setSPACING, setup, setVALIGN, setVISIBLEMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getBLANK, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, getRO, getState, getTITLE, getValues, getWM, isEnabled, isEnabledBasedOnFunction, isFunctionEnabled, isImportant, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setConfiguredProperty, setDBLINK, setENABLED, setFUNCTION, setModelProperties, setRO, setTitle, setTITLEMethods inherited from class overit.geocall.ui.Component
adapt, ajaxQuery, appendAttribute, 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, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isLabelInLine, 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, tabIndexerMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, getRoot, getSchema, setNodeId, setParent, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.ui.Badgeable
badgeFormat, makeBadgedIconMethods inherited from interface overit.geocall.ui.Hideable
getVISIBLE
-
Field Details
-
TABLE_SELECTION_OPTION_NAME
- See Also:
-
INPUT_OPTION_SELECTION
- See Also:
-
CG_CHECKBOX_SELECTION_AS_TABLE
- See Also:
-
CG_CHECKBOX_SELECTION
- See Also:
-
INPUT_CHECKBOX_SELECTION
- See Also:
-
SHOW_CHECKBOX_INFO_EVENT
- See Also:
-
COLUMN_CODE
- See Also:
-
tableSelection
-
inputCheckboxSelection
-
inputOptionSelection
-
cgCheckboxSelectionAsTable
-
cgCheckboxSelection
-
-
Constructor Details
-
DataCollectionNodeCheckboxValueComponent
public DataCollectionNodeCheckboxValueComponent()
-
-
Method Details
-
getNamesToBeIndexed
- Specified by:
getNamesToBeIndexedin classDataCollectionNodeTypeValueComponent<DataCollectionNodeCheckbox>
-
getButtonNames
- Specified by:
getButtonNamesin classDataCollectionNodeTypeValueComponent<DataCollectionNodeCheckbox>
-
initComponents
protected void initComponents()- Overrides:
initComponentsin classDataCollectionNodeTypeValueComponent<DataCollectionNodeCheckbox>
-
showValue
protected void showValue()Displays component value based on display mode (table or checkbox).- Specified by:
showValuein classDataCollectionNodeTypeValueComponent<DataCollectionNodeCheckbox>
-
onSelect
Handles row selection event in table view mode. Updates the selected values based on the selected row.- Parameters:
uim- theUIMessage- Returns:
- true
-
onSelectTable
Handles bulk selection changes in table view mode. Updates the selected values based on the selection.- Parameters:
o- unused- Returns:
- true
-
updateValue
protected void updateValue()- Specified by:
updateValuein classDataCollectionNodeTypeValueComponent<DataCollectionNodeCheckbox>
-
onShowCheckboxInfo
Shows the checkbox info dialog.- Parameters:
uim- theUIMessage- Returns:
- true
- See Also:
-