Class GomGroup
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<GomElement>
de.espirit.firstspirit.access.store.templatestore.gom.GomModule
de.espirit.firstspirit.access.store.templatestore.gom.GomGroup
- All Implemented Interfaces:
GomCheckable
,GomEditorProvider
,GomElement
,GomLangInfoProvider
,GomList<GomElement>
,GomNameable
,SpecialistsEmployer
,Serializable
,Iterable<GomElement>
,Collection<GomElement>
,List<GomElement>
GOM implementation for groups.
- Since:
- 4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.espirit.firstspirit.access.store.templatestore.gom.GomModule
GomModule.Kind
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription
(String lang) Resolve the description for the given language or fallback.Defines the height of the group in Pixels.Get the container of language information stored for this element.getName()
Get the name identifying the element.Determines whether the group is scrollablegetTabs()
The tab rendering modeResolve the label for the given language or fallback.name()
Get the name of this form element.boolean
Convenience method forgetScrollable()
indicating if the group scrolls horizontallyboolean
Convenience method forgetScrollable()
indicating if the group scrolls verticallyvoid
setHeight
(PositiveInteger height) Sets the height of the group in Pixelsvoid
setName
(Designator name) Set the name that identifies the element.void
setScrollable
(GroupScrollMode scrollable) Sets whether the group is scrollablevoid
Sets the tab rendering modetabs()
Convenience API forgetTabs()
returning a non-null valueMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.GomModule
add, appendEditorNames, equals, findEditor, forms, get, getGomElementMappings, getGomElementTag, getIncludeConfiguration, getMonoglotVariant, getSpecialistsBroker, getUid, hashCode, hasRepresentation, remove, set, setDefaults, setFormDefaults, setGomElementTag, setIncludeConfiguration, setSpecialistsBroker, setUid, size, validate, verify, with
Methods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
-
Field Details
-
TAG
The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomGroup
public GomGroup()Creates a new instance- Since:
- 4.0
-
-
Method Details
-
getName
Description copied from interface:GomNameable
Get the name identifying the element.- Specified by:
getName
in interfaceGomNameable
- Returns:
- The name.
-
setName
Description copied from interface:GomNameable
Set the name that identifies the element.- Specified by:
setName
in interfaceGomNameable
- Parameters:
name
- The name.
-
getTabs
The tab rendering mode- Since:
- 4.0
-
setTabs
Sets the tab rendering mode- Since:
- 4.0
-
getScrollable
Determines whether the group is scrollable- Since:
- 4.0
-
setScrollable
Sets whether the group is scrollable- Since:
- 4.0
-
getLangInfos
Description copied from interface:GomLangInfoProvider
Get the container of language information stored for this element.- Specified by:
getLangInfos
in interfaceGomLangInfoProvider
- Returns:
- The language information container.
-
getHeight
Defines the height of the group in Pixels. Values lower than 200 will be ignored.- Since:
- 4.0.20
-
setHeight
Sets the height of the group in Pixels- Since:
- 4.0.28
-
name
Description copied from interface:GomNameable
Get the name of this form element.- Specified by:
name
in interfaceGomNameable
- Returns:
- The name.
-
tabs
Convenience API forgetTabs()
returning a non-null value- Returns:
- the value of
getTabs()
orTabMode.NONE
if unset - Since:
- 4.0
-
scrollsHorizontally
public boolean scrollsHorizontally()Convenience method forgetScrollable()
indicating if the group scrolls horizontally- Since:
- 4.0
-
scrollsVertically
public boolean scrollsVertically()Convenience method forgetScrollable()
indicating if the group scrolls vertically- Since:
- 4.0
-
label
Description copied from interface:GomLangInfoProvider
Resolve the label for the given language or fallback.- Specified by:
label
in interfaceGomLangInfoProvider
- Parameters:
lang
- The language abbreviation.- Returns:
- The label or null, if no label could be found.
-
description
Description copied from interface:GomLangInfoProvider
Resolve the description for the given language or fallback.- Specified by:
description
in interfaceGomLangInfoProvider
- Parameters:
lang
- The langauge abbreviation.- Returns:
- The description otr null, if no description could be found.
-