Class GomText
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
de.espirit.firstspirit.access.store.templatestore.gom.GomText
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomFormElement
,GomHideable
,GomLangInfoProvider
,GomSearchRelevancy
,GomSingleLineable
,GomTransferHandling
,LineBreakable
,TextGomFormElement
,Serializable
- Direct Known Subclasses:
GomNumber
@NonExtendable
public class GomText
extends AbstractGomTextualFormElement
implements TextGomFormElement, GomSingleLineable, GomTransferHandling
GOM implementation for text.
- 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 TypeMethodDescription@NotNull TextDisplayMode
Convenience API forgetPassword()
returningTextDisplayMode.PLAIN
if unsetboolean
editable()
Convenience API forgetEditable()
returning a boolean valueprotected String
Return the default tag for a gom element.Indicates if editing is allowedMode for displaying the form field contentIndicates if the component is single-line instead of being framed@Nullable List<TransferType<?>>
getTransferTypes
(SpecialistsBroker broker) Returns a list of supportedTransferType
's, ornull
if transfer is not supported.void
setEditable
(YesNo editable) Sets if editing is allowedvoid
setPassword
(TextDisplayMode password) Sets the mode for displaying the form field contentvoid
setSingleLine
(YesNo singleLine) Make the component be single-line instead of being framedboolean
Convenience API forgetSingleLine()
()} returning a boolean valueMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomTextualFormElement
getLength, getMaxInputLength, length, maxInputLength, setLength, setMaxInputLength
Methods 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, 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
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomFormElement
allowsEmpty, breaks, convertEntities, fillsHorizontally, getAllowEmpty, getDefaultValue, getHidden, getName, getPreset, name, preset, setAllowEmpty, setDefaultValue, setHidden, setName, setPreset, usesLanguages
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomHideable
isHidden
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomLangInfoProvider
description, getLangInfos, label
-
Field Details
-
TAG
The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomText
public GomText()
-
-
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.
-
getPassword
Mode for displaying the form field content- Since:
- 4.0
-
setPassword
Sets the mode for displaying the form field content- Since:
- 4.0
-
getEditable
Indicates if editing is allowed- Since:
- 3.1
-
setEditable
Sets if editing is allowed- Since:
- 3.1
-
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
-
getTransferTypes
Description copied from interface:GomTransferHandling
Returns a list of supportedTransferType
's, ornull
if transfer is not supported.- Specified by:
getTransferTypes
in interfaceGomTransferHandling
- Parameters:
broker
- Broker for requesting services or providers.- Returns:
- supported transfer types, or
null
.
-
displayMode
Convenience API forgetPassword()
returningTextDisplayMode.PLAIN
if unset- Returns:
- the value of
getPassword()
orTextDisplayMode.PLAIN
if unset - Since:
- 4.0
-
editable
public boolean editable()Convenience API forgetEditable()
returning a boolean value- Since:
- 3.1
-
singleLine
public boolean singleLine()Convenience API forgetSingleLine()
()} returning a boolean value- Since:
- 4.0
-