Class AbstractGomDom
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.AbstractGomDom
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomFormatProvider
,GomFormElement
,GomHideable
,GomLangInfoProvider
,GomLinkEditorProvider
,GomSearchRelevancy
,ImportEnabling
,LineBreakable
,Serializable
- Direct Known Subclasses:
GomDom
,GomDomTable
@NonExtendable
public abstract class AbstractGomDom
extends AbstractGomFormElement
implements GomLinkEditorProvider, GomFormatProvider, ImportEnabling
Abstract base implementation for DOM
- Since:
- 4.1.10
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformats()
List of names of applicable format templatesgetBold()
Indicates if the button for setting bold text is enabledProvides the mode for entity conversions.Indicates if debug mode using Java-Console for output is enabledGet the editor state for importing CF_HTML content. requires the FirstSpirit-Office module.List of applicable format templatesDeprecated.since 4.1.10 - no replacementGet a comma separated list of available ruleset definitions. requires the FirstSpirit-Office module.Indicates if the button for setting italic text is enabledList of valid link editorsgetList()
Indicates if the button for creating lists is enabledList configuration dialog definitionList variable definitionsIndicates, whether the next form element should follow in the same line as this one.getRows()
Height of the form input field in number of rowsgetWidth()
Width of the form field area in pixelsDeprecated.since 4.1.10 - no replacementboolean
Indicates if any format templates are defined.boolean
Indicates if any link editors are defined.boolean
Indicates if importing CF_HTML content is enabledReturn a set of link editor names.int
rows()
Convenience API forgetRows()
returning an integer valuevoid
Enables or disables the button for setting bold textvoid
setDevelop
(YesNo develop) Sets if debug mode using Java-Console for output is enabledvoid
setEnableImport
(YesNo enableImport) Enables the button for importing CF_HTML content. requires the FirstSpirit-Office module.void
Deprecated.since 4.1.10 - no replacementvoid
setImportRuleset
(String importRuleset) Defines a comma separated list of available ruleset definitions. requires the FirstSpirit-Office module.void
Enables or disables the button for setting italic textvoid
Enables or disables the button for creating listsvoid
setListConfig
(String linkConfig) Sets the list configuration dialog definitionvoid
setListDefaultConfig
(String linkDefaultConfig) Sets the list variable definitionsvoid
setRows
(PositiveInteger rows) Sets the height of the form input field in number of rowsvoid
setWidth
(PositiveInteger width) Sets the width of the form field area in pixelsvoid
setWordImport
(GomEmbeddedWordImport wordImport) Deprecated.since 4.1.10 - no replacementboolean
Convenience API forgetBold()
returning a boolean valueboolean
Convenience API forgetDevelop()
returning a boolean valueboolean
Show the button for importing CF_HTML content.boolean
Deprecated.since 4.1.10 - no replacementboolean
Convenience API forgetItalic()
returning a boolean valueboolean
Convenience API forgetList()
returning a boolean valuevoid
validate
(GomCheckable.Context context) Validates the form element's state with respect to the given context.int
width()
Convenience API forgetWidth()
returning an integer valueMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
allowsEmpty, breaks, clone, convertEntities, description, fillsHorizontally, getAllowEmpty, getDefaultValue, getHFill, getHidden, getLabel, getLangInfos, getName, getPreset, getSearchRelevancy, getUseLanguages, isHidden, label, name, preset, setAllowEmpty, setConvertEntities, setDefaultValue, setHFill, setHidden, setLabel, setLabelAndDescription, setName, setNoBreak, setPreset, setSearchRelevancy, setUseLanguages, usesLanguages, verify
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getDefaultTag, 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
-
Constructor Details
-
AbstractGomDom
public AbstractGomDom()
-
-
Method Details
-
getBold
Indicates if the button for setting bold text is enabled- Since:
- 2.0
-
setBold
Enables or disables the button for setting bold text- Since:
- 2.0
-
getImport
Deprecated.since 4.1.10 - no replacementIndicates if the button for importing from MS Word (R) is enabled- Since:
- 2.1
-
setImport
Deprecated.since 4.1.10 - no replacementSets if the button for importing from MS Word (R) is enabled- Since:
- 2.1
-
getEnableImport
Get the editor state for importing CF_HTML content. requires the FirstSpirit-Office module.- Returns:
- YesNo Enable button for importing CF_HTML content.
- Since:
- 4.2
-
setEnableImport
Enables the button for importing CF_HTML content. requires the FirstSpirit-Office module.- Parameters:
enableImport
- Enable button for importing CF_HTML content.- Since:
- 4.2
-
getImportRuleset
Get a comma separated list of available ruleset definitions. requires the FirstSpirit-Office module.- Returns:
- a comma separated list of the available ruleset.
- Since:
- 4.2
-
setImportRuleset
Defines a comma separated list of available ruleset definitions. requires the FirstSpirit-Office module.- Parameters:
importRuleset
- a comma separated list of the available ruleset definitions.- Since:
- 4.2
-
getDevelop
Indicates if debug mode using Java-Console for output is enabled- Since:
- 2.1
-
setDevelop
Sets if debug mode using Java-Console for output is enabled- Since:
- 2.0
-
getItalic
Indicates if the button for setting italic text is enabled- Since:
- 2.0
-
setItalic
Enables or disables the button for setting italic text- Since:
- 2.0
-
getList
Indicates if the button for creating lists is enabled- Since:
- 2.3
-
setList
Enables or disables the button for creating lists- Since:
- 2.3
-
getRows
Height of the form input field in number of rows- Since:
- 2.0
-
setRows
Sets the height of the form input field in number of rows- Since:
- 2.0
-
getWidth
Width of the form field area in pixels- Since:
- 2.0
-
setWidth
Sets the width of the form field area in pixels- Since:
- 2.0
-
getWordImport
Deprecated.since 4.1.10 - no replacementEmbedded word import definition- Since:
- 4.0
-
setWordImport
Deprecated.since 4.1.10 - no replacementSets the embedded word import definition- Since:
- 4.0
-
getFormats
Description copied from interface:GomFormatProvider
List of applicable format templates- Specified by:
getFormats
in interfaceGomFormatProvider
-
hasFormats
public boolean hasFormats()Indicates if any format templates are defined.- Since:
- 4.1.10
-
getLinkEditors
Description copied from interface:GomLinkEditorProvider
List of valid link editors- Specified by:
getLinkEditors
in interfaceGomLinkEditorProvider
-
hasLinkEditors
public boolean hasLinkEditors()Indicates if any link editors are defined.- Since:
- 4.1.10
-
getListConfig
List configuration dialog definition- Since:
- 2.3
-
setListConfig
Sets the list configuration dialog definition- Since:
- 4.1.10
-
getListDefaultConfig
List variable definitions- Since:
- 2.3
-
setListDefaultConfig
Sets the list variable definitions- Since:
- 4.1.10
-
getNoBreak
Description copied from class:AbstractGomFormElement
Indicates, whether the next form element should follow in the same line as this one.- Overrides:
getNoBreak
in classAbstractGomFormElement
- Returns:
YES
, to make the next form element follow. Defaults toYesNo.NO
.
-
getConvertEntities
Description copied from class:AbstractGomFormElement
Provides the mode for entity conversions.- Overrides:
getConvertEntities
in classAbstractGomFormElement
- Returns:
- The entity conversion mode. Default is
none
.
-
showsBold
public boolean showsBold()Convenience API forgetBold()
returning a boolean value- Since:
- 4.1.10
-
showsItalic
public boolean showsItalic()Convenience API forgetItalic()
returning a boolean value- Since:
- 4.1.10
-
showsList
public boolean showsList()Convenience API forgetList()
returning a boolean value- Since:
- 4.1.10
-
showsImport
Deprecated.since 4.1.10 - no replacementConvenience API forgetImport()
returning a boolean value- Since:
- 4.1.10
-
showsEnableImport
public boolean showsEnableImport()Show the button for importing CF_HTML content.- Returns:
true
if enabled, otherwisefalse
- Since:
- 4.2
-
isImportEnabled
public boolean isImportEnabled()Description copied from interface:ImportEnabling
Indicates if importing CF_HTML content is enabled- Specified by:
isImportEnabled
in interfaceImportEnabling
-
showsDevelop
public boolean showsDevelop()Convenience API forgetDevelop()
returning a boolean value- Since:
- 4.1.10
-
rows
public int rows()Convenience API forgetRows()
returning an integer value- Since:
- 4.1.10
-
width
public int width()Convenience API forgetWidth()
returning an integer value- Since:
- 4.1.10
-
formats
Description copied from interface:GomFormatProvider
List of names of applicable format templates- Specified by:
formats
in interfaceGomFormatProvider
-
linkEditors
Return a set of link editor names.- Specified by:
linkEditors
in interfaceGomLinkEditorProvider
- Returns:
- The set of names.
-
validate
Description copied from class:AbstractGomFormElement
Validates the form element's state with respect to the given context. This generic stub does not check anything.- Specified by:
validate
in interfaceGomCheckable
- Overrides:
validate
in classAbstractGomFormElement
- Parameters:
context
- The context to validate for.- Throws:
GomValidationError
- if any requirement is violated.
-