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 TextDisplayModeConvenience API forgetPassword()returningTextDisplayMode.PLAINif unsetbooleaneditable()Convenience API forgetEditable()returning a boolean valueprotected StringReturn 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, ornullif transfer is not supported.voidsetEditable(YesNo editable) Sets if editing is allowedvoidsetPassword(TextDisplayMode password) Sets the mode for displaying the form field contentvoidsetSingleLine(YesNo singleLine) Make the component be single-line instead of being framedbooleanConvenience API forgetSingleLine()()} returning a boolean valueMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomTextualFormElement
getLength, getMaxInputLength, length, maxInputLength, setLength, setMaxInputLengthMethods 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
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, setIncludeConfigurationMethods 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, usesLanguagesMethods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomHideable
isHiddenMethods 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:AbstractGomElementReturn the default tag for a gom element.- Specified by:
 getDefaultTagin 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:GomSingleLineableMake the component be single-line instead of being framed- Specified by:
 setSingleLinein interfaceGomSingleLineable
 - 
getTransferTypes
Description copied from interface:GomTransferHandlingReturns a list of supportedTransferType's, ornullif transfer is not supported.- Specified by:
 getTransferTypesin interfaceGomTransferHandling- Parameters:
 broker- Broker for requesting services or providers.- Returns:
 - supported transfer types, or 
null. 
 - 
displayMode
Convenience API forgetPassword()returningTextDisplayMode.PLAINif unset- Returns:
 - the value of 
getPassword()orTextDisplayMode.PLAINif 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
 
 
 -