Class GomTextarea
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.GomTextarea
- All Implemented Interfaces:
GomCheckable,GomElement,GomFormElement,GomHideable,GomLangInfoProvider,GomSearchRelevancy,GomTransferHandling,LineBreakable,Serializable
@NonExtendable
public class GomTextarea
extends AbstractGomTextualFormElement
implements GomTransferHandling
GuiXML implementation for text areas.
- 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 TypeMethodDescriptionintcolumns(int fallback) Convenience API forgetColumns()returning a fallback if unsetNumber of columnsprotected StringReturn the default tag for a gom element.Deprecated.since 5.0.35 - no replacementgetRows()Number of rows@Nullable List<TransferType<?>>getTransferTypes(SpecialistsBroker broker) Returns a list of supportedTransferType's, ornullif transfer is not supported.booleanhtmlMode()Deprecated.since 5.0.35 with no replacement, will always returnfalseintrows()Convenience API forgetRows()returning a default of 4 if unsetintrows(int fallback) Convenience API forgetRows()returning a fallback if unsetvoidsetColumns(PositiveInteger columns) Sets the number of columnsvoidsetHtmlMode(YesNo htmlMode) Sets if to switch to HTML mode when using ContentCreatorvoidsetRows(PositiveInteger rows) Sets the number of rowsMethods 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, setIncludeConfiguration
-
Field Details
-
TAG
The tag of this component- Since:
- 4.2
- See Also:
-
-
Constructor Details
-
GomTextarea
public GomTextarea()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getColumns
Number of columns- Since:
- 2.0
-
setColumns
Sets the number of columns- Since:
- 2.0
-
getRows
Number of rows- Since:
- 2.0
-
setRows
Sets the number of rows- Since:
- 2.0
-
getHtmlMode
Deprecated.since 5.0.35 - no replacementSwitch to HTML mode when using ContentCreator- Since:
- 3.1
-
setHtmlMode
Sets if to switch to HTML mode when using ContentCreator- Since:
- 3.1
-
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.
-
rows
public int rows(int fallback) Convenience API forgetRows()returning a fallback if unset- Parameters:
fallback- the fallback to return if the number of rows is unset- Returns:
- the number of rows or the specified fallback if unset
- Since:
- 2.0
-
rows
public int rows()Convenience API forgetRows()returning a default of 4 if unset- Returns:
- the number of rows or 4 if unset
- Since:
- 4.1.3
-
columns
public int columns(int fallback) Convenience API forgetColumns()returning a fallback if unset- Parameters:
fallback- the fallback to return if the number of columns is unset- Returns:
- the number of columns or the specified fallback if unset
- Since:
- 2.0
-
htmlMode
Deprecated.since 5.0.35 with no replacement, will always returnfalseConvenience API forgetHtmlMode().- Returns:
false
-