LMMS
Loading...
Searching...
No Matches
juce::AccessibilityTextValueInterface Class Referenceabstract

#include <juce_AccessibilityValueInterface.h>

Inheritance diagram for juce::AccessibilityTextValueInterface:
juce::AccessibilityValueInterface juce::ButtonAccessibilityHandler::ButtonValueInterface juce::ComboBoxAccessibilityHandler::ComboBoxValueInterface juce::LabelAccessibilityHandler::LabelValueInterface

Public Member Functions

bool isReadOnly () const override=0
String getCurrentValueAsString () const override=0
void setValueAsString (const String &newValue) override=0
double getCurrentValue () const final
void setValue (double newValue) final
AccessibleValueRange getRange () const final
Public Member Functions inherited from juce::AccessibilityValueInterface
virtual ~AccessibilityValueInterface ()=default

Detailed Description

A value interface that represents a text value.

@tags{Accessibility}

Member Function Documentation

◆ getCurrentValue()

double juce::AccessibilityTextValueInterface::getCurrentValue ( ) const
inlinefinalvirtual

Returns the current value as a double.

Implements juce::AccessibilityValueInterface.

◆ getCurrentValueAsString()

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

◆ getRange()

AccessibleValueRange juce::AccessibilityTextValueInterface::getRange ( ) const
inlinefinalvirtual

If this is a ranged value, this should return a valid AccessibleValueRange object representing the supported numerical range.

Implements juce::AccessibilityValueInterface.

◆ isReadOnly()

bool juce::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 juce::AccessibilityValueInterface.

Implemented in juce::ButtonAccessibilityHandler::ButtonValueInterface, juce::ComboBoxAccessibilityHandler::ComboBoxValueInterface, and juce::LabelAccessibilityHandler::LabelValueInterface.

◆ setValue()

void juce::AccessibilityTextValueInterface::setValue ( double newValue)
inlinefinalvirtual

Sets the current value to a new double value.

Implements juce::AccessibilityValueInterface.

◆ setValueAsString()

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

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