LibreOffice Module accessibility (master) 1
|
#include <AccessibleBrowseBoxHeaderCell.hxx>
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 BrowseBoxAccessibleElement & | operator= (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::IAccessibleTableProvider * | mpBrowseBox |
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 |
Definition at line 25 of file AccessibleBrowseBoxHeaderCell.hxx.
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.
|
overridevirtual |
Definition at line 88 of file AccessibleBrowseBoxHeaderCell.cxx.
|
overridevirtual |
Definition at line 79 of file AccessibleBrowseBoxHeaderCell.cxx.
|
overridevirtual |
Reimplemented from accessibility::AccessibleBrowseBoxBase.
Definition at line 142 of file AccessibleBrowseBoxHeaderCell.cxx.
References accessibility::AccessibleBrowseBoxBase::ensureIsAlive(), accessibility::AccessibleBrowseBoxBase::getMutex(), vcl::IAccessibleTableProvider::HasRowHeader(), m_nColumnRowId, accessibility::AccessibleBrowseBoxBase::mpBrowseBox, and nIndex.
|
overridevirtual |
Definition at line 109 of file AccessibleBrowseBoxHeaderCell.cxx.
|
overridevirtual |
Grabs the focus to the BrowseBox.
Grabs the focus to the column header.
!!
Definition at line 95 of file AccessibleBrowseBoxHeaderCell.cxx.
References accessibility::AccessibleBrowseBoxBase::ensureIsAlive(), accessibility::AccessibleBrowseBoxBase::getMutex(), isRowBarCell(), m_nColumnRowId, accessibility::AccessibleBrowseBoxBase::mpBrowseBox, vcl::IAccessibleTableProvider::SelectColumn(), and vcl::IAccessibleTableProvider::SelectRow().
|
overridevirtual |
Return a bitset of states of the current object.
Reimplemented from accessibility::AccessibleBrowseBoxBase.
Definition at line 48 of file AccessibleBrowseBoxHeaderCell.cxx.
References vcl::IAccessibleTableProvider::FillAccessibleStateSet(), accessibility::AccessibleBrowseBoxBase::getMutex(), accessibility::AccessibleBrowseBoxBase::getType(), accessibility::AccessibleBrowseBoxBase::implIsShowing(), accessibility::AccessibleBrowseBoxBase::isAlive(), vcl::IAccessibleTableProvider::IsColumnSelected(), isRowBarCell(), vcl::IAccessibleTableProvider::IsRowSelected(), m_nColumnRowId, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.
|
overrideprivatevirtual |
Derived classes return the bounding box relative to the parent window.
Implements accessibility::AccessibleBrowseBoxBase.
Definition at line 131 of file AccessibleBrowseBoxHeaderCell.cxx.
References isRowBarCell(), m_nColumnRowId, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.
|
overrideprivatevirtual |
Derived classes return the bounding box in screen coordinates.
Implements accessibility::AccessibleBrowseBoxBase.
Definition at line 137 of file AccessibleBrowseBoxHeaderCell.cxx.
References isRowBarCell(), m_nColumnRowId, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.
|
inline |
Definition at line 47 of file AccessibleBrowseBoxHeaderCell.hxx.
References accessibility::AccessibleBrowseBoxBase::getType().
Referenced by grabFocus(), implCreateStateSet(), implGetBoundingBox(), and implGetBoundingBoxOnScreen().
|
private |
Definition at line 27 of file AccessibleBrowseBoxHeaderCell.hxx.
Referenced by getAccessibleIndexInParent(), grabFocus(), implCreateStateSet(), implGetBoundingBox(), and implGetBoundingBoxOnScreen().