A value interface that represents a ranged numeric value.
Public Member Functions | |
| bool | isReadOnly () const override=0 |
| Returns true if the value is read-only and cannot be modified by an accessibility client. | |
| double | getCurrentValue () const override=0 |
| Returns the current value. | |
| void | setValue (double newValue) override=0 |
| Sets the current value to a new value. | |
| AccessibleValueRange | getRange () const override=0 |
| Returns the range. | |
| String | getCurrentValueAsString () const final |
| Returns the current value as a String. | |
| void | setValueAsString (const String &newValue) final |
| Sets the current value to a new String value. | |
| Public Member Functions inherited from juce::AccessibilityValueInterface | |
| virtual | ~AccessibilityValueInterface ()=default |
| Destructor. | |
|
overridepure virtual |
Returns true if the value is read-only and cannot be modified by an accessibility client.
Implements juce::AccessibilityValueInterface.
|
overridepure virtual |
Returns the current value.
Implements juce::AccessibilityValueInterface.
Referenced by getCurrentValueAsString().
|
overridepure virtual |
Sets the current value to a new value.
Implements juce::AccessibilityValueInterface.
Referenced by setValueAsString().
|
overridepure virtual |
Returns the range.
Implements juce::AccessibilityValueInterface.
|
inlinefinalvirtual |
Returns the current value as a String.
Implements juce::AccessibilityValueInterface.
References getCurrentValue().
|
inlinefinalvirtual |
Sets the current value to a new String value.
Implements juce::AccessibilityValueInterface.
References setValue().