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
Constructors -
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 replacementbooleanIndicates if any format templates are defined.booleanIndicates if any link editors are defined.booleanIndicates if importing CF_HTML content is enabledReturn a set of link editor names.introws()Convenience API forgetRows()returning an integer valuevoidEnables or disables the button for setting bold textvoidsetDevelop(YesNo develop) Sets if debug mode using Java-Console for output is enabledvoidsetEnableImport(YesNo enableImport) Enables the button for importing CF_HTML content. requires the FirstSpirit-Office module.voidDeprecated.since 4.1.10 - no replacementvoidsetImportRuleset(String importRuleset) Defines a comma separated list of available ruleset definitions. requires the FirstSpirit-Office module.voidEnables or disables the button for setting italic textvoidEnables or disables the button for creating listsvoidsetListConfig(String linkConfig) Sets the list configuration dialog definitionvoidsetListDefaultConfig(String linkDefaultConfig) Sets the list variable definitionsvoidsetRows(PositiveInteger rows) Sets the height of the form input field in number of rowsvoidsetWidth(PositiveInteger width) Sets the width of the form field area in pixelsvoidsetWordImport(GomEmbeddedWordImport wordImport) Deprecated.since 4.1.10 - no replacementbooleanConvenience API forgetBold()returning a boolean valuebooleanConvenience API forgetDevelop()returning a boolean valuebooleanShow the button for importing CF_HTML content.booleanDeprecated.since 4.1.10 - no replacementbooleanConvenience API forgetItalic()returning a boolean valuebooleanConvenience API forgetList()returning a boolean valuevoidvalidate(GomCheckable.Context context) Validates the form element's state with respect to the given context.intwidth()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, 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
-
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:GomFormatProviderList of applicable format templates- Specified by:
getFormatsin interfaceGomFormatProvider
-
hasFormats
public boolean hasFormats()Indicates if any format templates are defined.- Since:
- 4.1.10
-
getLinkEditors
Description copied from interface:GomLinkEditorProviderList of valid link editors- Specified by:
getLinkEditorsin 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:AbstractGomFormElementIndicates, whether the next form element should follow in the same line as this one.- Overrides:
getNoBreakin classAbstractGomFormElement- Returns:
YES, to make the next form element follow. Defaults toYesNo.NO.
-
getConvertEntities
Description copied from class:AbstractGomFormElementProvides the mode for entity conversions.- Overrides:
getConvertEntitiesin 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:
trueif enabled, otherwisefalse- Since:
- 4.2
-
isImportEnabled
public boolean isImportEnabled()Description copied from interface:ImportEnablingIndicates if importing CF_HTML content is enabled- Specified by:
isImportEnabledin 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:GomFormatProviderList of names of applicable format templates- Specified by:
formatsin interfaceGomFormatProvider
-
linkEditors
Return a set of link editor names.- Specified by:
linkEditorsin interfaceGomLinkEditorProvider- Returns:
- The set of names.
-
validate
Description copied from class:AbstractGomFormElementValidates the form element's state with respect to the given context. This generic stub does not check anything.- Specified by:
validatein interfaceGomCheckable- Overrides:
validatein classAbstractGomFormElement- Parameters:
context- The context to validate for, must not benull.- Throws:
GomValidationError- if any requirement is violated.
-