Package overit.geocall.basic.ui.control
Class OutputTimeRange
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.control.Output
overit.geocall.basic.ui.control.OutputTimeRange
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Arrangeable,Badgeable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
This component extends
Output and must be used to show in output a range
of time. The output string will be composed of how many values are given as input
(none, start time or end time) and predefined labels.- 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 Stringprotected SimpleDateFormatprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class overit.geocall.basic.ui.control.Output
_event, _eventicon, _eventsnumber, _eventtitle, _ff, _key, _label2, _minlength, _msg, _nowrap, _numeric, _param, _prompt, _size, _strong, _value, promptEmpty, truncate, valueWrapFields 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 TypeMethodDescriptionvoidSets the name key of the first value to search in the passed values to use as start range.voidSets the name key of the first value to search in the passed values to use as start range.voidSets the name key of the second value to search in the passed values to use as end range.voidSet the time format with the string passed as input (seeSimpleDateFormat).voidSet the time format with the string passed as input (seeSimpleDateFormat).protected voidsetup()Setup the ComponentvoidSets the first value to use as start range.voidSets the first value to use as start range.voidSets the second value to use as end range.Methods inherited from class overit.geocall.basic.ui.control.Output
getContentHtml, getDescriptionHtml, getGenerationHandle, getHiddenHtml, getHtml, getHtmlValue, setEVENT, setEVENTMSG, setEVENTPARAM, setEVENTPROMPT, setEVENTTITLE, setICON, setKEY, setLABEL2, setMINLENGTH, setNOWRAP, setNUMERIC, setPROMPTEMPTY, setSIZE, setSTRONG, setStyle, setTRUNCATE, setVALUEWRAPMethods 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, buildDisplayScript, buildSetupScript, 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, 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, setIMPORTANT, 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
-
_sSdf
-
_sdf
-
_name1
-
_name2
-
_value1
-
_value2
-
MAI
-
SEMPRE
-
DOPO
-
PRIMA
-
TRA1
-
TRA2
-
TRA3
-
hourSystem
-
-
Constructor Details
-
OutputTimeRange
public OutputTimeRange()
-
-
Method Details
-
setup
protected void setup()Description copied from class:ComponentSetup the Component -
setVALUE1
Sets the first value to use as start range. This value is overwritten fromsetNAME()orsetNAME1().
It's possible to use this value singly to create a"after"range.
It is same thing usesetVALUE().- Parameters:
s- The string rappresents the time to set (seestring2Date()).
-
setVALUE
Sets the first value to use as start range. This value is overwritten fromsetNAME()orsetNAME1().
It's possible to use this value singly to create a"after"range.
It is same thing usesetVALUE1().- Overrides:
setVALUEin classOutput- Parameters:
s- The string rappresents the time to set (seestring2Date()).
-
setVALUE2
Sets the second value to use as end range. This value is overwritten fromsetNAME2().
It's possible to use this value singly to create a"by"range.- Parameters:
s- The string rappresents the time to set (seestring2Date()).
-
setNAME
Sets the name key of the first value to search in the passed values to use as start range. This value overwritessetVALUE()andsetVALUE1().
It's possible to use this value singly to create a"after"range.
It is same thing usesetNAME1().- Overrides:
setNAMEin classOutput- Parameters:
s- The string rappresents the key of the value in the passed values (seeControl.getValues()).
-
setNAME1
Sets the name key of the first value to search in the passed values to use as start range. This value overwritessetVALUE()andsetVALUE1().
It's possible to use this value singly to create a"after"range.
It is same thing usesetNAME().- Parameters:
s- The string rappresents the key of the value in the passed values (seeControl.getValues()).
-
setNAME2
Sets the name key of the second value to search in the passed values to use as end range. This value overwritessetVALUE2().
It's possible to use this value singly to create a"by"range.- Parameters:
s- The string rappresents the key of the value in the passed values (seeControl.getValues()).
-
setSDF
Set the time format with the string passed as input (seeSimpleDateFormat). It is the same thing usesetSDFWRITE().- Parameters:
s- String rappresenting the new format
-
setSDFWRITE
Set the time format with the string passed as input (seeSimpleDateFormat). It is the same thing usesetSDF().- Parameters:
s- String rappresenting the new format
-
prepareValue
- Overrides:
prepareValuein classOutput
-