LibreOffice Module chart2 (master) 1
Namespaces | Functions
chart::EventListenerHelper Namespace Reference

Namespaces

namespace  impl
 

Functions

template<class InterfaceRef >
void addListener (const InterfaceRef &xObject, const css::uno::Reference< css::lang::XEventListener > &xListener)
 
template<class Container >
void addListenerToAllElements (const Container &rContainer, const css::uno::Reference< css::lang::XEventListener > &xListener)
 
template<class InterfaceRef >
void removeListener (const InterfaceRef &xObject, const css::uno::Reference< css::lang::XEventListener > &xListener)
 
template<class Container >
void removeListenerFromAllElements (const Container &rContainer, const css::uno::Reference< css::lang::XEventListener > &xListener)
 

Function Documentation

◆ addListener()

template<class InterfaceRef >
void chart::EventListenerHelper::addListener ( const InterfaceRef &  xObject,
const css::uno::Reference< css::lang::XEventListener > &  xListener 
)

Definition at line 75 of file EventListenerHelper.hxx.

Referenced by chart::Axis::Init(), and chart::Axis::setScaleData().

◆ addListenerToAllElements()

template<class Container >
void chart::EventListenerHelper::addListenerToAllElements ( const Container &  rContainer,
const css::uno::Reference< css::lang::XEventListener > &  xListener 
)

Definition at line 87 of file EventListenerHelper.hxx.

Referenced by chart::ErrorBar::setData().

◆ removeListener()

template<class InterfaceRef >
void chart::EventListenerHelper::removeListener ( const InterfaceRef &  xObject,
const css::uno::Reference< css::lang::XEventListener > &  xListener 
)

Definition at line 97 of file EventListenerHelper.hxx.

Referenced by chart::Axis::setScaleData().

◆ removeListenerFromAllElements()

template<class Container >
void chart::EventListenerHelper::removeListenerFromAllElements ( const Container &  rContainer,
const css::uno::Reference< css::lang::XEventListener > &  xListener 
)

Definition at line 109 of file EventListenerHelper.hxx.

Referenced by chart::ErrorBar::setData().