#include <Parameter.h>
Inheritance diagram for dtpf::TextParameter:
TextParameter
is a StringParameter
with values that can be single or multiple line text strings.
Public Member Functions | |
TextParameter (const muscle::String &name, const T &value, const T &default) | |
Construct a TextParameter with the given name, and initial and default values. | |
virtual | ~TextParameter () |
Destroy a TextParameter . | |
virtual void | SetValue (const T &value) |
Set the parameter string. | |
void | SetIsSingleLine (bool isSingleLine) |
Set the parameter to be single line or not. | |
bool | GetIsSingleLine () const |
Find out if the parameter is set to be single line or not. | |
virtual void | SetUIType (ParameterUIType uiType) |
Set the UI type to one comaptible with a text parameter. | |
Protected Attributes | |
bool | m_isSingleLine |
Indicates if the parameter is set to single line or not. |
|
Construct a
By default
|
|
Destroy a
|
|
Find out if the parameter is set to be single line or not.
|
|
Set the parameter to be single line or not.
|
|
Set the UI type to one comaptible with a text parameter.
Implements dtpf::Parameter. |
|
Set the parameter string. The value will not be set if the parameter is set to single line and the new value contains any newline characters.
Reimplemented from dtpf::SpecificParameter. |
|
Indicates if the parameter is set to single line or not.
|