JUCE: AccessibilityTextValueInterface Class Reference

JUCE

Public Member Functions | List of all members
AccessibilityTextValueInterface Class Referenceabstract
juce_gui_basics » accessibility

A value interface that represents a text value. More...

`#include <juce_AccessibilityValueInterface.h>`

Inheritance diagram for AccessibilityTextValueInterface:

## Public Member Functions
bool | isReadOnly () const override=0
| Returns true if the value is read-only and cannot be modified by an accessibility client. More...
String | getCurrentValueAsString () const override=0
| Returns the current value. More...
void | setValueAsString (const String &newValue) override=0
| Sets the current value to a new value. More...
double | getCurrentValue () const final
void | setValue (double newValue) final
AccessibleValueRange | getRange () const final
Public Member Functions inherited from AccessibilityValueInterface
virtual | ~AccessibilityValueInterface ()=default
| Destructor. More...
virtual bool | isReadOnly () const =0
| Returns true if the value is read-only and cannot be modified by an accessibility client. More...
virtual double | getCurrentValue () const =0
| Returns the current value as a double. More...
virtual String | getCurrentValueAsString () const =0
| Returns the current value as a String. More...
virtual void | setValue (double newValue)=0
| Sets the current value to a new double value. More...
virtual void | setValueAsString (const String &newValue)=0
| Sets the current value to a new String value. More...
virtual AccessibleValueRange | getRange () const =0
| If this is a ranged value, this should return a valid AccessibleValueRange object representing the supported numerical range. More...

## Detailed Description

A value interface that represents a text value.

## Member Function Documentation

## ◆ isReadOnly()

bool AccessibilityTextValueInterface::isReadOnly | ( |  | ) | const
| overridepure virtual

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

See also
  setValueAsString

Implements AccessibilityValueInterface.

## ◆ getCurrentValueAsString()

String AccessibilityTextValueInterface::getCurrentValueAsString | ( |  | ) | const
| overridepure virtual

Returns the current value.

Implements AccessibilityValueInterface.

## ◆ setValueAsString()

void AccessibilityTextValueInterface::setValueAsString | ( | const String & | newValue | ) |
| overridepure virtual

Sets the current value to a new value.

Implements AccessibilityValueInterface.

## ◆ getCurrentValue()

double AccessibilityTextValueInterface::getCurrentValue | ( |  | ) | const
| finalvirtual

Implements AccessibilityValueInterface.

## ◆ setValue()

void AccessibilityTextValueInterface::setValue | ( | double | newValue | ) |
| finalvirtual

Implements AccessibilityValueInterface.

## ◆ getRange()

AccessibleValueRange AccessibilityTextValueInterface::getRange | ( |  | ) | const
| finalvirtual

Implements AccessibilityValueInterface.

The documentation for this class was generated from the following file:

- juce_AccessibilityValueInterface.h