Package overit.geocall.basic.ui.control
Class ColumnInputMulti
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.ColumnInputMulti
- 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
This component extends
This component can depend from other Column value, and some constrain can be applied, like the type of the field, the maximum length, the size, the format, the key and if cant be null.
ColumnInput and must be used to insert an input field as a column. This component can depend from other Column value, and some constrain can be applied, like the type of the field, the maximum length, the size, the format, the key and if cant be null.
- 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 Stringprotected intprotected Stringprotected intprotected Stringprotected intprotected Stringprotected intprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected Stringprotected Stringprotected SimpleDateFormatprotected SimpleDateFormatprotected SimpleDateFormatprotected Stringprotected intprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected Stringprotected intprotected Stringprotected intprotected Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected String[]Fields 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 TypeMethodDescriptionprotected Stringprotected Stringprotected Stringprotected voiddefaultAttributesInput(org.apache.ecs.html.Input i, int row, ArrayList al) protected voiddefaultAttributesLookup(org.apache.ecs.html.Select select, int row, ArrayList al) protected Stringorg.apache.ecs.ElementgetHtmlRow(EntitySet es, int row, int pagerow, ArrayList al) Returns the html element that defines the rowprotected org.apache.ecs.ElementgetHtmlRowCheckBox(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowComboBox(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowDate(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowDouble(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowEuro(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowLong(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowLookup(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowString(EntitySet es, int row, int pagerow, ArrayList al) protected org.apache.ecs.ElementgetHtmlRowTime(EntitySet es, int row, int pagerow, ArrayList al) protected Stringprotected intprotected booleanprotected StringprepareName(int row) voidSets the name of an event associated to the field and triggered when the user changes its value.voidSets the alert's message associated to the field and triggered when the user changes its value.voidSets the name of an event param associated to the field and triggered when the user changes its value.voidSets the format attribute of the input field.voidSets the key attribute of the input field.voidSets the maximum length of an attribute of the input field.voidSets the name of a filed that must be not null.voidSets the placeholder, the short hint that usually describes the expected value that appears in the field before the user enters a value.voidSets the size of an attribute of the input field.voidSets the type attribute of the input field.protected voidsetup()Setup the ComponentvoidsetupMetaData(DBView dbv) Called to init all the field starting form the DBViewprotected intprotected intprotected Doubleprotected voidvalidateDate(org.apache.ecs.html.Input i, EntitySet es, int row, ArrayList al) protected voidvalidateDouble(org.apache.ecs.html.Input i, EntitySet es, int row, ArrayList al) protected voidvalidateEuro(org.apache.ecs.html.Input i, EntitySet es, int row, ArrayList al) protected voidvalidateInput(org.apache.ecs.html.Input i, EntitySet es, int row, ArrayList al) protected voidvalidateLong(org.apache.ecs.html.Input i, EntitySet es, int row, ArrayList al) protected voidvalidateLookup(org.apache.ecs.html.Select sel, EntitySet es, ArrayList al) protected voidvalidateTime(org.apache.ecs.html.Input i, EntitySet es, int row, ArrayList al) Methods inherited from class overit.geocall.basic.ui.control.ColumnInput
checkAutoEvent, checkAutoEvent, connect, defaultAttributes, getDefaultLayoutLabel, indexedName, prepareName, prepareValue, registerValidators, setAUTOEVENT, setAUTOEVENTANCHOR, setAUTOEVENTMSG, setAUTOEVENTPARAM, setDEFAULTFOCUS, setINDEXED, setMAXLENGTH, setMsg, setMSG, setNOTNULL, 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, 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, makeBadgedIconMethods inherited from interface overit.geocall.ui.ValueValidator
validateValue
-
Field Details
-
TIPODATO_NUMBER
public static final int TIPODATO_NUMBER- See Also:
-
TIPODATO_STRING
public static final int TIPODATO_STRING- See Also:
-
TIPODATO_DATE
public static final int TIPODATO_DATE- See Also:
-
TIPODATO_BOOLEAN
public static final int TIPODATO_BOOLEAN- See Also:
-
TIPODATO_DATETIME
public static final int TIPODATO_DATETIME- See Also:
-
TIPODATO_TIME
public static final int TIPODATO_TIME- See Also:
-
TIPODATO_COMBOBOX
public static final int TIPODATO_COMBOBOX- See Also:
-
TIPODATO_DOUBLE
public static final int TIPODATO_DOUBLE- See Also:
-
TIPODATO_EURO
public static final int TIPODATO_EURO- See Also:
-
TIPODATO_SCHEDA
public static final int TIPODATO_SCHEDA- See Also:
-
TIPODATO_LOOKUP
public static final int TIPODATO_LOOKUP- See Also:
-
TIPODATO_DLLVALUE
public static final int TIPODATO_DLLVALUE- See Also:
-
TIPODATO_FILE
public static final int TIPODATO_FILE- See Also:
-
LABELTRUE
- See Also:
-
LABELFALSE
- See Also:
-
_notnullField
-
_notnullIndex
protected int _notnullIndex -
_typeField
-
_typeIndex
protected int _typeIndex -
_maxlengthField
-
_maxlengthIndex
protected int _maxlengthIndex -
_sizeField
-
_sizeIndex
protected int _sizeIndex -
_formatField
-
_formatIndex
protected int _formatIndex -
_keyField
-
_keyIndex
protected int _keyIndex -
_autoeventField
-
_autoeventIndex
protected int _autoeventIndex -
autoEventParamField
-
autoEventParamIndex
protected int autoEventParamIndex -
autoEventMsgField
-
autoEventMsgIndex
protected int autoEventMsgIndex -
_strSdfTime
-
_sdfTime
-
_regexpTime
-
_msgTime
-
_msg2Time
-
hourSystem
-
_strSdfDateWrite
-
_strSdfDateRead
-
_sdfDateWrite
-
_sdfDateRead
-
_regexpDate
-
_msgDate
-
titles
-
_msgCampoValoreNonValido
-
_msgErroreDato
-
_msgErroreTipo
-
-
Constructor Details
-
ColumnInputMulti
public ColumnInputMulti()Creates a new instance of ColumnInputMulti
-
-
Method Details
-
setNOTNULLFIELD
Sets the name of a filed that must be not null.- Parameters:
s- The name of the attribute
-
setMAXLENGTHFIELD
Sets the maximum length of an attribute of the input field.- Parameters:
s- The name of the attribute
-
setSIZEFIELD
Sets the size of an attribute of the input field.- Parameters:
s- The name of the attribute
-
setFORMATFIELD
Sets the format attribute of the input field.- Parameters:
s- The name of the attribute
-
setKEYFIELD
Sets the key attribute of the input field.- Parameters:
s- The name of the attribute
-
setTYPEFIELD
Sets the type attribute of the input field.- Parameters:
s- The name of the attribute
-
setAUTOEVENTFIELD
Sets the name of an event associated to the field and triggered when the user changes its value. By setting an autoevent, a form submit will be automatically performed when the field loses the focus.- Parameters:
s- The name of the event triggered when the user changes the field value
-
setAUTOEVENTPARAMFIELD
Sets the name of an event param associated to the field and triggered when the user changes its value.- Parameters:
s- The name of the event triggered when the user changes the field value
-
setAUTOEVENTMSGFIELD
Sets the alert's message associated to the field and triggered when the user changes its value.- Parameters:
s- The alert's message that will be shown when the user changes the field value
-
setup
protected void setup()Description copied from class:ComponentSetup the Component- Overrides:
setupin classColumnInput
-
validate
- Overrides:
validatein classColumnInput
-
validateInput
-
validateLookup
-
validateLong
-
validateDouble
-
validateEuro
-
validateTime
-
validateDate
-
prepareName
- Overrides:
prepareNamein classColumnInput
-
setupMetaData
Description copied from class:ColumnCalled to init all the field starting form the DBView- Overrides:
setupMetaDatain classColumn- Parameters:
dbv- The DBView with all the field used in the init
-
maxlength
-
size
-
notnull
-
type
-
format
-
keys
-
autoevent
-
autoEventParam
-
autoEventMsg
-
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
-
getHtmlRowString
-
getHtmlRowLookup
-
getHtmlRowComboBox
-
getHtmlRowCheckBox
-
getHtmlRowLong
-
getHtmlRowDouble
-
getHtmlRowEuro
-
getHtmlRowTime
-
getHtmlRowDate
-
defaultAttributesInput
-
defaultAttributesLookup
-
setPlaceholder
Sets the placeholder, the short hint that usually describes the expected value that appears in the field before the user enters a value.- Overrides:
setPlaceholderin classColumnInput- Parameters:
s- The string that will appear as a placeholder in the field
-