Base class for property components that use juce::Value for data binding.
More...
#include <gin_propertycomponents.h>
Base class for property components that use juce::Value for data binding.
PropertyComponentBase extends JUCE's PropertyComponent to automatically sync with a Value object, handling the listener registration and refresh logic. Derived classes only need to implement the refresh() method to update their UI when the value changes.
- See also
- FilePropertyComponent, ColourPropertyComponent
◆ PropertyComponentBase()
| PropertyComponentBase::PropertyComponentBase |
( |
const juce::Value & |
valueToControl, |
|
|
const juce::String & |
propertyName |
|
) |
| |
◆ getValueObject()
| juce::Value & PropertyComponentBase::getValueObject |
( |
| ) |
|
◆ valueChanged()
| void PropertyComponentBase::valueChanged |
( |
juce::Value & |
| ) |
|
|
overrideprotected |
◆ value
| juce::Value PropertyComponentBase::value |
|
protected |
The documentation for this class was generated from the following file: