Loading...
Searching...
No Matches
Public Member Functions | List of all members
AccessibilityNumericValueInterface Class Referenceabstract

A value interface that represents a non-ranged numeric value. More...

Inheritance diagram for AccessibilityNumericValueInterface:

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
 
void setValueAsString (const String &newValue) final
 
AccessibleValueRange getRange () const final
 
- Public Member Functions inherited from AccessibilityValueInterface
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.
 

Detailed Description

A value interface that represents a non-ranged numeric value.

Member Function Documentation

◆ isReadOnly()

bool AccessibilityNumericValueInterface::isReadOnly ( ) const
overridepure virtual

Returns true if the value is read-only and cannot be modified by an accessibility client.

See also
setValue

Implements AccessibilityValueInterface.

◆ getCurrentValue()

double AccessibilityNumericValueInterface::getCurrentValue ( ) const
overridepure virtual

Returns the current value.

Implements AccessibilityValueInterface.

◆ setValue()

void AccessibilityNumericValueInterface::setValue ( double  newValue)
overridepure virtual

Sets the current value to a new value.

Implements AccessibilityValueInterface.

◆ getCurrentValueAsString()

String AccessibilityNumericValueInterface::getCurrentValueAsString ( ) const
finalvirtual

◆ setValueAsString()

void AccessibilityNumericValueInterface::setValueAsString ( const String newValue)
finalvirtual

◆ getRange()

AccessibleValueRange AccessibilityNumericValueInterface::getRange ( ) const
finalvirtual

The documentation for this class was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram