Class SettingTab
java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingTab
Identifies a set of groups that may be organized in a tab.
-
Constructor Summary
ConstructorDescriptionSettingTab
(String name) Creates a tab with the given nameSettingTab
(String name, String header) Creates a tab with the given name -
Method Summary
Modifier and TypeMethodDescriptionadd
(String groupName, SettingDescriptor... settings) void
addGroup
(SettingGroup grp) Adds a group of settings.Convenience Method.Convenience Method.getName()
-
Constructor Details
-
SettingTab
Creates a tab with the given name -
SettingTab
Creates a tab with the given name
-
-
Method Details
-
getName
- Returns:
- the human readable name of this tab.
-
getHeader
- Returns:
- header description of this tab (displayed at the top of the tab).
-
addGroup
Adds a group of settings. -
addGroup
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
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
-
getGroups
- Returns:
- the list of setting groups in this tab.
-