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::SliderAccessibilityHandler Class Referencefinal
Inheritance diagram for juce::SliderAccessibilityHandler:
juce::AccessibilityHandler

Public Member Functions

 SliderAccessibilityHandler (Slider &sliderToWrap)
 
String getHelp () const override
 Some help text for the UI element (if required).
 
- Public Member Functions inherited from juce::AccessibilityHandler
 AccessibilityHandler (Component &componentToWrap, AccessibilityRole accessibilityRole, AccessibilityActions actions={}, Interfaces interfaces={})
 Constructor.
 
virtual ~AccessibilityHandler ()
 Destructor.
 
const ComponentgetComponent () const noexcept
 Returns the Component that this handler represents.
 
ComponentgetComponent () noexcept
 Returns the Component that this handler represents.
 
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 getDescription () const
 A short description of the UI element.
 
virtual AccessibleState getCurrentState () const
 Returns the current state of the UI element.
 
bool isIgnored () const
 Returns true if this UI element should be ignored by accessibility clients.
 
bool isVisibleWithinParent () const
 Returns true if this UI element is visible within its parent.
 
const AccessibilityActionsgetActions () const noexcept
 Returns the set of actions that the UI element supports and the associated callbacks.
 
AccessibilityValueInterfacegetValueInterface () const
 Returns the value interface for this UI element, or nullptr if it is not supported.
 
AccessibilityTableInterfacegetTableInterface () const
 Returns the table interface for this UI element, or nullptr if it is not supported.
 
AccessibilityCellInterfacegetCellInterface () const
 Returns the cell interface for this UI element, or nullptr if it is not supported.
 
AccessibilityTextInterfacegetTextInterface () const
 Returns the text interface for this UI element, or nullptr if it is not supported.
 
AccessibilityHandlergetParent () const
 Returns the first unignored parent of this UI element in the accessibility hierarchy, or nullptr if this is a root element without a parent.
 
std::vector< AccessibilityHandler * > getChildren () const
 Returns the unignored children of this UI element in the accessibility hierarchy.
 
bool isParentOf (const AccessibilityHandler *possibleChild) const noexcept
 Checks whether a given UI element is a child of this one in the accessibility hierarchy.
 
AccessibilityHandlergetChildAt (Point< int > screenPoint)
 Returns the deepest child of this UI element in the accessibility hierarchy that contains the given screen point, or nullptr if there is no child at this point.
 
AccessibilityHandlergetChildFocus ()
 Returns the deepest UI element which currently has focus.
 
bool hasFocus (bool trueIfChildFocused) const
 Returns true if this UI element has the focus.
 
void grabFocus ()
 Tries to give focus to this UI element.
 
void giveAwayFocus () const
 If this UI element or any of its children in the accessibility hierarchy currently have focus, this will defocus it.
 
void notifyAccessibilityEvent (AccessibilityEvent event) const
 Used to send a notification to any observing accessibility clients that something has changed in the UI element.
 
AccessibilityNativeHandle * getNativeImplementation () const
 
std::type_index getTypeIndex () const
 

Additional Inherited Members

- Public Types inherited from juce::AccessibilityHandler
enum class  AnnouncementPriority { low , medium , high }
 A priority level that can help an accessibility client determine how to handle an announcement request. More...
 
- Static Public Member Functions inherited from juce::AccessibilityHandler
static void postAnnouncement (const String &announcementString, AnnouncementPriority priority)
 Posts an announcement to be made to the user.
 
static void clearCurrentlyFocusedHandler ()
 
static voidgetNativeChildForComponent (Component &component)
 
static void setNativeChildForComponent (Component &component, void *nativeChild)
 
static ComponentgetComponentForNativeChild (void *nativeChild)
 

Detailed Description

Definition at line 1757 of file juce_Slider.cpp.

Constructor & Destructor Documentation

◆ SliderAccessibilityHandler()

juce::SliderAccessibilityHandler::SliderAccessibilityHandler ( Slider sliderToWrap)
explicit

Definition at line 1760 of file juce_Slider.cpp.

Member Function Documentation

◆ getHelp()

String juce::SliderAccessibilityHandler::getHelp ( ) const
overridevirtual

Some help text for the UI element (if required).

This may be read out by the system. This string functions in a similar way to a tooltip, for example "Click to open window." for a button which opens a window.

The default implementation will call Component::getHelpText(), but you can override this to return a different string if required.

This must be a localised string.

Reimplemented from juce::AccessibilityHandler.

Definition at line 1769 of file juce_Slider.cpp.


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