LibreOffice Module comphelper (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
comphelper::OAccessibleKeyBindingHelper Class Referencefinal

a helper class for implementing an accessible keybinding More...

#include <accessiblekeybindinghelper.hxx>

Inheritance diagram for comphelper::OAccessibleKeyBindingHelper:
[legend]
Collaboration diagram for comphelper::OAccessibleKeyBindingHelper:
[legend]

Public Member Functions

 OAccessibleKeyBindingHelper ()
 
 OAccessibleKeyBindingHelper (const OAccessibleKeyBindingHelper &rHelper)
 
void AddKeyBinding (const css::uno::Sequence< css::awt::KeyStroke > &rKeyBinding)
 
void AddKeyBinding (const css::awt::KeyStroke &rKeyStroke)
 
virtual sal_Int32 SAL_CALL getAccessibleKeyBindingCount () override
 
virtual css::uno::Sequence< css::awt::KeyStroke > SAL_CALL getAccessibleKeyBinding (sal_Int32 nIndex) override
 

Private Types

typedef ::std::vector< css::uno::Sequence< css::awt::KeyStroke > > KeyBindings
 

Private Member Functions

virtual ~OAccessibleKeyBindingHelper () override
 

Private Attributes

KeyBindings m_aKeyBindings
 
std::mutex m_aMutex
 

Detailed Description

a helper class for implementing an accessible keybinding

Definition at line 41 of file accessiblekeybindinghelper.hxx.

Member Typedef Documentation

◆ KeyBindings

typedef ::std::vector< css::uno::Sequence< css::awt::KeyStroke > > comphelper::OAccessibleKeyBindingHelper::KeyBindings
private

Definition at line 44 of file accessiblekeybindinghelper.hxx.

Constructor & Destructor Documentation

◆ ~OAccessibleKeyBindingHelper()

comphelper::OAccessibleKeyBindingHelper::~OAccessibleKeyBindingHelper ( )
overrideprivatevirtual

Definition at line 52 of file accessiblekeybindinghelper.cxx.

◆ OAccessibleKeyBindingHelper() [1/2]

comphelper::OAccessibleKeyBindingHelper::OAccessibleKeyBindingHelper ( )

Definition at line 40 of file accessiblekeybindinghelper.cxx.

◆ OAccessibleKeyBindingHelper() [2/2]

comphelper::OAccessibleKeyBindingHelper::OAccessibleKeyBindingHelper ( const OAccessibleKeyBindingHelper rHelper)

Definition at line 45 of file accessiblekeybindinghelper.cxx.

Member Function Documentation

◆ AddKeyBinding() [1/2]

void comphelper::OAccessibleKeyBindingHelper::AddKeyBinding ( const css::awt::KeyStroke &  rKeyStroke)
Exceptions
css::uno::RuntimeException

◆ AddKeyBinding() [2/2]

void comphelper::OAccessibleKeyBindingHelper::AddKeyBinding ( const css::uno::Sequence< css::awt::KeyStroke > &  rKeyBinding)
Exceptions
css::uno::RuntimeException

◆ getAccessibleKeyBinding()

Sequence< awt::KeyStroke > comphelper::OAccessibleKeyBindingHelper::getAccessibleKeyBinding ( sal_Int32  nIndex)
overridevirtual

Definition at line 83 of file accessiblekeybindinghelper.cxx.

References m_aKeyBindings, m_aMutex, o3tl::make_unsigned(), and nIndex.

◆ getAccessibleKeyBindingCount()

sal_Int32 comphelper::OAccessibleKeyBindingHelper::getAccessibleKeyBindingCount ( )
overridevirtual

Definition at line 75 of file accessiblekeybindinghelper.cxx.

References m_aKeyBindings, and m_aMutex.

Member Data Documentation

◆ m_aKeyBindings

KeyBindings comphelper::OAccessibleKeyBindingHelper::m_aKeyBindings
private

◆ m_aMutex

std::mutex comphelper::OAccessibleKeyBindingHelper::m_aMutex
private

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