JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::AccessibilityRangedNumericValueInterface Class Referenceabstract

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

#include <juce_AccessibilityValueInterface.h>

Inheritance diagram for juce::AccessibilityRangedNumericValueInterface:
Collaboration diagram for juce::AccessibilityRangedNumericValueInterface:

Public Member Functions

double getCurrentValue () const override=0
 Returns the current value. More...
 
String getCurrentValueAsString () const final
 
AccessibleValueRange getRange () const override=0
 Returns the range. More...
 
bool isReadOnly () const override=0
 Returns true if the value is read-only and cannot be modified by an accessibility client. More...
 
void setValue (double newValue) override=0
 Sets the current value to a new value. More...
 
void setValueAsString (const String &newValue) final
 

Detailed Description

A value interface that represents a ranged numeric value.

@tags{Accessibility}

Member Function Documentation

◆ getCurrentValue()

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

Returns the current value.

Implements juce::AccessibilityValueInterface.

◆ getCurrentValueAsString()

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

◆ getRange()

AccessibleValueRange juce::AccessibilityRangedNumericValueInterface::getRange ( ) const
overridepure virtual

Returns the range.

Implements juce::AccessibilityValueInterface.

◆ isReadOnly()

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

◆ setValue()

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

Sets the current value to a new value.

Implements juce::AccessibilityValueInterface.

◆ setValueAsString()

void juce::AccessibilityRangedNumericValueInterface::setValueAsString ( const String newValue)
inlinefinalvirtual

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