LibreOffice Module comphelper (master)  1
Public Member Functions | Protected Member Functions | List of all members
comphelper::OAccessibleSelectionHelper Class Reference

a helper class for implementing an AccessibleSelection which at the same time supports an XAccessibleSelection interface. More...

#include <accessibleselectionhelper.hxx>

Inheritance diagram for comphelper::OAccessibleSelectionHelper:
[legend]
Collaboration diagram for comphelper::OAccessibleSelectionHelper:
[legend]

Public Member Functions

virtual void SAL_CALL selectAccessibleChild (sal_Int32 nChildIndex) override
 
virtual sal_Bool SAL_CALL isAccessibleChildSelected (sal_Int32 nChildIndex) override
 
virtual void SAL_CALL clearAccessibleSelection () override
 
virtual void SAL_CALL selectAllAccessibleChildren () override
 
virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild (sal_Int32 nSelectedChildIndex) override
 
virtual void SAL_CALL deselectAccessibleChild (sal_Int32 nSelectedChildIndex) override
 
- Public Member Functions inherited from comphelper::OAccessibleComponentHelper
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &aPoint) override
 
virtual css::awt::Point SAL_CALL getLocation () override
 
virtual css::awt::Point SAL_CALL getLocationOnScreen () override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual css::awt::Rectangle SAL_CALL getBounds () override
 
- Public Member Functions inherited from comphelper::OAccessibleContextHelper
virtual void SAL_CALL addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual sal_Int32 SAL_CALL getAccessibleChildCount () override=0
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int32 i) override=0
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override=0
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override=0
 
virtual OUString SAL_CALL getAccessibleDescription () override=0
 
virtual OUString SAL_CALL getAccessibleName () override=0
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override=0
 
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet () override=0
 
virtual OUString SAL_CALL getAccessibleId () override
 
virtual sal_Int32 SAL_CALL getAccessibleIndexInParent () override
 default implementation for retrieving the index of this object within the parent More...
 
virtual css::lang::Locale SAL_CALL getLocale () override
 default implementation for retrieving the locale More...
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper2< class, class >
 WeakAggComponentImplHelper2 (::osl::Mutex &rMutex)
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::ImplHelper1< css::accessibility::XAccessibleComponent >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::ImplHelper1< class >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Member Functions

 OAccessibleSelectionHelper ()
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > implGetAccessibleContext () override
 
- Protected Member Functions inherited from comphelper::OAccessibleComponentHelper
 OAccessibleComponentHelper ()
 
- Protected Member Functions inherited from comphelper::OCommonAccessibleComponent
 OCommonAccessibleComponent ()
 see the respective base class ctor for an extensive comment on this, please More...
 
virtual ~OCommonAccessibleComponent () override
 
virtual css::awt::Rectangle implGetBounds ()=0
 implements the calculation of the bounding rectangle - still waiting to be overwritten More...
 
bool containsPoint (const css::awt::Point &aPoint)
 non-virtual versions of the methods which can be implemented using <method>implGetBounds</method> note: getLocationOnScreen relies on a valid parent (XAccessibleContext::getParent()->getAccessibleContext()), which itself implements XAccessibleComponent More...
 
css::awt::Point getLocation ()
 
css::awt::Point getLocationOnScreen ()
 
css::awt::Size getSize ()
 
css::awt::Rectangle getBounds ()
 
- Protected Member Functions inherited from comphelper::OAccessibleContextHelper
virtual ~OAccessibleContextHelper () override
 
 OAccessibleContextHelper ()
 
void lateInit (const css::uno::Reference< css::accessibility::XAccessible > &_rxAccessible)
 late construction More...
 
css::uno::Reference< css::accessibility::XAccessible > getAccessibleCreator () const
 retrieves the creator previously set with <method>lateInit</method> More...
 
virtual void SAL_CALL disposing () override
 
void NotifyAccessibleEvent (const sal_Int16 _nEventId, const css::uno::Any &_rOldValue, const css::uno::Any &_rNewValue)
 notifies all AccessibleEventListeners of a certain event More...
 
bool isAlive () const
 checks whether the object is alive (returns <TRUE> then) or disposed More...
 
void ensureAlive () const
 checks for being alive. If the object is already disposed (i.e. not alive), an exception is thrown. More...
 
void ensureDisposed ()
 ensures that the object is disposed. More...
 
css::uno::Reference< css::accessibility::XAccessibleContext > implGetParentContext ()
 shortcut for retrieving the context of the parent (returned by getAccessibleParent) More...
 
::osl::Mutex & GetMutex ()
 
- Protected Member Functions inherited from comphelper::OAccessibleComponentHelper_Base
 ~OAccessibleComponentHelper_Base ()
 
- Protected Member Functions inherited from cppu::ImplHelper1< css::accessibility::XAccessibleComponent >
 ~ImplHelper1 ()
 
- Protected Member Functions inherited from comphelper::OCommonAccessibleSelection
 OCommonAccessibleSelection ()
 
 ~OCommonAccessibleSelection ()
 
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)
 
- Protected Member Functions inherited from cppu::ImplHelper1< class >
 ~ImplHelper1 ()
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

a helper class for implementing an AccessibleSelection which at the same time supports an XAccessibleSelection interface.

Definition at line 101 of file accessibleselectionhelper.hxx.

Constructor & Destructor Documentation

comphelper::OAccessibleSelectionHelper::OAccessibleSelectionHelper ( )
protected

Definition at line 104 of file accessibleselectionhelper.cxx.

Member Function Documentation

void SAL_CALL comphelper::OAccessibleSelectionHelper::clearAccessibleSelection ( )
overridevirtual
void SAL_CALL comphelper::OAccessibleSelectionHelper::deselectAccessibleChild ( sal_Int32  nSelectedChildIndex)
overridevirtual
Reference< XAccessible > SAL_CALL comphelper::OAccessibleSelectionHelper::getSelectedAccessibleChild ( sal_Int32  nSelectedChildIndex)
overridevirtual
sal_Int32 SAL_CALL comphelper::OAccessibleSelectionHelper::getSelectedAccessibleChildCount ( )
overridevirtual
Reference< XAccessibleContext > comphelper::OAccessibleSelectionHelper::implGetAccessibleContext ( )
overrideprotectedvirtual
Exceptions
css::uno::RuntimeException

Implements comphelper::OCommonAccessibleSelection.

Definition at line 114 of file accessibleselectionhelper.cxx.

sal_Bool SAL_CALL comphelper::OAccessibleSelectionHelper::isAccessibleChildSelected ( sal_Int32  nChildIndex)
overridevirtual
void SAL_CALL comphelper::OAccessibleSelectionHelper::selectAccessibleChild ( sal_Int32  nChildIndex)
overridevirtual
void SAL_CALL comphelper::OAccessibleSelectionHelper::selectAllAccessibleChildren ( )
overridevirtual

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