29class AccessibilityNativeHandle;
61 : value (std::move (valueIn)),
62 text (std::move (textIn)),
63 table (std::move (tableIn)),
64 cell (std::move (cellIn))
91 Interfaces interfaces = {});
94 virtual ~AccessibilityHandler();
162 bool isIgnored()
const;
169 bool isVisibleWithinParent()
const;
238 bool hasFocus (
bool trueIfChildFocused) const;
258 void giveAwayFocus() const;
287 static void postAnnouncement (
const String& announcementString, AnnouncementPriority priority);
291 AccessibilityNativeHandle* getNativeImplementation()
const;
295 static void clearCurrentlyFocusedHandler() { currentlyFocusedHandler =
nullptr; }
309 static void* getNativeChildForComponent (Component& component);
311 static void setNativeChildForComponent (Component& component,
void* nativeChild);
313 static Component* getComponentForNativeChild (
void* nativeChild);
317 friend class AccessibilityNativeHandle;
320 void grabFocusInternal (
bool);
321 void giveAwayFocusInternal()
const;
324 static AccessibilityHandler* currentlyFocusedHandler;
327 Component& component;
331 AccessibilityActions actions;
333 Interfaces interfaces;
336 class AccessibilityNativeImpl;
A simple wrapper for building a collection of supported accessibility actions and corresponding callb...
An abstract interface which represents a UI element that supports a cell interface.
Base class for accessible Components.
AccessibilityRole getRole() const noexcept
The type of UI element that this accessibility handler represents.
virtual String getTitle() const
The title of the UI element.
virtual String getHelp() const
Some help text for the UI element (if required).
virtual String getDescription() const
A short description of the UI element.
Component & getComponent() noexcept
Returns the Component that this handler represents.
const Component & getComponent() const noexcept
Returns the Component that this handler represents.
AnnouncementPriority
A priority level that can help an accessibility client determine how to handle an announcement reques...
An abstract interface which represents a UI element that supports a table interface.
An abstract interface which represents a UI element that supports a text interface.
An abstract interface representing the value of an accessibility element.
Represents the state of an accessible UI element.
The base class for all JUCE user-interface objects.
A pair of (x, y) coordinates.
AccessibilityEvent
A list of events that can be notified to any subscribed accessibility clients.
AccessibilityRole
The list of available roles for an AccessibilityHandler object.
Utility struct which holds one or more accessibility interfaces.