|
LMMS
|
#include <juce_AccessibilityState.h>
Private Types | |
| enum | Flags { checkable = (1 << 0) , checked = (1 << 1) , collapsed = (1 << 2) , expandable = (1 << 3) , expanded = (1 << 4) , focusable = (1 << 5) , focused = (1 << 6) , ignored = (1 << 7) , multiSelectable = (1 << 8) , selectable = (1 << 9) , selected = (1 << 10) , accessibleOffscreen = (1 << 11) } |
Private Member Functions | |
| JUCE_NODISCARD AccessibleState | withFlag (int flag) const noexcept |
| bool | isFlagSet (int flag) const noexcept |
Private Attributes | |
| int | flags = 0 |
Represents the state of an accessible UI element.
An instance of this class is returned by AccessibilityHandler::getCurrentState() to convey its current state to an accessibility client.
@tags{Accessibility}
|
private |
|
default |
Constructor.
Represents a "default" state with no flags set. To set a flag, use one of the withX() methods - these can be chained together to set multiple flags.
|
inlinenoexcept |
Returns true if the UI element is accessible offscreen.
|
inlinenoexcept |
Returns true if the UI element is checkable.
|
inlinenoexcept |
Returns true if the UI element is checked.
|
inlinenoexcept |
Returns true if the UI element is collapsed.
|
inlinenoexcept |
Returns true if the UI element is expandable.
|
inlinenoexcept |
Returns true if the UI element is expanded.
|
inlineprivatenoexcept |
|
inlinenoexcept |
Returns true if the UI element is focusable.
|
inlinenoexcept |
Returns true if the UI element is focused.
|
inlinenoexcept |
Returns true if the UI element is ignored.
|
inlinenoexcept |
Returns true if the UI element supports multiple item selection.
|
inlinenoexcept |
Returns true if the UI element is selectable.
|
inlinenoexcept |
Returns true if the UI element is selected.
|
inlinenoexcept |
Sets the accessible offscreen flag and returns the new state.
|
inlinenoexcept |
Sets the checkable flag and returns the new state.
|
inlinenoexcept |
Sets the checked flag and returns the new state.
|
inlinenoexcept |
Sets the collapsed flag and returns the new state.
|
inlinenoexcept |
Sets the expandable flag and returns the new state.
|
inlinenoexcept |
Sets the expanded flag and returns the new state.
|
inlineprivatenoexcept |
|
inlinenoexcept |
Sets the focusable flag and returns the new state.
|
inlinenoexcept |
Sets the focused flag and returns the new state.
|
inlinenoexcept |
Sets the ignored flag and returns the new state.
|
inlinenoexcept |
Sets the multiSelectable flag and returns the new state.
|
inlinenoexcept |
Sets the selectable flag and returns the new state.
|
inlinenoexcept |
Sets the selected flag and returns the new state.
|
private |