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>

Inheritance diagram for comphelper::OCommonAccessibleSelection:
[legend]

Protected Member Functions

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

Detailed Description

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

Definition at line 42 of file accessibleselectionhelper.hxx.

Constructor & Destructor Documentation

comphelper::OCommonAccessibleSelection::OCommonAccessibleSelection ( )
protected

Definition at line 32 of file accessibleselectionhelper.cxx.

comphelper::OCommonAccessibleSelection::~OCommonAccessibleSelection ( )
protected

Definition at line 36 of file accessibleselectionhelper.cxx.

Member Function Documentation

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

Definition at line 51 of file accessibleselectionhelper.cxx.

References ACCESSIBLE_SELECTION_CHILD_ALL, and implSelect().

Referenced by comphelper::OAccessibleSelectionHelper::clearAccessibleSelection().

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

Definition at line 99 of file accessibleselectionhelper.cxx.

References implSelect().

Referenced by comphelper::OAccessibleSelectionHelper::deselectAccessibleChild().

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

Definition at line 81 of file accessibleselectionhelper.cxx.

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

Referenced by comphelper::OAccessibleSelectionHelper::getSelectedAccessibleChild().

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

Definition at line 63 of file accessibleselectionhelper.cxx.

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

Referenced by comphelper::OAccessibleSelectionHelper::getSelectedAccessibleChildCount().

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

Implemented in comphelper::OAccessibleSelectionHelper.

Referenced by getSelectedAccessibleChild(), and getSelectedAccessibleChildCount().

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

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

virtual void comphelper::OCommonAccessibleSelection::implSelect ( sal_Int32  nAccessibleChildIndex,
bool  bSelect 
)
protectedpure virtual
bool comphelper::OCommonAccessibleSelection::isAccessibleChildSelected ( sal_Int32  nChildIndex)
protected
Exceptions
css::lang::IndexOutOfBoundsException
css::uno::RuntimeException

Definition at line 45 of file accessibleselectionhelper.cxx.

References implIsSelected().

Referenced by comphelper::OAccessibleSelectionHelper::isAccessibleChildSelected().

void comphelper::OCommonAccessibleSelection::selectAccessibleChild ( sal_Int32  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 39 of file accessibleselectionhelper.cxx.

References implSelect().

Referenced by comphelper::OAccessibleSelectionHelper::selectAccessibleChild().

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

Definition at line 57 of file accessibleselectionhelper.cxx.

References ACCESSIBLE_SELECTION_CHILD_ALL, and implSelect().

Referenced by comphelper::OAccessibleSelectionHelper::selectAllAccessibleChildren().


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