◆ RemapperValueSource()
juce::ChoicePropertyComponent::RemapperValueSource::RemapperValueSource |
( |
const Value & |
source, |
|
|
const Array< var > & |
map |
|
) |
| |
|
inline |
◆ getValue()
var juce::ChoicePropertyComponent::RemapperValueSource::getValue |
( |
| ) |
const |
|
inlinevirtual |
◆ setValue()
void juce::ChoicePropertyComponent::RemapperValueSource::setValue |
( |
const var & |
newValue | ) |
|
|
inlinevirtual |
Changes the current value. This must also trigger a change message if the value actually changes.
Implements juce::Value::ValueSource.
◆ valueChanged()
void juce::ChoicePropertyComponent::RemapperValueSource::valueChanged |
( |
Value & |
value | ) |
|
|
inlineprotectedvirtual |
Called when a Value object is changed.
Note that the Value object passed as a parameter may not be exactly the same object that you registered the listener with - it might be a copy that refers to the same underlying ValueSource. To find out, you can call Value::refersToSameSourceAs().
Implements juce::Value::Listener.
◆ mappings
Array<var> juce::ChoicePropertyComponent::RemapperValueSource::mappings |
|
protected |
◆ sourceValue
Value juce::ChoicePropertyComponent::RemapperValueSource::sourceValue |
|
protected |
The documentation for this class was generated from the following file: