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
  • Method Details

    • getName

      public String getName()
      Returns:
      the human readable name of this 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
    • getGroups

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