All Implemented Interfaces:
GomCheckable, GomEditorProvider, GomElement, GomLangInfoProvider, GomList<GomElement>, GomNameable, SpecialistsEmployer, Serializable, Iterable<GomElement>, Collection<GomElement>, List<GomElement>

@NonExtendable public class GomGroup extends GomModule implements GomLangInfoProvider, GomNameable
GOM implementation for groups.
Since:
4.0
See Also:
  • Field Details

  • Constructor Details

    • GomGroup

      public GomGroup()
      Creates a new instance
      Since:
      4.0
  • Method Details

    • getName

      public Designator getName()
      Description copied from interface: GomNameable
      Get the name identifying the element.
      Specified by:
      getName in interface GomNameable
      Returns:
      The name.
    • setName

      public void setName(Designator name)
      Description copied from interface: GomNameable
      Set the name that identifies the element.
      Specified by:
      setName in interface GomNameable
      Parameters:
      name - The name.
    • getTabs

      public TabMode getTabs()
      The tab rendering mode
      Since:
      4.0
    • setTabs

      public void setTabs(TabMode tabs)
      Sets the tab rendering mode
      Since:
      4.0
    • getScrollable

      public GroupScrollMode getScrollable()
      Determines whether the group is scrollable
      Since:
      4.0
    • setScrollable

      public void setScrollable(GroupScrollMode scrollable)
      Sets whether the group is scrollable
      Since:
      4.0
    • getLangInfos

      public DefaultGomLangInfos getLangInfos()
      Description copied from interface: GomLangInfoProvider
      Get the container of language information stored for this element.
      Specified by:
      getLangInfos in interface GomLangInfoProvider
      Returns:
      The language information container.
    • getHeight

      public PositiveInteger getHeight()
      Defines the height of the group in Pixels. Values lower than 200 will be ignored.
      Since:
      4.0.20
    • setHeight

      public void setHeight(PositiveInteger height)
      Sets the height of the group in Pixels
      Since:
      4.0.28
    • name

      public String name()
      Description copied from interface: GomNameable
      Get the name of this form element.
      Specified by:
      name in interface GomNameable
      Returns:
      The name.
    • tabs

      public TabMode tabs()
      Convenience API for getTabs() returning a non-null value
      Returns:
      the value of getTabs() or TabMode.NONE if unset
      Since:
      4.0
    • scrollsHorizontally

      public boolean scrollsHorizontally()
      Convenience method for getScrollable() indicating if the group scrolls horizontally
      Since:
      4.0
    • scrollsVertically

      public boolean scrollsVertically()
      Convenience method for getScrollable() indicating if the group scrolls vertically
      Since:
      4.0
    • label

      public String label(String lang)
      Description copied from interface: GomLangInfoProvider
      Resolve the label for the given language or fallback.
      Specified by:
      label in interface GomLangInfoProvider
      Parameters:
      lang - The language abbreviation.
      Returns:
      The label or null, if no label could be found.
    • description

      public String description(String lang)
      Description copied from interface: GomLangInfoProvider
      Resolve the description for the given language or fallback.
      Specified by:
      description in interface GomLangInfoProvider
      Parameters:
      lang - The langauge abbreviation.
      Returns:
      The description otr null, if no description could be found.