Class TreeSelector
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocall.basic.ui.container.TreeEditor
overit.geocall.basic.ui.container.TreeSelector
- All Implemented Interfaces:
Serializable,overit.geocall.clipboard.XClip,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,AjaxableComponent,Badgeable,Hideable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
The class extends
TreeEditor, and allows to manage the selection and deselection operations on the tree's nodes.- 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
Fields inherited from class overit.geocall.basic.ui.container.TreeEditor
_border, _canpaste, _changedFrom, _changedTo, _cutting, _mode, _mousebutton, _msgCopyTitle, _msgCutTitle, _msgDeleteMessage, _msgDeleteTitle, _msgEditTitle, _msgInsertAfterTitle, _msgInsertBeforeTitle, _msgInsertChildTitle, _msgInsertParentTitle, _msgNodeCollapse, _msgNodeExpand, _msgPasteMessage, _msgPasteTitle, _param, _short, _t, _tInedit, _tmShort, _visible, _xclass, breakCharsFields inherited from class overit.geocall.basic.ui.Container
_rofields, _rules, DALINK_NO, DALINK_YES, DATE_MAX, DATE_MIN, TIME_MAX, TIME_MIN, TYPE_ACTION, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_DTZ, TYPE_EURO, TYPE_FILE, TYPE_FILES, TYPE_INTEGER, TYPE_LONG, TYPE_LONGARRAY, TYPE_MAP, TYPE_MAXDATE, TYPE_MAXTIME, TYPE_MEASURE, TYPE_MINDATE, TYPE_MINTIME, TYPE_NEWACTION, TYPE_STRING, TYPE_STRINGARRAY, TYPE_SUBSET, TYPE_SUBSETRANGE, TYPE_SUPPORT, TYPE_TIMERANGEFields 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, safeInlineServiceFields inherited from interface overit.geocall.ui.AjaxableComponent
FRAME_ID_PREFIX, NOTRANSITION, TRANSITION_BODY_MORPH, TRANSITION_BODY_RESIZE, TRANSITION_BORDER_RESIZE, TRANSITION_DOWN, TRANSITION_UP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSelectes a node of theTree; sets totruethe selected mode of the treebooleanonUnselect(Object o) Deelectes a node of theTree; sets tofalsethe selected mode of the treeprotected voidsetOnClickAction(Tree t, org.apache.ecs.html.A a) Methods inherited from class overit.geocall.basic.ui.container.TreeEditor
applyFilterToChildren, bold, calcFrameId, calcTitle, changed, changedSubTree, changedSubTree, configureShortMenu, createMenu, doCopy, doCut, doDelete, doPaste, evidence2, evidence21, fillArcDescription, fillArcDescription, fillNode, freeClip, getAlert, getArcDescription, getChunks, getCountInfo, getCutting, getDefaultChange, getDropDownItem, getDropDownMenu, getDropDownT, getFrameHtml, getHtml, getMenu, getMenuItem, getMinusPlusButton, getNewNode, getNewTree, getTDAlert, getTDNodeType, getTree, getTreeAlert, getUpDownButton, isVisible, onAccept, onBorder, onCancel, onClose, onCopy, onCopy, onCut, onCut, onDelete, onDelete, onDown, onInsertAfter, onInsertBefore, onInsertChild, onInsertParent, onMinus, onOpen, onOpenMenu, onPaste, onPaste, onPlus, onShort, onUp, pasteContent, resolveTree, setMODE, setMOUSEBUTTON, setOnClickAction, setPARAM, setTree, setup, setVISIBLE, setXCLASS, span2OnTitle, spanOnTitle, subTreeMethods inherited from class overit.geocall.basic.ui.Container
alert, applyRule, getBASIC, getBLANK, getRO, getROField, onClose, onOpenChildContainer, onRestore, onRule, prepareName, rulesNewValues, setROField, setValues, setValuesMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, 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, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getDefaultLayoutLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, 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, 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
getVISIBLEMethods inherited from interface overit.geocall.clipboard.XClip
getWM
-
Constructor Details
-
TreeSelector
public TreeSelector()
-
-
Method Details
-
onSelect
Selectes a node of theTree; sets totruethe selected mode of the tree- Parameters:
o- TheHashGetterwith the parameters passed to the event, used to retrieve the correct node's path- Returns:
- true
-
onUnselect
Deelectes a node of theTree; sets tofalsethe selected mode of the tree- Parameters:
o- TheHashGetterwith the parameters passed to the event, used to retrieve the correct node's path- Returns:
- true
-
setOnClickAction
-