JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::detail::ButtonAccessibilityHandler::ButtonValueInterface Class Reference
Inheritance diagram for juce::detail::ButtonAccessibilityHandler::ButtonValueInterface:
Collaboration diagram for juce::detail::ButtonAccessibilityHandler::ButtonValueInterface:

Public Member Functions

 ButtonValueInterface (Button &buttonToWrap)
 
double getCurrentValue () const final
 
String getCurrentValueAsString () const override
 Returns the current value.
 
AccessibleValueRange getRange () const final
 
bool isReadOnly () const override
 Returns true if the value is read-only and cannot be modified by an accessibility client.
 
void setValue (double newValue) final
 
void setValueAsString (const String &) override
 Sets the current value to a new value.
 

Private Attributes

Buttonbutton
 

Constructor & Destructor Documentation

◆ ButtonValueInterface()

juce::detail::ButtonAccessibilityHandler::ButtonValueInterface::ButtonValueInterface ( Button buttonToWrap)
inlineexplicit

Member Function Documentation

◆ getCurrentValue()

double juce::AccessibilityTextValueInterface::getCurrentValue ( ) const
inlinefinalvirtualinherited

◆ getCurrentValueAsString()

String juce::detail::ButtonAccessibilityHandler::ButtonValueInterface::getCurrentValueAsString ( ) const
inlineoverridevirtual

Returns the current value.

Implements juce::AccessibilityTextValueInterface.

References button, and juce::Button::getToggleState().

◆ getRange()

AccessibleValueRange juce::AccessibilityTextValueInterface::getRange ( ) const
inlinefinalvirtualinherited

◆ isReadOnly()

bool juce::detail::ButtonAccessibilityHandler::ButtonValueInterface::isReadOnly ( ) const
inlineoverridevirtual

Returns true if the value is read-only and cannot be modified by an accessibility client.

See also
setValueAsString

Implements juce::AccessibilityTextValueInterface.

◆ setValue()

void juce::AccessibilityTextValueInterface::setValue ( double  newValue)
inlinefinalvirtualinherited

◆ setValueAsString()

void juce::detail::ButtonAccessibilityHandler::ButtonValueInterface::setValueAsString ( const String newValue)
inlineoverridevirtual

Sets the current value to a new value.

Implements juce::AccessibilityTextValueInterface.

Member Data Documentation

◆ button

Button& juce::detail::ButtonAccessibilityHandler::ButtonValueInterface::button
private

Referenced by getCurrentValueAsString().


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