A value interface that represents a non-ranged numeric value. More...
#include <juce_AccessibilityValueInterface.h>
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. | |
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. | |
AccessibleValueRange | getRange () const final |
If this is a ranged value, this should return a valid AccessibleValueRange object representing the supported numerical range. | |
Public Member Functions inherited from AccessibilityValueInterface | |
virtual | ~AccessibilityValueInterface ()=default |
Destructor. | |
A value interface that represents a non-ranged numeric value.
|
overridepure virtual |
Returns true if the value is read-only and cannot be modified by an accessibility client.
Implements AccessibilityValueInterface.
|
overridepure virtual |
Returns the current value.
Implements AccessibilityValueInterface.
|
overridepure virtual |
Sets the current value to a new value.
Implements AccessibilityValueInterface.
|
finalvirtual |
Returns the current value as a String.
Implements AccessibilityValueInterface.
|
finalvirtual |
Sets the current value to a new String value.
Implements AccessibilityValueInterface.
|
finalvirtual |
If this is a ranged value, this should return a valid AccessibleValueRange object representing the supported numerical range.
Implements AccessibilityValueInterface.