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

#include <juce_AccessibilityValueInterface.h>

Inheritance diagram for juce::AccessibilityNumericValueInterface:
juce::AccessibilityValueInterface

Public Member Functions

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

Detailed Description

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

@tags{Accessibility}

Member Function Documentation

◆ getCurrentValue()

double juce::AccessibilityNumericValueInterface::getCurrentValue ( ) const
overridepure virtual

Returns the current value.

Implements juce::AccessibilityValueInterface.

◆ getCurrentValueAsString()

String juce::AccessibilityNumericValueInterface::getCurrentValueAsString ( ) const
inlinefinalvirtual

Returns the current value as a String.

Implements juce::AccessibilityValueInterface.

◆ getRange()

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

◆ setValue()

void juce::AccessibilityNumericValueInterface::setValue ( double newValue)
overridepure virtual

Sets the current value to a new value.

Implements juce::AccessibilityValueInterface.

◆ setValueAsString()

void juce::AccessibilityNumericValueInterface::setValueAsString ( const String & newValue)
inlinefinalvirtual

Sets the current value to a new String value.

Implements juce::AccessibilityValueInterface.


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