#include <juce_ButtonPropertyComponent.h>
A PropertyComponent that contains a button.
This type of property component can be used if you need a button to trigger some kind of action.
- See Also
- PropertyComponent
ButtonPropertyComponent::ButtonPropertyComponent |
( |
const String & |
propertyName, |
|
|
bool |
triggerOnMouseDown |
|
) |
| |
Creates a button component.
- Parameters
-
ButtonPropertyComponent::~ButtonPropertyComponent |
( |
| ) |
|
virtual void ButtonPropertyComponent::buttonClicked |
( |
| ) |
|
|
pure virtual |
Called when the user clicks the button.
void ButtonPropertyComponent::buttonClicked |
( |
Button * |
| ) |
|
|
virtual |
virtual String ButtonPropertyComponent::getButtonText |
( |
| ) |
const |
|
pure virtual |
Returns the string that should be displayed in the button.
If you need to change this string, call refresh() to update the component.
void ButtonPropertyComponent::refresh |
( |
| ) |
|
The documentation for this class was generated from the following files: