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
 
::osl::Mutex m_aMutex
 

Detailed Description

a helper class for implementing an accessible keybinding

Definition at line 44 of file accessiblekeybindinghelper.hxx.

Member Typedef Documentation

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

Definition at line 47 of file accessiblekeybindinghelper.hxx.

Constructor & Destructor Documentation

comphelper::OAccessibleKeyBindingHelper::~OAccessibleKeyBindingHelper ( )
overrideprivatevirtual

Definition at line 51 of file accessiblekeybindinghelper.cxx.

comphelper::OAccessibleKeyBindingHelper::OAccessibleKeyBindingHelper ( )

Definition at line 39 of file accessiblekeybindinghelper.cxx.

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

Definition at line 44 of file accessiblekeybindinghelper.cxx.

Member Function Documentation

void comphelper::OAccessibleKeyBindingHelper::AddKeyBinding ( const css::uno::Sequence< css::awt::KeyStroke > &  rKeyBinding)
Exceptions
css::uno::RuntimeException
void comphelper::OAccessibleKeyBindingHelper::AddKeyBinding ( const css::awt::KeyStroke &  rKeyStroke)
Exceptions
css::uno::RuntimeException
Sequence< awt::KeyStroke > comphelper::OAccessibleKeyBindingHelper::getAccessibleKeyBinding ( sal_Int32  nIndex)
overridevirtual

Definition at line 85 of file accessiblekeybindinghelper.cxx.

References m_aKeyBindings, and m_aMutex.

sal_Int32 comphelper::OAccessibleKeyBindingHelper::getAccessibleKeyBindingCount ( )
overridevirtual

Definition at line 77 of file accessiblekeybindinghelper.cxx.

References m_aKeyBindings, and m_aMutex.

Member Data Documentation

KeyBindings comphelper::OAccessibleKeyBindingHelper::m_aKeyBindings
private
::osl::Mutex comphelper::OAccessibleKeyBindingHelper::m_aMutex
private

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