JUCE Designer
|
PropertyComponent that shows a multiple selection popup. More...
Public Member Functions | |
EnumerationPropertyComponent (const Value &ValueToControl, const String &propertyName, Array< Enumeration * > *enumerations) | |
Creates a multiple selection property component from an array of Enumeration (struct) objects. | |
void | buttonClicked (Button *buttonThatWasClicked) |
Called when the user clicks the button. | |
Public Member Functions inherited from TextWithButtonPropertyComponent | |
TextWithButtonPropertyComponent (const Value &ValueToControl, const String &propertyName) | |
Creates a PropertyComponent with an editable Label and a TextButton on the right. | |
void | resized () |
Called automatically to resize child components. | |
Additional Inherited Members | |
Public Attributes inherited from TextWithButtonPropertyComponent | |
TextButton * | button |
Pointer to TextButton object. | |
Label * | textLabel |
Pointer to Label object. | |
PropertyComponent that shows a multiple selection popup.
Used to allow the user set an enum based property
Inherits TextWithButtonPropertyComponent.
Definition at line 31 of file EnumerationPropertyComponent.cpp.
|
inline |
Creates a multiple selection property component from an array of Enumeration (struct) objects.
ValueToControl | Value reference to control. |
propertyName | String containing the display name for this PropertyComponent. |
enumerations | Array<Enumeration*> pointer to Enumeration list. |
Definition at line 43 of file EnumerationPropertyComponent.cpp.
|
inlinevirtual |
Called when the user clicks the button.
Shows a popup containing the ticked enumerations.
Implements TextWithButtonPropertyComponent.
Definition at line 63 of file EnumerationPropertyComponent.cpp.
References TextWithButtonPropertyComponent::button, and TextWithButtonPropertyComponent::textLabel.