LibreOffice Module accessibility (master) 1
Public Member Functions | Private Member Functions | List of all members
VCLXAccessibleDropDownComboBox Class Referencefinal

The accessible drop down combobox has two children. More...

#include <vclxaccessibledropdowncombobox.hxx>

Inheritance diagram for VCLXAccessibleDropDownComboBox:
[legend]
Collaboration diagram for VCLXAccessibleDropDownComboBox:
[legend]

Public Member Functions

 VCLXAccessibleDropDownComboBox (VCLXWindow *pVCLXindow)
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from VCLXAccessibleBox
 VCLXAccessibleBox (VCLXWindow *pVCLXindow, BoxType aType, bool bIsDropDownBox)
 The constructor is initialized with the box type which may be either COMBOBOX or LISTBOX and a flag indicating whether the box is a drop down box. More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
sal_Int64 SAL_CALL getAccessibleChildCount () final override
 Each object has one or two children: an optional text field and the actual list. More...
 
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 i) override
 For drop down list boxes the text field is a not editable VCLXAccessibleTextField, for combo boxes it is an editable VCLXAccessibleEdit. More...
 
sal_Int16 SAL_CALL getAccessibleRole () override
 The role is always AccessibleRole::COMBO_BOX. More...
 
virtual sal_Int32 SAL_CALL getAccessibleActionCount () final override
 There is one action for drop down boxes and none for others. More...
 
virtual sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex) override
 The action for drop down boxes lets the user toggle the visibility of the popup menu. More...
 
virtual OUString SAL_CALL getAccessibleActionDescription (sal_Int32 nIndex) override
 The returned string is associated with resource RID_STR_ACC_ACTION_TOGGLEPOPUP. More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding (sal_Int32 nIndex) override
 No keybinding returned so far. More...
 
virtual css::uno::Any SAL_CALL getCurrentValue () override
 
virtual sal_Bool SAL_CALL setCurrentValue (const css::uno::Any &aNumber) override
 
virtual css::uno::Any SAL_CALL getMaximumValue () override
 
virtual css::uno::Any SAL_CALL getMinimumValue () override
 
virtual css::uno::Any SAL_CALL getMinimumIncrement () override
 

Private Member Functions

virtual ~VCLXAccessibleDropDownComboBox () override=default
 
virtual bool IsValid () const override
 Returns true when the object is valid. More...
 
virtual void ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) override
 

Additional Inherited Members

- Public Types inherited from VCLXAccessibleBox
enum  BoxType {
  COMBOBOX ,
  LISTBOX
}
 
- Protected Member Functions inherited from VCLXAccessibleBox
virtual ~VCLXAccessibleBox () override=default
 
virtual bool IsValid () const =0
 Returns true when the object is valid. More...
 
virtual void ProcessWindowChildEvent (const VclWindowEvent &rVclWindowEvent) override
 
virtual void ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) override
 
virtual void FillAccessibleStateSet (sal_Int64 &rStateSet) override
 
sal_Int64 implGetAccessibleChildCount ()
 

Detailed Description

The accessible drop down combobox has two children.

The first is the text field represented by an object of the VCLXAccessibleEdit class. The second is the list containing all items and is represented by an object of the VCLXAccessibleList class which does not support selection at the moment.

Definition at line 31 of file vclxaccessibledropdowncombobox.hxx.

Constructor & Destructor Documentation

◆ VCLXAccessibleDropDownComboBox()

VCLXAccessibleDropDownComboBox::VCLXAccessibleDropDownComboBox ( VCLXWindow pVCLXindow)

Definition at line 32 of file vclxaccessibledropdowncombobox.cxx.

References COMBOBOX.

◆ ~VCLXAccessibleDropDownComboBox()

virtual VCLXAccessibleDropDownComboBox::~VCLXAccessibleDropDownComboBox ( )
overrideprivatevirtualdefault

Member Function Documentation

◆ getImplementationName()

OUString VCLXAccessibleDropDownComboBox::getImplementationName ( )
overridevirtual

Definition at line 61 of file vclxaccessibledropdowncombobox.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames ( )
overridevirtual

Definition at line 67 of file vclxaccessibledropdowncombobox.cxx.

References comphelper::concatSequences().

◆ IsValid()

bool VCLXAccessibleDropDownComboBox::IsValid ( ) const
overrideprivatevirtual

Returns true when the object is valid.

Implements VCLXAccessibleBox.

Definition at line 38 of file vclxaccessibledropdowncombobox.cxx.

◆ ProcessWindowEvent()

void VCLXAccessibleDropDownComboBox::ProcessWindowEvent ( const VclWindowEvent rVclWindowEvent)
overrideprivatevirtual

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