LibreOffice Module accessibility (master) 1
|
common accessibility-functionality for browse box elements which occupy a cell More...
#include <accessiblebrowseboxcell.hxx>
Protected Member Functions | |
sal_Int32 | getRowPos () const |
sal_Int32 | getColumnPos () const |
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... | |
virtual void SAL_CALL | grabFocus () override |
AccessibleBrowseBoxCell (const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, ::vcl::IAccessibleTableProvider &_rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, sal_Int32 _nRowPos, sal_uInt16 _nColPos, AccessibleBrowseBoxObjType _eType=AccessibleBrowseBoxObjType::TableCell) | |
virtual | ~AccessibleBrowseBoxCell () 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) |
Private Member Functions | |
AccessibleBrowseBoxCell (const AccessibleBrowseBoxCell &)=delete | |
AccessibleBrowseBoxCell & | operator= (const AccessibleBrowseBoxCell &)=delete |
Private Attributes | |
sal_Int32 | m_nRowPos |
sal_uInt16 | m_nColPos |
Additional Inherited Members | |
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 |
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 |
common accessibility-functionality for browse box elements which occupy a cell
Definition at line 33 of file accessiblebrowseboxcell.hxx.
|
protected |
Definition at line 31 of file accessiblebrowseboxcell.cxx.
References vcl::IAccessibleTableProvider::GetAccessibleObjectName(), vcl::IAccessibleTableProvider::GetColumnCount(), accessibility::AccessibleBrowseBoxBase::implSetName(), and nPos.
|
overrideprotectedvirtual |
Definition at line 46 of file accessiblebrowseboxcell.cxx.
|
privatedelete |
|
inlineprotected |
Definition at line 42 of file accessiblebrowseboxcell.hxx.
References m_nColPos.
Referenced by accessibility::AccessibleCheckBoxCell::getAccessibleIndexInParent(), accessibility::AccessibleBrowseBoxTableCell::getAccessibleIndexInParent(), accessibility::EditBrowseBoxTableCell::getAccessibleName(), accessibility::AccessibleBrowseBoxTableCell::getCharacterBounds(), accessibility::AccessibleBrowseBoxTableCell::getIndexAtPoint(), accessibility::AccessibleCheckBoxCell::implCreateStateSet(), accessibility::AccessibleBrowseBoxTableCell::implCreateStateSet(), and accessibility::AccessibleBrowseBoxTableCell::implGetText().
|
inlineprotected |
Definition at line 41 of file accessiblebrowseboxcell.hxx.
References m_nRowPos.
Referenced by accessibility::AccessibleCheckBoxCell::getAccessibleIndexInParent(), accessibility::AccessibleBrowseBoxTableCell::getAccessibleIndexInParent(), accessibility::EditBrowseBoxTableCell::getAccessibleName(), accessibility::AccessibleBrowseBoxTableCell::getCharacterBounds(), accessibility::AccessibleBrowseBoxTableCell::getIndexAtPoint(), accessibility::AccessibleCheckBoxCell::implCreateStateSet(), accessibility::AccessibleBrowseBoxTableCell::implCreateStateSet(), and accessibility::AccessibleBrowseBoxTableCell::implGetText().
|
overrideprotectedvirtual |
Definition at line 50 of file accessiblebrowseboxcell.cxx.
References accessibility::AccessibleBrowseBoxBase::ensureIsAlive(), accessibility::AccessibleBrowseBoxBase::getMutex(), vcl::IAccessibleTableProvider::GoToCell(), m_nColPos, m_nRowPos, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.
|
overrideprotectedvirtual |
Derived classes return the bounding box relative to the parent window.
Implements accessibility::AccessibleBrowseBoxBase.
Definition at line 58 of file accessiblebrowseboxcell.cxx.
References vcl::IAccessibleTableProvider::GetFieldRectPixel(), m_nColPos, m_nRowPos, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.
|
overrideprotectedvirtual |
Derived classes return the bounding box in screen coordinates.
Implements accessibility::AccessibleBrowseBoxBase.
Definition at line 63 of file accessiblebrowseboxcell.cxx.
References vcl::IAccessibleTableProvider::GetFieldRectPixel(), m_nColPos, m_nRowPos, and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.
|
privatedelete |
|
private |
Definition at line 37 of file accessiblebrowseboxcell.hxx.
Referenced by getColumnPos(), grabFocus(), implGetBoundingBox(), and implGetBoundingBoxOnScreen().
|
private |
Definition at line 36 of file accessiblebrowseboxcell.hxx.
Referenced by getRowPos(), grabFocus(), implGetBoundingBox(), and implGetBoundingBoxOnScreen().