Package overit.geocall.basic.ui.control
Class OutputDate
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.OutputDate
- 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 class implements a the graphic user interface element used to display a date in output
- 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 intprotected SimpleDateFormatprotected Stringprotected Stringstatic final StringString that defines that the field will be used to set the start of a rangestatic final StringString that defines that the field will be used to set the end of a rangeFields 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 TypeMethodDescriptionprotected StringvoidDefines if the field belongs to a date rangevoidSets the format in which the date is presented within the fieldvoidSets the format in which the date is passed to the server when the field is submittedprotected voidsetup()Setup the ComponentMethods inherited from class overit.geocall.basic.ui.control.Output
getContentHtml, getDescriptionHtml, getGenerationHandle, getHiddenHtml, getHtml, getHtmlValue, setEVENT, setEVENTMSG, setEVENTPARAM, setEVENTPROMPT, setEVENTTITLE, setICON, setKEY, setLABEL2, setMINLENGTH, setNAME, setNOWRAP, setNUMERIC, setPROMPTEMPTY, setSIZE, setSTRONG, setStyle, setTRUNCATE, setVALUE, 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
-
_strSdfR
-
_strSdfW
-
_sdf
-
_range
protected int _range -
FROM
String that defines that the field will be used to set the start of a range- See Also:
-
TO
String that defines that the field will be used to set the end of a range- See Also:
-
-
Constructor Details
-
OutputDate
public OutputDate()Creates an OutputDate
-
-
Method Details
-
setSDF
Sets the format in which the date is presented within the field- Parameters:
s- The format for the output of the date
-
setSDFWRITE
Sets the format in which the date is passed to the server when the field is submitted- Parameters:
s- The string use to format of the date
-
setRANGE
Defines if the field belongs to a date range- Parameters:
s- Possible values are:FROM(the field is used to set the start of the range. If the date isn't set, it is automatically set to DATE_MIN field that is interpreted as 01/01/1800) andTO(the field is used to set the end of the range. If the date isn't set, it is automatically set to DATE_MAX field that is interpreted as 01/01/2999)
-
setup
protected void setup()Description copied from class:ComponentSetup the Component -
prepareValue
- Overrides:
prepareValuein classOutput
-