Package overit.geocall.basic.ui.control
Class ColumnInputDouble
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.control.Column
overit.geocall.basic.ui.control.ColumnInput
overit.geocall.basic.ui.control.ColumnInputRegExp
overit.geocall.basic.ui.control.ColumnInputDouble
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Badgeable,Hideable,ValueValidator,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
- Direct Known Subclasses:
ColumnInputDoubleGreater,ColumnInputDoubleLess,ColumnInputMeasure
This component extends
ColumnInputRegExp and must be used to insert an double input
field as a column. For details on the accepted input see Double class.- 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 Anyprotected Stringprotected charprotected intprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected intprotected charFields inherited from class overit.geocall.basic.ui.control.ColumnInputRegExp
_regexpFields inherited from class overit.geocall.basic.ui.control.ColumnInput
_autoevent, _autoeventanchor, _autoeventmsg, _autoeventparam, _defaultFocus, _indexed, _maxlength, _msg, _msgCampoObbligatorio, _msgErroreCampo, _notnull, _numeric, _placeholder, _size, _tabbed, workingRowFields inherited from class overit.geocall.basic.ui.control.Column
_align, _bkgColorFirst, _bkgColorName, _blankvisible, _breakChars, _colorIndex, _columnorder, _descorder, _descorderQuery, _draggable, _droppable, _errorvalue, _ffGroup, _ffName, _ffTitle, _footer, _group, _groupname, _groupObject, _heading, _headTitle, _key, _labelspan, _minWidth, _msgErrore, _order, _orderQuery, _rovisible, _rowspan, _stuck, _td, _tdColor, _titleFormat, _tmColorSwitch, _userHidden, _valign, _value, _visible, _width, ALIGN_ATTRIBUTE, configuredAlign, configuredDescOrder, configuredGroup, configuredMinWidth, configuredOrder, configuredRowInLine, configuredStuck, configuredTruncate, configuredValign, configuredWidth, GROUP_ATTRIBUTE, inline, MIN_WIDTH_ATTRIBUTE, ORDER_ASC_VALUE, ORDER_ATTRIBUTE, ORDER_DESC_VALUE, ORDER_EITHER_VALUE, ROW_IN_LINE_ATTRIBUTE, STUCK_ATTRIBUTE, text, truncate, TRUNCATE_ATTRIBUTE, VERTICAL_ALIGN_ATTRIBUTE, WIDTH_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 TypeMethodDescriptionorg.apache.ecs.ElementgetHtmlRow(EntitySet es, int row, int pagerow, ArrayList al) Returns the html element that defines the rowprotected org.apache.ecs.ElementgetIncrementLink(String id, boolean inverse, String img) protected Stringprotected StringvoidsetGREATER(String s) Sets the constraint about the minimum value.voidSets the number of digits that must occur between two grouping separators.voidSets the step of the increment.voidSets the constraint about the maximum value.voidSets the output precision for the value.voidSets the precision for the valueprotected voidsetup()Setup the Componentprotected voidMethods inherited from class overit.geocall.basic.ui.control.ColumnInputRegExp
setREGEXPMethods inherited from class overit.geocall.basic.ui.control.ColumnInput
checkAutoEvent, checkAutoEvent, connect, defaultAttributes, indexedName, prepareName, registerValidators, setAUTOEVENT, setAUTOEVENTANCHOR, setAUTOEVENTMSG, setAUTOEVENTPARAM, setDEFAULTFOCUS, setINDEXED, setMAXLENGTH, setMsg, setMSG, setNOTNULL, setPlaceholder, setPLACEHOLDER, setSIZE, setTABBED, validate, validateChangingValue, validateConcreteValue, validateNotNull, validateUnchangingValue, validateValueMethods inherited from class overit.geocall.basic.ui.control.Column
freeResources, getAlign, getCellContent, getColumnOrder, getConfigurableProperties, getDescOrder, getDraggable, getDroppable, getGroup, getHeadControls, getHeadControls, getHeadLabel, getHtml, getHtmlFoot, getLABELSPAN, getLayoutName, getMinWidth, getOrder, getRowInLine, getStuck, getTD, getTD, getTD, getTDColor, getTF, getTruncate, getUserHidden, getVAlign, getVISIBLE, getWidth, groupable, grouped, isHiddenByConfiguration, isUserDraggable, isUserHideable, isVisible, newGroup, setALIGN, setBKGCOLORFIRST, setBKGCOLORNAME, setBKGCOLORSWITCH, setBLANKVISIBLE, setBREAKCHARS, setConfiguredProperty, setDEFAULTHIDDEN, setDESCORDER, setDESCORDERQUERY, setDRAGGABLE, setDROPPABLE, setERRORVALUE, setFOOTER, setGROUP, setGROUPNAME, setHEADING, setHEADTITLE, setINLINE, setKEY, setLABELSPAN, setMINWIDTH, setMinWidthAndWidth, setModelProperties, setORDER, setORDERFIELD, setORDERQUERY, setROVISIBLE, setSTUCK, setTEXT, setTITLEFORMAT, setTITLENAME, setTooltipAndStyleOnLabel, setTRUNCATE, setupMetaData, setupTDColor, setupTitle, setUserHidden, setVALIGN, setVALUE, setVISIBLE, setWIDTHMethods 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, isImportant, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setDBLINK, setENABLED, setFUNCTION, setRO, setTitle, setTITLEMethods inherited from class overit.geocall.ui.Component
adapt, ajaxQuery, appendAttribute, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBASIC, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getLayoutLabel, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isLabelInLine, onInit, setActivable, setActive, setAliasField, setBASIC, setConfigHidden, 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, makeBadgedIcon
-
Field Details
-
_any
-
_precision
protected int _precision -
_outputPrecision
protected int _outputPrecision -
_msgCampoNumerico
-
_msgInserireUnNumeroIntero
-
_msgInserireUnNumeroReale
-
_msgIncrementa
-
_msgDecrementa
-
_msgCampoMaggioreUguale
-
_msgCampoMinoreUguale
-
_greater
-
_less
-
_separator
protected char _separator -
_groupingSeparator
protected char _groupingSeparator -
_groupingSize
protected int _groupingSize
-
-
Constructor Details
-
ColumnInputDouble
public ColumnInputDouble()Creates a new instance of ColumnInputDouble
-
-
Method Details
-
setPRECISION
Sets the precision for the value- Parameters:
s- The string that represent the number of digits of the fractional part that the user can insert
-
setOUTPUTPRECISION
Sets the output precision for the value. It is used to show the value in the field- Parameters:
s- The string that represent the number of digits of the fractional part.
-
setLESS
Sets the constraint about the maximum value. The value inserted by the user is considered valid only if it's lower than the one set by this method.- Parameters:
s- The string that represents the maximum limit
-
setGREATER
Sets the constraint about the minimum value. The value inserted by the user is considered valid only if it's higher than the one set by this method.- Parameters:
s- The string that represents the minimum limit
-
setINCREMENT
Sets the step of the increment. If this attribute is set, next to input field appear one plus and one minus to increase or decrement the entered value. The step must be positive and equal or greather than 10-6.- Parameters:
s- The string to use as step. It must be a rappresentation of a double.
-
setGROUPINGSIZE
Sets the number of digits that must occur between two grouping separators.- Parameters:
s- The string that represent the number of digits that must occur between two grouping separators.
-
setup
protected void setup()Description copied from class:ComponentSetup the Component- Overrides:
setupin classColumnInput
-
validate
- Overrides:
validatein classColumnInputRegExp
-
prepareName
- Overrides:
prepareNamein classColumnInput
-
prepareValue
- Overrides:
prepareValuein classColumnInput
-
getHtmlRow
Description copied from class:ColumnReturns the html element that defines the row- Overrides:
getHtmlRowin classColumnInput- Parameters:
es- TheEntitySetto which the element belongsrow- The number of the rowpagerow- The number ofd the pageal- The list of values of the row- Returns:
- The html element that defines the row
-
getIncrementLink
-
getDefaultLayoutLabel
- Overrides:
getDefaultLayoutLabelin classColumnInput
-