|
LMMS
|
#include <juce_AccessibilityValueInterface.h>
Classes | |
| struct | MinAndMax |
Public Member Functions | |
| AccessibleValueRange ()=default | |
| AccessibleValueRange (MinAndMax valueRange, double interval) | |
| bool | isValid () const noexcept |
| double | getMinimumValue () const noexcept |
| double | getMaximumValue () const noexcept |
| double | getInterval () const noexcept |
Private Attributes | |
| bool | valid = false |
| MinAndMax | range {} |
| double | stepSize = 0.0 |
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.
@tags{Accessibility}
|
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.
|
inline |
Constructor.
Creates a valid AccessibleValueRange with the provided minimum, maximum, and interval values.
|
inlinenoexcept |
Returns the interval for this range.
|
inlinenoexcept |
Returns the maximum value for this range.
|
inlinenoexcept |
Returns the minimum value for this range.
|
inlinenoexcept |
Returns true if this represents a valid range.
|
private |
|
private |
|
private |