Class AbstractGomTextualFormElement
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.AbstractGomTextualFormElement
- All Implemented Interfaces:
GomCheckable,GomElement,GomFormElement,GomHideable,GomLangInfoProvider,GomSearchRelevancy,LineBreakable,Serializable
- Direct Known Subclasses:
GomText,GomTextarea
Abstract base class for textual elements
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable PositiveIntegerWidth of the input form field@Nullable PositiveIntegerMaximum number of characters allowed for inputintlength(int fallback) Convenience API forgetLength()returning the specified fallback if the length is unsetintmaxInputLength(int fallback) Convenience API forgetMaxInputLength()returning the specified fallback if the maximum length is unsetvoidsetLength(@Nullable PositiveInteger length) Sets the width of the input form fieldvoidsetMaxInputLength(@Nullable PositiveInteger maxInputLength) Sets the maximum number of characters allowed for inputMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
allowsEmpty, breaks, clone, convertEntities, description, fillsHorizontally, getAllowEmpty, getConvertEntities, getDefaultValue, getHFill, getHidden, getLabel, getLangInfos, getName, getNoBreak, getPreset, getSearchRelevancy, getUseLanguages, isHidden, label, name, preset, 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
getDefaultTag, 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
-
Constructor Details
-
AbstractGomTextualFormElement
public AbstractGomTextualFormElement()
-
-
Method Details
-
getLength
Width of the input form field- Since:
- 2.0
-
setLength
Sets the width of the input form field- Since:
- 2.0
-
getMaxInputLength
Maximum number of characters allowed for input- Since:
- 2.0
-
setMaxInputLength
Sets the maximum number of characters allowed for input- Since:
- 2.0
-
length
public int length(int fallback) Convenience API forgetLength()returning the specified fallback if the length is unset- Parameters:
fallback- the value to return if the length is unset- Returns:
- the value of
getLength()or the fallback if unset - Since:
- 2.0
-
maxInputLength
public int maxInputLength(int fallback) Convenience API forgetMaxInputLength()returning the specified fallback if the maximum length is unset- Parameters:
fallback- the value to return if the maximum length is unset- Returns:
- the value of
getMaxInputLength()or the fallback if unset - Since:
- 2.0
-