#include <Parameter.h>
Inheritance diagram for dtpf::GroupParameter:
GroupParameter
is a SpecificParameter
whose value can be is a selection from a group of items.
Public Member Functions | |
GroupParameter (const muscle::String &name, const T &default) | |
Construct an OnOffParmeter with the given name and default value. | |
virtual | ~GroupParameter () |
Destroy a GroupParameter . | |
virtual void | SetValue (const T &value) |
Set the value to one of the items in the group. | |
void | AddItem (const muscle::String label, const T &item) |
Add another item to the group. | |
void | RemoveItem (const muscle::String &name) |
Remove an item from the group. | |
void | RemoveItem (const T &item) |
Remove an item from the group. | |
void | SetIsSingleSelection (bool singleSelection) |
Set the group parameter to be single selection or not. | |
bool | GetIsSingleSelection () const |
Find out if the group parameter is single selection of not. | |
virtual void | SetUIType (ParameterUIType uiType) |
Set the UI type to one comaptible with a group parameter. | |
Protected Attributes | |
bool | m_singleSelection |
Indicates whether the group parameter is single selection or not. |
|
Construct an
|
|
Destroy a
|
|
Add another item to the group.
|
|
Find out if the group parameter is single selection of not.
|
|
Remove an item from the group.
|
|
Remove an item from the group.
|
|
Set the group parameter to be single selection or not.
|
|
Set the UI type to one comaptible with a group parameter.
Implements dtpf::Parameter. |
|
Set the value to one of the items in the group.
Reimplemented from dtpf::SpecificParameter. |
|
Indicates whether the group parameter is single selection or not.
|