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

#include <AccessibleBrowseBoxHeaderCell.hxx>

Inheritance diagram for accessibility::AccessibleBrowseBoxHeaderCell:
[legend]
Collaboration diagram for accessibility::AccessibleBrowseBoxHeaderCell:
[legend]

Public Member Functions

 AccessibleBrowseBoxHeaderCell (sal_Int32 _nColumnRowId, const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ::vcl::IAccessibleTableProvider &_rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, AccessibleBrowseBoxObjType _eObjType)
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nChildIndex) override
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () override
 
virtual void SAL_CALL grabFocus () override
 Grabs the focus to the BrowseBox. More...
 
bool isRowBarCell () const
 
virtual OUString SAL_CALL getImplementationName () override
 
sal_Int64 implCreateStateSet () override
 Return a bitset of states of the current object. More...
 
- Public Member Functions inherited from accessibility::BrowseBoxAccessibleElement
 BrowseBoxAccessibleElement (const BrowseBoxAccessibleElement &)=delete
 
const BrowseBoxAccessibleElementoperator= (const BrowseBoxAccessibleElement &)=delete
 
- Public Member Functions inherited from accessibility::AccessibleBrowseBoxBase
 AccessibleBrowseBoxBase (css::uno::Reference< css::accessibility::XAccessible > xParent, ::vcl::IAccessibleTableProvider &rBrowseBox, css::uno::Reference< css::awt::XWindow > _xFocusWindow, AccessibleBrowseBoxObjType eObjType)
 Constructor sets specified name and description. More...
 
 AccessibleBrowseBoxBase (css::uno::Reference< css::accessibility::XAccessible > xParent, ::vcl::IAccessibleTableProvider &rBrowseBox, css::uno::Reference< css::awt::XWindow > _xFocusWindow, AccessibleBrowseBoxObjType eObjType, OUString rName, OUString rDescription)
 Constructor sets specified name and description. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () override
 
virtual OUString SAL_CALL getAccessibleDescription () override
 
virtual OUString SAL_CALL getAccessibleName () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 
virtual css::lang::Locale SAL_CALL getLocale () override
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &rPoint) override
 
virtual css::awt::Rectangle SAL_CALL getBounds () 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 sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL focusGained (const css::awt::FocusEvent &e) override
 
virtual void SAL_CALL focusLost (const css::awt::FocusEvent &e) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &rPoint) override
 
virtual void SAL_CALL addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
 Adds a new event listener. More...
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
 Removes an event listener. More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
AccessibleBrowseBoxObjType getType () const
 
void setAccessibleName (const OUString &rName)
 Changes the name of the object and notifies listeners. More...
 
void setAccessibleDescription (const OUString &rDescription)
 Changes the description of the object and notifies listeners. More...
 
void commitEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
 Commits an event to all listeners. More...
 
bool isAlive () const
 
::osl::Mutex & getMutex ()
 
void ensureIsAlive () const
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
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
 

Private Member Functions

virtual tools::Rectangle implGetBoundingBox () override
 Derived classes return the bounding box relative to the parent window. More...
 
virtual tools::Rectangle implGetBoundingBoxOnScreen () override
 Derived classes return the bounding box in screen coordinates. More...
 

Private Attributes

sal_Int32 m_nColumnRowId
 

Additional Inherited Members

- Protected Member Functions inherited from accessibility::BrowseBoxAccessibleElement
 BrowseBoxAccessibleElement (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ::vcl::IAccessibleTableProvider &rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, AccessibleBrowseBoxObjType eObjType)
 Constructor sets specified name and description. More...
 
 BrowseBoxAccessibleElement (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ::vcl::IAccessibleTableProvider &rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, AccessibleBrowseBoxObjType eObjType, const OUString &rName, const OUString &rDescription)
 Constructor sets specified name and description. More...
 
virtual ~BrowseBoxAccessibleElement () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
- Protected Member Functions inherited from accessibility::AccessibleBrowseBoxBase
virtual ~AccessibleBrowseBoxBase () override
 
virtual void SAL_CALL disposing () override
 Commits DeFunc event to listeners and cleans up members. More...
 
bool implIsShowing ()
 Determines whether the BrowseBox control is really showing inside of its parent accessible window. More...
 
virtual tools::Rectangle implGetBoundingBox ()=0
 Derived classes return the bounding box relative to the parent window. More...
 
virtual tools::Rectangle implGetBoundingBoxOnScreen ()=0
 Derived classes return the bounding box in screen coordinates. More...
 
virtual sal_Int64 implCreateStateSet ()
 Creates a bitset of states of the current object. More...
 
void implSetName (const OUString &rName)
 Changes the name of the object (flat assignment, no notify). More...
 
tools::Rectangle getBoundingBox ()
 Locks all mutex's and calculates the bounding box relative to the parent window. More...
 
tools::Rectangle getBoundingBoxOnScreen ()
 Locks all mutex's and calculates the bounding box in screen coordinates. More...
 
::comphelper::AccessibleEventNotifier::TClientId getClientId () const
 
void setClientId (::comphelper::AccessibleEventNotifier::TClientId _aNewClientId)
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 
- Protected Attributes inherited from accessibility::AccessibleBrowseBoxBase
css::uno::Reference< css::accessibility::XAccessible > mxParent
 The parent accessible object. More...
 
::vcl::IAccessibleTableProvidermpBrowseBox
 The VCL BrowseBox control. More...
 
css::uno::Reference< css::awt::XWindow > m_xFocusWindow
 This is the window which get all the nice focus events. More...
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 25 of file AccessibleBrowseBoxHeaderCell.hxx.

Constructor & Destructor Documentation

◆ AccessibleBrowseBoxHeaderCell()

accessibility::AccessibleBrowseBoxHeaderCell::AccessibleBrowseBoxHeaderCell ( sal_Int32  _nColumnRowId,
const css::uno::Reference< css::accessibility::XAccessible > &  rxParent,
::vcl::IAccessibleTableProvider _rBrowseBox,
const css::uno::Reference< css::awt::XWindow > &  _xFocusWindow,
AccessibleBrowseBoxObjType  _eObjType 
)

Definition at line 32 of file AccessibleBrowseBoxHeaderCell.cxx.

Member Function Documentation

◆ getAccessibleChild()

Reference< XAccessible > SAL_CALL accessibility::AccessibleBrowseBoxHeaderCell::getAccessibleChild ( sal_Int64  nChildIndex)
overridevirtual
Returns
The XAccessible interface of the specified child.

Definition at line 88 of file AccessibleBrowseBoxHeaderCell.cxx.

◆ getAccessibleChildCount()

sal_Int64 SAL_CALL accessibility::AccessibleBrowseBoxHeaderCell::getAccessibleChildCount ( )
overridevirtual
Returns
The count of visible children.

Definition at line 79 of file AccessibleBrowseBoxHeaderCell.cxx.

◆ getAccessibleIndexInParent()

sal_Int64 SAL_CALL accessibility::AccessibleBrowseBoxHeaderCell::getAccessibleIndexInParent ( )
overridevirtual

◆ getImplementationName()

OUString SAL_CALL accessibility::AccessibleBrowseBoxHeaderCell::getImplementationName ( )
overridevirtual
Returns
The name of this class.

Definition at line 109 of file AccessibleBrowseBoxHeaderCell.cxx.

◆ grabFocus()

void SAL_CALL accessibility::AccessibleBrowseBoxHeaderCell::grabFocus ( )
overridevirtual

◆ implCreateStateSet()

sal_Int64 accessibility::AccessibleBrowseBoxHeaderCell::implCreateStateSet ( )
overridevirtual

◆ implGetBoundingBox()

tools::Rectangle accessibility::AccessibleBrowseBoxHeaderCell::implGetBoundingBox ( )
overrideprivatevirtual

Derived classes return the bounding box relative to the parent window.

Attention: \n This method requires locked mutex's and a living object.
Returns
The bounding box (VCL rect.) relative to the parent window.

Implements accessibility::AccessibleBrowseBoxBase.

Definition at line 131 of file AccessibleBrowseBoxHeaderCell.cxx.

References isRowBarCell(), m_nColumnRowId, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.

◆ implGetBoundingBoxOnScreen()

tools::Rectangle accessibility::AccessibleBrowseBoxHeaderCell::implGetBoundingBoxOnScreen ( )
overrideprivatevirtual

Derived classes return the bounding box in screen coordinates.

Attention: \n This method requires locked mutex's and a living object.
Returns
The bounding box (VCL rect.) in screen coordinates.

Implements accessibility::AccessibleBrowseBoxBase.

Definition at line 137 of file AccessibleBrowseBoxHeaderCell.cxx.

References isRowBarCell(), m_nColumnRowId, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.

◆ isRowBarCell()

bool accessibility::AccessibleBrowseBoxHeaderCell::isRowBarCell ( ) const
inline

Member Data Documentation

◆ m_nColumnRowId

sal_Int32 accessibility::AccessibleBrowseBoxHeaderCell::m_nColumnRowId
private

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