|
JUCE Designer
|
Virtual PropertyComponent with small TextButton on the right. More...
Public Member Functions | |
| TextWithButtonPropertyComponent (const Value &ValueToControl, const String &propertyName) | |
| Creates a PropertyComponent with an editable Label and a TextButton on the right. | |
| virtual void | buttonClicked (Button *button)=0 |
| Virtual function called when the user clicks the TextButton. | |
| void | resized () |
| Called automatically to resize child components. | |
Public Attributes | |
| TextButton * | button |
| Pointer to TextButton object. | |
| Label * | textLabel |
| Pointer to Label object. | |
Virtual PropertyComponent with small TextButton on the right.
This class cannot be declared directly, other classes inherits from this one.
Inherits TextPropertyComponent, Button::Listener.
Inherited by ColourPropertyComponent
Definition at line 25 of file TextWithButtonPropertyComponent.h.
| TextWithButtonPropertyComponent::TextWithButtonPropertyComponent | ( | const Value & | ValueToControl, |
| const String & | propertyName | ||
| ) |
Creates a PropertyComponent with an editable Label and a TextButton on the right.
| ValueToControl | Value reference to control. |
| propertyName | String containing the display name for this PropertyComponent. |
Definition at line 13 of file TextWithButtonPropertyComponent.cpp.
|
pure virtual |
Virtual function called when the user clicks the TextButton.
Implemented in EnumerationPropertyComponent, JUCED_ColourPropertyComponent, and FilePropertyComponent.
| void TextWithButtonPropertyComponent::resized | ( | ) |
Called automatically to resize child components.
If reimplemented, use TextWithButtonPropertyComponent::resized() to inherit default resizing.
Definition at line 30 of file TextWithButtonPropertyComponent.cpp.
References button, and textLabel.
Referenced by TextWithButtonPropertyComponent().
| TextButton* TextWithButtonPropertyComponent::button |
Pointer to TextButton object.
Definition at line 30 of file TextWithButtonPropertyComponent.h.
Referenced by FilePropertyComponent::buttonClicked(), JUCED_ColourPropertyComponent::buttonClicked(), EnumerationPropertyComponent::buttonClicked(), resized(), and TextWithButtonPropertyComponent().
| Label* TextWithButtonPropertyComponent::textLabel |
Pointer to Label object.
Definition at line 32 of file TextWithButtonPropertyComponent.h.
Referenced by FilePropertyComponent::buttonClicked(), EnumerationPropertyComponent::buttonClicked(), JUCED_ColourPropertyComponent::changeListenerCallback(), JUCED_ColourPropertyComponent::JUCED_ColourPropertyComponent(), resized(), and TextWithButtonPropertyComponent().