LibreOffice Module accessibility (master) 1
|
#include <AccessibleBrowseBoxCheckBoxCell.hxx>
Public Member Functions | |
AccessibleCheckBoxCell (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, const TriState &_eState, bool _bIsTriState) | |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () override |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 i) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Int64 SAL_CALL | getAccessibleIndexInParent () override |
virtual css::uno::Any SAL_CALL | getCurrentValue () override |
virtual sal_Bool SAL_CALL | setCurrentValue (const css::uno::Any &aNumber) override |
virtual css::uno::Any SAL_CALL | getMaximumValue () override |
virtual css::uno::Any SAL_CALL | getMinimumValue () override |
virtual css::uno::Any SAL_CALL | getMinimumIncrement () override |
void | SetChecked (bool _bChecked) |
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::ImplHelper2< class Ifc1, class Ifc2 > | |
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 | ~AccessibleCheckBoxCell () override |
virtual sal_Int64 | implCreateStateSet () override |
Creates a bitset of states of the current object. More... | |
Private Attributes | |
TriState | m_eState |
bool | m_bIsTriState |
Additional Inherited Members | |
Protected Member Functions inherited from accessibility::AccessibleBrowseBoxCell | |
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) |
Protected Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 > | |
~ImplHelper2 () 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 33 of file AccessibleBrowseBoxCheckBoxCell.hxx.
|
inlineoverrideprivatevirtual |
Definition at line 40 of file AccessibleBrowseBoxCheckBoxCell.hxx.
accessibility::AccessibleCheckBoxCell::AccessibleCheckBoxCell | ( | 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, | ||
const TriState & | _eState, | ||
bool | _bIsTriState | ||
) |
Definition at line 32 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References CheckBoxCell.
|
overridevirtual |
Definition at line 131 of file AccessibleBrowseBoxCheckBoxCell.cxx.
|
overridevirtual |
Definition at line 126 of file AccessibleBrowseBoxCheckBoxCell.cxx.
|
overridevirtual |
Definition at line 48 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References getMutex().
|
overridevirtual |
Reimplemented from accessibility::AccessibleBrowseBoxBase.
Definition at line 141 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References accessibility::AccessibleBrowseBoxBase::ensureIsAlive(), vcl::IAccessibleTableProvider::GetColumnCount(), accessibility::AccessibleBrowseBoxCell::getColumnPos(), accessibility::AccessibleBrowseBoxBase::getMutex(), accessibility::AccessibleBrowseBoxCell::getRowPos(), and accessibility::AccessibleBrowseBoxBase::mpBrowseBox.
|
overridevirtual |
Definition at line 70 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References Any, accessibility::AccessibleBrowseBoxBase::getMutex(), m_eState, nValue, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
|
overridevirtual |
Definition at line 136 of file AccessibleBrowseBoxCheckBoxCell.cxx.
|
overridevirtual |
Definition at line 95 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References Any, accessibility::AccessibleBrowseBoxBase::getMutex(), and m_bIsTriState.
|
overridevirtual |
Definition at line 117 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References Any.
|
overridevirtual |
Definition at line 109 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References Any.
|
overrideprivatevirtual |
Creates a bitset of states of the current object.
This method calls FillStateSet at the BrowseBox which fills it with more states depending on the object type. Derived classes may overwrite this method and add more states.
Reimplemented from accessibility::AccessibleBrowseBoxBase.
Definition at line 55 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References vcl::IAccessibleTableProvider::FillAccessibleStateSetForCell(), accessibility::AccessibleBrowseBoxCell::getColumnPos(), accessibility::AccessibleBrowseBoxCell::getRowPos(), accessibility::AccessibleBrowseBoxBase::implCreateStateSet(), accessibility::AccessibleBrowseBoxBase::isAlive(), m_eState, accessibility::AccessibleBrowseBoxBase::mpBrowseBox, and TRISTATE_TRUE.
void accessibility::AccessibleCheckBoxCell::SetChecked | ( | bool | _bChecked | ) |
Definition at line 149 of file AccessibleBrowseBoxCheckBoxCell.cxx.
References Any, accessibility::AccessibleBrowseBoxBase::commitEvent(), m_eState, TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by accessibility::AccessibleTabListBoxTable::ProcessWindowEvent().
|
overridevirtual |
Definition at line 90 of file AccessibleBrowseBoxCheckBoxCell.cxx.
|
private |
Definition at line 38 of file AccessibleBrowseBoxCheckBoxCell.hxx.
Referenced by getMaximumValue().
|
private |
Definition at line 37 of file AccessibleBrowseBoxCheckBoxCell.hxx.
Referenced by getCurrentValue(), implCreateStateSet(), and SetChecked().