Represents the range of this value, if supported.
More...
#include <juce_AccessibilityValueInterface.h>
|
struct | MinAndMax |
| The minimum and maximum values for this range, inclusive. More...
|
|
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}
◆ AccessibleValueRange() [1/2]
juce::AccessibilityValueInterface::AccessibleValueRange::AccessibleValueRange |
( |
| ) |
|
|
default |
◆ AccessibleValueRange() [2/2]
juce::AccessibilityValueInterface::AccessibleValueRange::AccessibleValueRange |
( |
MinAndMax |
valueRange, |
|
|
double |
interval |
|
) |
| |
|
inline |
◆ getInterval()
double juce::AccessibilityValueInterface::AccessibleValueRange::getInterval |
( |
| ) |
const |
|
inlinenoexcept |
Returns the interval for this range.
◆ getMaximumValue()
double juce::AccessibilityValueInterface::AccessibleValueRange::getMaximumValue |
( |
| ) |
const |
|
inlinenoexcept |
◆ getMinimumValue()
double juce::AccessibilityValueInterface::AccessibleValueRange::getMinimumValue |
( |
| ) |
const |
|
inlinenoexcept |
◆ isValid()
bool juce::AccessibilityValueInterface::AccessibleValueRange::isValid |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if this represents a valid range.
◆ range
MinAndMax juce::AccessibilityValueInterface::AccessibleValueRange::range {} |
|
private |
◆ stepSize
double juce::AccessibilityValueInterface::AccessibleValueRange::stepSize = 0.0 |
|
private |
◆ valid
bool juce::AccessibilityValueInterface::AccessibleValueRange::valid = false |
|
private |
The documentation for this class was generated from the following file: