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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConvenience API forgetAllowInput()returning a boolean value.Indicates if this component allows manual inputprotected StringReturn 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 DateTimeModemode()Convenience method forgetMode()returning a non-null value.@NotNull DatePresetpreset()Convenience method: Provides the preset mode for this form element as a non-null valuevoidsetAllowInput(YesNo allowInput) Sets if this component allows manual inputvoidsetIgnoreFaults(YesNo ignoreFaults) Deprecated.since 4.2.213 - no replacementvoidsetMode(DateTimeMode mode) Sets the date/time mode for handling valuesvoidsetPreset(DatePreset preset) Sets the preset mode to be usedvoidsetSingleLine(YesNo singleLine) Make the component be single-line instead of being framedbooleanConvenience 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, verifyMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfigurationMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin 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:GomSingleLineableMake the component be single-line instead of being framed- Specified by:
setSingleLinein 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:AbstractGomFormElementProvides language dependent information on this form element, like a label and description for multiple languages.- Specified by:
getLangInfosin interfaceGomLangInfoProvider- Overrides:
getLangInfosin classAbstractGomFormElement- Returns:
- A language information container.
-
getPreset
Description copied from class:AbstractGomFormElementProvides the mode for handling preset value for this form element.- Specified by:
getPresetin interfaceGomFormElement- Overrides:
getPresetin 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.DATETIMEif not available - Since:
- 4.2.102
-
preset
Description copied from class:AbstractGomFormElementConvenience method: Provides the preset mode for this form element as a non-null value- Specified by:
presetin interfaceGomFormElement- Overrides:
presetin classAbstractGomFormElement- Returns:
- The preset mode.
-