Class SettingTab

java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingTab

public class SettingTab extends Object
Identifies a set of groups that may be organized in a tab.
  • Constructor Details

    • SettingTab

      public SettingTab(String name)
      Creates a tab with the given name
    • SettingTab

      public SettingTab(String name, String header)
      Creates a tab with the given name
  • Method Details

    • getName

      public String getName()
      Returns:
      the human readable name of this tab.
    • getHeader

      public String getHeader()
      Returns:
      header description of this tab (displayed at the top of the tab).
    • addGroup

      public void addGroup(SettingGroup grp)
      Adds a group of settings.
    • addGroup

      public SettingGroup addGroup(String groupName)
      Convenience Method. Creates a SettingGroup with the given name and adds it to the tab.
      Parameters:
      groupName - name of the group
      Returns:
      setting group that was added to this tab
    • addGroup

      public SettingGroup addGroup(String groupName, boolean gridLayout)
      Convenience Method. Creates a SettingGroup with the given name and adds it to the tab.
      Parameters:
      groupName - name of the group
      Returns:
      setting group that was added to this tab
    • add

      public SettingTab add(String groupName, SettingDescriptor... settings)
    • getGroups

      public List<SettingGroup> getGroups()
      Returns:
      the list of setting groups in this tab.