LibreOffice Module comphelper (master) 1
Protected Member Functions | List of all members
comphelper::OCommonAccessibleSelection Class Referenceabstract

base class encapsulating common functionality for the helper classes implementing the XAccessibleSelection More...

#include <accessibleselectionhelper.hxx>

Protected Member Functions

 OCommonAccessibleSelection ()
 
 ~OCommonAccessibleSelection ()
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > implGetAccessibleContext ()=0
 
virtual bool implIsSelected (sal_Int64 nAccessibleChildIndex)=0
 
virtual void implSelect (sal_Int64 nAccessibleChildIndex, bool bSelect)=0
 
void selectAccessibleChild (sal_Int64 nChildIndex)
 non-virtual versions of the methods which can be implemented using <method>implIsSelected</method> and <method>implSelect</method> More...
 
bool isAccessibleChildSelected (sal_Int64 nChildIndex)
 
void clearAccessibleSelection ()
 
void selectAllAccessibleChildren ()
 
sal_Int64 getSelectedAccessibleChildCount ()
 
css::uno::Reference< css::accessibility::XAccessible > getSelectedAccessibleChild (sal_Int64 nSelectedChildIndex)
 
void deselectAccessibleChild (sal_Int64 nSelectedChildIndex)
 

Detailed Description

base class encapsulating common functionality for the helper classes implementing the XAccessibleSelection

Definition at line 43 of file accessibleselectionhelper.hxx.

Constructor & Destructor Documentation

◆ OCommonAccessibleSelection()

comphelper::OCommonAccessibleSelection::OCommonAccessibleSelection ( )
protected

Definition at line 33 of file accessibleselectionhelper.cxx.

◆ ~OCommonAccessibleSelection()

comphelper::OCommonAccessibleSelection::~OCommonAccessibleSelection ( )
protected

Definition at line 37 of file accessibleselectionhelper.cxx.

Member Function Documentation

◆ clearAccessibleSelection()

void comphelper::OCommonAccessibleSelection::clearAccessibleSelection ( )
protected
Exceptions
css::uno::RuntimeException

Definition at line 52 of file accessibleselectionhelper.cxx.

References ACCESSIBLE_SELECTION_CHILD_ALL, and implSelect().

◆ deselectAccessibleChild()

void comphelper::OCommonAccessibleSelection::deselectAccessibleChild ( sal_Int64  nSelectedChildIndex)
protected
Exceptions
css::lang::IndexOutOfBoundsException
css::uno::RuntimeException

Definition at line 100 of file accessibleselectionhelper.cxx.

References implSelect().

◆ getSelectedAccessibleChild()

Reference< XAccessible > comphelper::OCommonAccessibleSelection::getSelectedAccessibleChild ( sal_Int64  nSelectedChildIndex)
protected
Exceptions
css::lang::IndexOutOfBoundsException
css::uno::RuntimeException

Definition at line 82 of file accessibleselectionhelper.cxx.

References i, implGetAccessibleContext(), implIsSelected(), and nPos.

◆ getSelectedAccessibleChildCount()

sal_Int64 comphelper::OCommonAccessibleSelection::getSelectedAccessibleChildCount ( )
protected
Exceptions
css::uno::RuntimeException

Definition at line 64 of file accessibleselectionhelper.cxx.

References i, implGetAccessibleContext(), and implIsSelected().

◆ implGetAccessibleContext()

virtual css::uno::Reference< css::accessibility::XAccessibleContext > comphelper::OCommonAccessibleSelection::implGetAccessibleContext ( )
protectedpure virtual
Exceptions
css::uno::RuntimeException

Referenced by getSelectedAccessibleChild(), and getSelectedAccessibleChildCount().

◆ implIsSelected()

virtual bool comphelper::OCommonAccessibleSelection::implIsSelected ( sal_Int64  nAccessibleChildIndex)
protectedpure virtual
Exceptions
css::uno::RuntimeException

Referenced by getSelectedAccessibleChild(), getSelectedAccessibleChildCount(), and isAccessibleChildSelected().

◆ implSelect()

virtual void comphelper::OCommonAccessibleSelection::implSelect ( sal_Int64  nAccessibleChildIndex,
bool  bSelect 
)
protectedpure virtual

◆ isAccessibleChildSelected()

bool comphelper::OCommonAccessibleSelection::isAccessibleChildSelected ( sal_Int64  nChildIndex)
protected
Exceptions
css::lang::IndexOutOfBoundsException
css::uno::RuntimeException

Definition at line 46 of file accessibleselectionhelper.cxx.

References implIsSelected().

◆ selectAccessibleChild()

void comphelper::OCommonAccessibleSelection::selectAccessibleChild ( sal_Int64  nChildIndex)
protected

non-virtual versions of the methods which can be implemented using <method>implIsSelected</method> and <method>implSelect</method>

Exceptions
css::lang::IndexOutOfBoundsException
css::uno::RuntimeException

Definition at line 40 of file accessibleselectionhelper.cxx.

References implSelect().

◆ selectAllAccessibleChildren()

void comphelper::OCommonAccessibleSelection::selectAllAccessibleChildren ( )
protected
Exceptions
css::uno::RuntimeException

Definition at line 58 of file accessibleselectionhelper.cxx.

References ACCESSIBLE_SELECTION_CHILD_ALL, and implSelect().


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