Class GomScriptButtonEntry
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomLangInfoProvider
de.espirit.firstspirit.access.store.templatestore.gom.GomScriptButtonEntry
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomLangInfoProvider
,Serializable
Entry implementation for defining script-based buttons.
- Since:
- 4.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
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomLangInfoProvider
description, getLabel, label, setLabel, validate
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.lang.Object
clone, 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
-
Field Details
-
TAG
The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomScriptButtonEntry
public GomScriptButtonEntry()
-
-
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.
-
getLangInfos
Description copied from class:AbstractGomLangInfoProvider
Provides the language information.- Specified by:
getLangInfos
in interfaceGomLangInfoProvider
- Overrides:
getLangInfos
in classAbstractGomLangInfoProvider
- Returns:
- The language information container.
-
script
Convenience API returning the script for a specific language- Parameters:
lang
- the language for which the script should be returned- Returns:
- the script, may be
null
if unavailable - Since:
- 4.0
-
verify
Description copied from interface:GomCheckable
Verify the element to be fulfill its syntactic constraints.- Throws:
IllegalStateException
- If the element is not correctly set up.
-