Class GomDate
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
de.espirit.firstspirit.access.store.templatestore.gom.GomDate
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomFormElement
,GomHideable
,GomLangInfoProvider
,GomSearchRelevancy
,GomSingleLineable
,LineBreakable
,Serializable
Implementation of a Gui XML date element.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Convenience API forgetAllowInput()
returning a boolean value.Indicates if this component allows manual inputprotected String
Return the default tag for a gom element.Deprecated.since 4.2.213 - no replacementProvides language dependent information on this form element, like a label and description for multiple languages.getMode()
The date/time mode for handling valuesProvides the mode for handling preset value for this form element.Indicates if the component is single-line instead of being framed@NotNull DateTimeMode
mode()
Convenience method forgetMode()
returning a non-null value.@NotNull DatePreset
preset()
Convenience method: Provides the preset mode for this form element as a non-null valuevoid
setAllowInput
(YesNo allowInput) Sets if this component allows manual inputvoid
setIgnoreFaults
(YesNo ignoreFaults) Deprecated.since 4.2.213 - no replacementvoid
setMode
(DateTimeMode mode) Sets the date/time mode for handling valuesvoid
setPreset
(DatePreset preset) Sets the preset mode to be usedvoid
setSingleLine
(YesNo singleLine) Make the component be single-line instead of being framedboolean
Convenience API forgetSingleLine()
returning a boolean value.Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
allowsEmpty, breaks, clone, convertEntities, description, fillsHorizontally, getAllowEmpty, getConvertEntities, getDefaultValue, getHFill, getHidden, getLabel, getName, getNoBreak, getSearchRelevancy, getUseLanguages, isHidden, label, name, setAllowEmpty, setConvertEntities, setDefaultValue, setHFill, setHidden, setLabel, setLabelAndDescription, setName, setNoBreak, setPreset, setSearchRelevancy, setUseLanguages, usesLanguages, validate, verify
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Field Details
-
TAG
The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomDate
public GomDate()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElement
Return the default tag for a gom element.- Specified by:
getDefaultTag
in classAbstractGomElement
- Returns:
- The elements default tag.
-
getAllowInput
Indicates if this component allows manual input- Since:
- 2.0
-
setAllowInput
Sets if this component allows manual input- Since:
- 2.0
-
getIgnoreFaults
Deprecated.since 4.2.213 - no replacementIndicates if input not matching the format is forbidden- Since:
- 2.0
-
setIgnoreFaults
Deprecated.since 4.2.213 - no replacementSets if input not matching the format is forbidden- Since:
- 2.0
-
getSingleLine
Indicates if the component is single-line instead of being framed- Since:
- 4.0
-
setSingleLine
Description copied from interface:GomSingleLineable
Make the component be single-line instead of being framed- Specified by:
setSingleLine
in interfaceGomSingleLineable
-
getMode
The date/time mode for handling values- Since:
- 4.2.200
-
setMode
Sets the date/time mode for handling values- Since:
- 4.2.200
-
getLangInfos
Description copied from class:AbstractGomFormElement
Provides language dependent information on this form element, like a label and description for multiple languages.- Specified by:
getLangInfos
in interfaceGomLangInfoProvider
- Overrides:
getLangInfos
in classAbstractGomFormElement
- Returns:
- A language information container.
-
getPreset
Description copied from class:AbstractGomFormElement
Provides the mode for handling preset value for this form element.- Specified by:
getPreset
in interfaceGomFormElement
- Overrides:
getPreset
in classAbstractGomFormElement
- Returns:
- The preset mode. Defaults to
default
.
-
setPreset
Sets the preset mode to be used- Since:
- 4.0
-
allowsInput
public boolean allowsInput()Convenience API forgetAllowInput()
returning a boolean value.- Since:
- 4.0
-
singleLine
public boolean singleLine()Convenience API forgetSingleLine()
returning a boolean value.- Since:
- 4.0
-
mode
Convenience method forgetMode()
returning a non-null value.- Returns:
- the mode of
DateTimeMode.DATETIME
if not available - Since:
- 4.2.102
-
preset
Description copied from class:AbstractGomFormElement
Convenience method: Provides the preset mode for this form element as a non-null value- Specified by:
preset
in interfaceGomFormElement
- Overrides:
preset
in classAbstractGomFormElement
- Returns:
- The preset mode.
-