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.KindNested 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.booleanConvenience method forgetScrollable()indicating if the group scrolls horizontallybooleanConvenience method forgetScrollable()indicating if the group scrolls verticallyvoidsetHeight(PositiveInteger height) Sets the height of the group in PixelsvoidsetName(Designator name) Set the name that identifies the element.voidsetScrollable(GroupScrollMode scrollable) Sets whether the group is scrollablevoidSets 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, withMethods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfigurationMethods 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:GomNameableGet the name identifying the element.- Specified by:
getNamein interfaceGomNameable- Returns:
- The name.
-
setName
Description copied from interface:GomNameableSet the name that identifies the element.- Specified by:
setNamein 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:GomLangInfoProviderGet the container of language information stored for this element.- Specified by:
getLangInfosin 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:GomNameableGet the name of this form element.- Specified by:
namein interfaceGomNameable- Returns:
- The name.
-
tabs
Convenience API forgetTabs()returning a non-null value- Returns:
- the value of
getTabs()orTabMode.NONEif 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:GomLangInfoProviderResolve the label for the given language or fallback.- Specified by:
labelin interfaceGomLangInfoProvider- Parameters:
lang- The language abbreviation.- Returns:
- The label or null, if no label could be found.
-
description
Description copied from interface:GomLangInfoProviderResolve the description for the given language or fallback.- Specified by:
descriptionin interfaceGomLangInfoProvider- Parameters:
lang- The langauge abbreviation.- Returns:
- The description otr null, if no description could be found.
-