A value interface that represents a text value. More...
Public Member Functions | |
bool | isReadOnly () const override=0 |
Returns true if the value is read-only and cannot be modified by an accessibility client. | |
String | getCurrentValueAsString () const override=0 |
Returns the current value. | |
void | setValueAsString (const String &newValue) override=0 |
Sets the current value to a new value. | |
double | getCurrentValue () const final |
void | setValue (double newValue) final |
AccessibleValueRange | getRange () const final |
![]() | |
virtual | ~AccessibilityValueInterface ()=default |
Destructor. | |
virtual bool | isReadOnly () const =0 |
Returns true if the value is read-only and cannot be modified by an accessibility client. | |
virtual double | getCurrentValue () const =0 |
Returns the current value as a double. | |
virtual String | getCurrentValueAsString () const =0 |
Returns the current value as a String. | |
virtual void | setValue (double newValue)=0 |
Sets the current value to a new double value. | |
virtual void | setValueAsString (const String &newValue)=0 |
Sets the current value to a new String value. | |
virtual AccessibleValueRange | getRange () const =0 |
If this is a ranged value, this should return a valid AccessibleValueRange object representing the supported numerical range. | |
A value interface that represents a text 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 |
Implements AccessibilityValueInterface.
|
finalvirtual |
Implements AccessibilityValueInterface.
|
finalvirtual |
Implements AccessibilityValueInterface.