JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
juce::AccessibilityValueInterface::AccessibleValueRange Class Reference

Represents the range of this value, if supported. More...

#include "juce_AccessibilityValueInterface.h"

Classes

struct  MinAndMax
 The minimum and maximum values for this range, inclusive. More...
 

Public Member Functions

 AccessibleValueRange ()=default
 Constructor.
 
 AccessibleValueRange (MinAndMax valueRange, double interval)
 Constructor.
 
bool isValid () const noexcept
 Returns true if this represents a valid range.
 
double getMinimumValue () const noexcept
 Returns the minimum value for this range.
 
double getMaximumValue () const noexcept
 Returns the maximum value for this range.
 
double getInterval () const noexcept
 Returns the interval for this range.
 

Detailed Description

Represents the range of this value, if supported.

Return one of these from the getRange() method, providing a minimum, maximum, and interval value for the range to indicate that this is a ranged value.

The default state is an "invalid" range, indicating that the accessibility element does not support ranged values.

See also
AccessibilityRangedNumericValueInterface

@tags{Accessibility}

Definition at line 83 of file juce_AccessibilityValueInterface.h.


Class Documentation

◆ juce::AccessibilityValueInterface::AccessibleValueRange::MinAndMax

struct juce::AccessibilityValueInterface::AccessibleValueRange::MinAndMax

The minimum and maximum values for this range, inclusive.

Definition at line 95 of file juce_AccessibilityValueInterface.h.

Class Members
double max
double min

Constructor & Destructor Documentation

◆ AccessibleValueRange() [1/2]

juce::AccessibilityValueInterface::AccessibleValueRange::AccessibleValueRange ( )
default

Constructor.

Creates a default, "invalid" range that can be returned from AccessibilityValueInterface::getRange() to indicate that the value interface does not support ranged values.

◆ AccessibleValueRange() [2/2]

juce::AccessibilityValueInterface::AccessibleValueRange::AccessibleValueRange ( MinAndMax  valueRange,
double  interval 
)

Constructor.

Creates a valid AccessibleValueRange with the provided minimum, maximum, and interval values.

Definition at line 102 of file juce_AccessibilityValueInterface.h.

Member Function Documentation

◆ getInterval()

double juce::AccessibilityValueInterface::AccessibleValueRange::getInterval ( ) const
noexcept

Returns the interval for this range.

Definition at line 120 of file juce_AccessibilityValueInterface.h.

◆ getMaximumValue()

double juce::AccessibilityValueInterface::AccessibleValueRange::getMaximumValue ( ) const
noexcept

Returns the maximum value for this range.

Definition at line 117 of file juce_AccessibilityValueInterface.h.

◆ getMinimumValue()

double juce::AccessibilityValueInterface::AccessibleValueRange::getMinimumValue ( ) const
noexcept

Returns the minimum value for this range.

Definition at line 114 of file juce_AccessibilityValueInterface.h.

◆ isValid()

bool juce::AccessibilityValueInterface::AccessibleValueRange::isValid ( ) const
noexcept

Returns true if this represents a valid range.

Definition at line 111 of file juce_AccessibilityValueInterface.h.


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