Package overit.geocall.basic.ui.control
Class InputCheckBoxes
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.control.Input
overit.geocall.basic.ui.control.InputRadio
overit.geocall.basic.ui.control.InputCheckBoxes
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Arrangeable,Badgeable,ValueValidator,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
This class extends
InputRadio and must be used to add the following three
buttons to a set of checkboxes: CHECKALL, CHECKNONE, CHECKINVERSE.- 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 booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringstatic final org.apache.ecs.html.Scriptstatic final org.apache.ecs.html.Scriptstatic final org.apache.ecs.html.ScriptFields inherited from class overit.geocall.basic.ui.control.InputRadio
_autoevent, _autoeventparam, _firstInputId, _iColumns, _iCountRow, _lastcalltotalelements, _selected, _type, _vertical, BLANK_SPACEFields inherited from class overit.geocall.basic.ui.control.Input
_autofocus, _da, _dao, _dao0, _defaultFocus, _event, _eventicon, _eventmsg, _eventparam, _eventprompt, _eventsnumber, _eventtitle, _ff, _fullSize, _hidden, _hinter, _hints, _hintsCache, _key, _label2, _letterCase, _maxlength, _msg, _msgCampoObbligatorio, _msgErroreCampo, _notnull, _numeric, _placeholder, _query, _roevent, _size, _value, autocomplete, configuredFullSize, configuredNotNull, configuredSize, FILTER_CRITERION_ATTRIBUTE, filterCriteria, FULL_SIZE_ATTRIBUTE, NOT_NULL_ATTRIBUTE, promptEmpty, SIZE_ATTRIBUTEFields 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 org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected org.apache.ecs.html.Inputprotected booleanisSelected(String sCurrentValue, boolean bOldValue, String sName) protected StringvoidSets the possibility to show theCHECKALLbutton.voidSets the possibility to show theCHECKINVERSEbutton.voidSets the possibility to show theCHECKNONEbutton.protected voidsetup()Setup the Componentprotected voidvoidvalidateConcreteValue(String name, Object value, boolean strong, Map arriving) Methods inherited from class overit.geocall.basic.ui.control.InputRadio
buildDisplayScript, createColumns, getContentHtml, getDescriptionHtml, getGenerationHandle, getHiddenHtml, getHtml, getHtmlTable, getStyle, getVisibleDescriptionHtml, publishValue, setAUTOEVENT, setAUTOEVENTPARAM, setCOLS, setSELECTED, setTYPE, setupAccessKeyTooltipAndValidationOnInput, setupInput, setVERTICAL, typeString, validateMethods inherited from class overit.geocall.basic.ui.control.Input
addEventButtons, addHint, addHint, addHintsButton, ajaxQuery, connect, control, getClassStyle, getConfigurableProperties, getDefaultValue, getFilterCriteriaToRemove, getFullSize, getHIDDEN, getHintsEventButton, getHintsFieldName, getInsideEventButton, getInsideEventButton, getLetterCase, getNOTNULL, getSize, isImportant, isNotNull, isValueIgnoredByCriterion, prepareValue, queryHints, registerValidators, setAUTOCOMPLETE, setAUTOFOCUS, setConfiguredProperty, setDA, setDAO, setDAO0, setDEFAULTFOCUS, setEVENT, setEVENTMSG, setEVENTPARAM, setEVENTPROMPT, setEVENTTITLE, setFILTERCRITERIA, setFULLSIZE, setHIDDEN, setHints, setHINTS, setHINTSCACHE, setICON, setIMPORTANT, setKEY, setLABEL2, setLETTERCASE, setMAXLENGTH, setModelProperties, setMSG, setNAME, setNOTNULL, setNUMERIC, setPARAM, setPLACEHOLDER, setPROMPT, setPROMPTEMPTY, setQUERY, setROEVENT, setSIZE, setupAutocomplete, setVALUE, validateChangingValue, validateNotNull, validateUnchangingValue, validateValueMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getBLANK, getCleaner, getDAValues, getDBLINK, getKEYLABEL, getLABEL, getRO, getState, getTITLE, getValues, getWM, isEnabled, isEnabledBasedOnFunction, isFunctionEnabled, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setDBLINK, setENABLED, setFUNCTION, setRO, setTitle, setTITLEMethods inherited from class overit.geocall.ui.Component
adapt, appendAttribute, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, 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, 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, setIdentity, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, 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, makeBadgedIcon
-
Field Details
-
_checkall
protected boolean _checkall -
_checknone
protected boolean _checknone -
_checkinverse
protected boolean _checkinverse -
SELECT_ALL
public static final org.apache.ecs.html.Script SELECT_ALL -
SELECT_NONE
public static final org.apache.ecs.html.Script SELECT_NONE -
SELECT_INVERSE
public static final org.apache.ecs.html.Script SELECT_INVERSE -
_msgSelezionaTutto
-
_msgDeselezionaTutto
-
_msgInvertiSelezione
-
-
Constructor Details
-
InputCheckBoxes
public InputCheckBoxes()Creates a new instance of InputCheckBoxes
-
-
Method Details
-
setup
protected void setup()Description copied from class:ComponentSetup the Component -
setCHECKALL
Sets the possibility to show theCHECKALLbutton. This button check all the childrenInputRadio.- Parameters:
s- Boolean to enable or disable the visibility of theCHECKALLbutton.
-
setCHECKNONE
Sets the possibility to show theCHECKNONEbutton. This button uncheck all the childrenInputRadio.- Parameters:
s- Boolean to enable or disable the visibility of theCHECKNONEbutton.
-
setCHECKINVERSE
Sets the possibility to show theCHECKINVERSEbutton. This button check all the childrenInputRadiothat were not checked, and unchek all the childrenInputRadio.- Parameters:
s- Boolean to enable or disable the visibility of theCHECKINVERSEbutton.
-
validate
-
prepareName
- Overrides:
prepareNamein classInputRadio
-
getInput
- Overrides:
getInputin classInputRadio
-
isSelected
- Overrides:
isSelectedin classInputRadio
-
getCheckAllButton
-
getCheckNoneButton
-
getCheckInverseButton
-
getControlButtons
- Overrides:
getControlButtonsin classInputRadio
-
getControlElement
protected org.apache.ecs.Element getControlElement()- Overrides:
getControlElementin classInputRadio
-
validateConcreteValue
public void validateConcreteValue(String name, Object value, boolean strong, Map arriving) throws ValidationException - Overrides:
validateConcreteValuein classInputRadio- Throws:
ValidationException
-