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

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

#include <vclxaccessiblelistbox.hxx>

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

Public Member Functions

 VCLXAccessibleListBox (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 ~VCLXAccessibleListBox () override=default
 
virtual bool IsValid () const override
 Returns true when the object is valid. More...
 

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 one children.

It is the list containing all items and is represented by an object of the VCLXAccessibleListBoxList class which does support selection.

Definition at line 29 of file vclxaccessiblelistbox.hxx.

Constructor & Destructor Documentation

◆ VCLXAccessibleListBox()

VCLXAccessibleListBox::VCLXAccessibleListBox ( VCLXWindow pVCLXindow)

Definition at line 28 of file vclxaccessiblelistbox.cxx.

References LISTBOX.

◆ ~VCLXAccessibleListBox()

virtual VCLXAccessibleListBox::~VCLXAccessibleListBox ( )
overrideprivatevirtualdefault

Member Function Documentation

◆ getImplementationName()

OUString VCLXAccessibleListBox::getImplementationName ( )
overridevirtual

Definition at line 41 of file vclxaccessiblelistbox.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > VCLXAccessibleListBox::getSupportedServiceNames ( )
overridevirtual

Definition at line 47 of file vclxaccessiblelistbox.cxx.

References comphelper::concatSequences().

◆ IsValid()

bool VCLXAccessibleListBox::IsValid ( ) const
overrideprivatevirtual

Returns true when the object is valid.

Implements VCLXAccessibleBox.

Definition at line 34 of file vclxaccessiblelistbox.cxx.


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