LibreOffice Module editeng (master) 1
Public Member Functions | List of all members
accessibility::AccessibleComponentBase Class Reference

@descr This base class provides (will provide) a base implementation of the XAccessibleComponent and the XAccessibleExtendedComponent for all shapes. More...

#include <AccessibleComponentBase.hxx>

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

Public Member Functions

 AccessibleComponentBase ()
 
virtual ~AccessibleComponentBase ()
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &aPoint) override
 The default implementation uses the result of <member>getBounds</member> to determine whether the given point lies inside this object. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &aPoint) override
 The default implementation returns an empty reference. More...
 
virtual css::awt::Rectangle SAL_CALL getBounds () override
 The default implementation returns an empty rectangle. More...
 
virtual css::awt::Point SAL_CALL getLocation () override
 The default implementation uses the result of <member>getBounds</member> to determine the location. More...
 
virtual css::awt::Point SAL_CALL getLocationOnScreen () override
 The default implementation returns an empty position, i.e. More...
 
virtual css::awt::Size SAL_CALL getSize () override
 The default implementation uses the result of <member>getBounds</member> to determine the size. More...
 
virtual void SAL_CALL grabFocus () override
 The default implementation does nothing. More...
 
virtual sal_Int32 SAL_CALL getForeground () override
 Returns black as the default foreground color. More...
 
virtual sal_Int32 SAL_CALL getBackground () override
 Returns white as the default background color. More...
 
virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont () override
 
virtual OUString SAL_CALL getTitledBorderText () override
 
virtual OUString SAL_CALL getToolTipText () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes ()
 

Detailed Description

@descr This base class provides (will provide) a base implementation of the XAccessibleComponent and the XAccessibleExtendedComponent for all shapes.

For more detailed documentation about the methods refer to the interface descriptions of XAccessible, XAccessibleContext, <type>XInterface</type>, XServiceInfo, and <type>XTypeProvider</type>.

Definition at line 42 of file AccessibleComponentBase.hxx.

Constructor & Destructor Documentation

◆ AccessibleComponentBase()

accessibility::AccessibleComponentBase::AccessibleComponentBase ( )

Definition at line 33 of file AccessibleComponentBase.cxx.

◆ ~AccessibleComponentBase()

accessibility::AccessibleComponentBase::~AccessibleComponentBase ( )
virtual

Definition at line 38 of file AccessibleComponentBase.cxx.

Member Function Documentation

◆ containsPoint()

sal_Bool SAL_CALL accessibility::AccessibleComponentBase::containsPoint ( const css::awt::Point &  aPoint)
overridevirtual

The default implementation uses the result of <member>getBounds</member> to determine whether the given point lies inside this object.

Definition at line 44 of file AccessibleComponentBase.cxx.

References getSize().

◆ getAccessibleAtPoint()

uno::Reference< XAccessible > SAL_CALL accessibility::AccessibleComponentBase::getAccessibleAtPoint ( const css::awt::Point &  aPoint)
overridevirtual

The default implementation returns an empty reference.

Definition at line 56 of file AccessibleComponentBase.cxx.

◆ getBackground()

sal_Int32 SAL_CALL accessibility::AccessibleComponentBase::getBackground ( )
overridevirtual

Returns white as the default background color.

Definition at line 109 of file AccessibleComponentBase.cxx.

References COL_WHITE().

◆ getBounds()

awt::Rectangle SAL_CALL accessibility::AccessibleComponentBase::getBounds ( )
overridevirtual

The default implementation returns an empty rectangle.

Definition at line 63 of file AccessibleComponentBase.cxx.

Referenced by getLocation(), and getSize().

◆ getFont()

css::uno::Reference< css::awt::XFont > SAL_CALL accessibility::AccessibleComponentBase::getFont ( )
overridevirtual

Definition at line 118 of file AccessibleComponentBase.cxx.

◆ getForeground()

sal_Int32 SAL_CALL accessibility::AccessibleComponentBase::getForeground ( )
overridevirtual

Returns black as the default foreground color.

Definition at line 103 of file AccessibleComponentBase.cxx.

References COL_BLACK().

◆ getLocation()

awt::Point SAL_CALL accessibility::AccessibleComponentBase::getLocation ( )
overridevirtual

The default implementation uses the result of <member>getBounds</member> to determine the location.

Definition at line 69 of file AccessibleComponentBase.cxx.

References getBounds().

◆ getLocationOnScreen()

awt::Point SAL_CALL accessibility::AccessibleComponentBase::getLocationOnScreen ( )
overridevirtual

The default implementation returns an empty position, i.e.

the result of the default constructor of css::awt::Point.

Definition at line 76 of file AccessibleComponentBase.cxx.

◆ getSize()

css::awt::Size SAL_CALL accessibility::AccessibleComponentBase::getSize ( )
overridevirtual

The default implementation uses the result of <member>getBounds</member> to determine the size.

Definition at line 82 of file AccessibleComponentBase.cxx.

References getBounds().

Referenced by containsPoint().

◆ getTitledBorderText()

OUString SAL_CALL accessibility::AccessibleComponentBase::getTitledBorderText ( )
overridevirtual

Definition at line 124 of file AccessibleComponentBase.cxx.

◆ getToolTipText()

OUString SAL_CALL accessibility::AccessibleComponentBase::getToolTipText ( )
overridevirtual

Definition at line 130 of file AccessibleComponentBase.cxx.

◆ getTypes()

uno::Sequence< uno::Type > accessibility::AccessibleComponentBase::getTypes ( )
virtual
Exceptions
css::uno::RuntimeException

Definition at line 138 of file AccessibleComponentBase.cxx.

References cppu::UnoType< typename T >::get().

◆ grabFocus()

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

The default implementation does nothing.

Definition at line 89 of file AccessibleComponentBase.cxx.


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