Class DataCollectionNodeDownloadAttachmentValueComponent
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<DataCollectionNodeDownloadAttachment>
overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeDownloadAttachmentValueComponent
- 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 DataCollectionNodeDownloadAttachmentValueComponent
extends DataCollectionNodeTypeValueComponent<DataCollectionNodeDownloadAttachment>
Component that represent the data collection node download attachment.
- Since:
- 18.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 TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected ControlGridprotected overit.geocallapp.wfm.ui.control.ImageAllegatoprotected static final StringFields 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 voidbooleanUI event handler to download the fileprotected voidprotected 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
-
BUTTON_DOWNLOAD
- See Also:
-
ATTACHMENT_IMAGE
- See Also:
-
SHOW_ATTACHMENT
- See Also:
-
imageAllegato
protected overit.geocallapp.wfm.ui.control.ImageAllegato imageAllegato -
cgShowAttachment
-
-
Constructor Details
-
DataCollectionNodeDownloadAttachmentValueComponent
public DataCollectionNodeDownloadAttachmentValueComponent()
-
-
Method Details
-
getNamesToBeIndexed
- Specified by:
getNamesToBeIndexedin classDataCollectionNodeTypeValueComponent<DataCollectionNodeDownloadAttachment>
-
initComponents
protected void initComponents()- Overrides:
initComponentsin classDataCollectionNodeTypeValueComponent<DataCollectionNodeDownloadAttachment>
-
getButtonNames
- Specified by:
getButtonNamesin classDataCollectionNodeTypeValueComponent<DataCollectionNodeDownloadAttachment>
-
showValue
protected void showValue()- Specified by:
showValuein classDataCollectionNodeTypeValueComponent<DataCollectionNodeDownloadAttachment>
-
updateValue
protected void updateValue()- Specified by:
updateValuein classDataCollectionNodeTypeValueComponent<DataCollectionNodeDownloadAttachment>
-
onDownloadAttachment
UI event handler to download the file- Parameters:
uim- theUIMessage- Returns:
- true to break the responsibility chain, false otherwise.
-