22#include <com/sun/star/awt/XKeyListener.hpp>
23#include <com/sun/star/awt/XPaintListener.hpp>
24#include <com/sun/star/awt/XMouseMotionListener.hpp>
25#include <com/sun/star/awt/XWindowListener.hpp>
26#include <com/sun/star/awt/XTopWindowListener.hpp>
27#include <com/sun/star/awt/XMouseListener.hpp>
28#include <com/sun/star/awt/XFocusListener.hpp>
42 ,
public css::awt::XWindowListener
43 ,
public css::awt::XKeyListener
44 ,
public css::awt::XMouseListener
45 ,
public css::awt::XMouseMotionListener
46 ,
public css::awt::XPaintListener
47 ,
public css::awt::XTopWindowListener
60 const css::uno::Reference< css::awt::XWindow >& xPeer );
87 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
96 virtual void SAL_CALL
acquire() noexcept override;
105 virtual
void SAL_CALL
release() noexcept override;
116 void setPeer( const css::
uno::Reference< css::awt::XWindow >& xPeer );
140 virtual
void SAL_CALL
disposing(const css::lang::EventObject& aSource) override;
144 virtual
void SAL_CALL
focusGained(const css::awt::FocusEvent& aEvent ) override;
146 virtual
void SAL_CALL
focusLost(const css::awt::FocusEvent& aEvent ) override;
150 virtual
void SAL_CALL
windowResized(const css::awt::WindowEvent& aEvent ) override;
152 virtual
void SAL_CALL
windowMoved(const css::awt::WindowEvent& aEvent ) override;
154 virtual
void SAL_CALL
windowShown(const css::lang::EventObject& aEvent ) override;
156 virtual
void SAL_CALL
windowHidden(const css::lang::EventObject& aEvent ) override;
182 virtual
void SAL_CALL
windowPaint(const css::awt::PaintEvent& aEvent ) override;
186 virtual
void SAL_CALL
windowOpened( const css::lang::EventObject& aEvent ) override;
188 virtual
void SAL_CALL
windowClosing( const css::lang::EventObject& aEvent ) override;
190 virtual
void SAL_CALL
windowClosed( const css::lang::EventObject& aEvent ) override;
192 virtual
void SAL_CALL
windowMinimized( const css::lang::EventObject& aEvent ) override;
194 virtual
void SAL_CALL
windowNormalized( const css::lang::EventObject& aEvent ) override;
196 virtual
void SAL_CALL
windowActivated( const css::lang::EventObject& aEvent ) override;
198 virtual
void SAL_CALL
windowDeactivated( const css::lang::EventObject& aEvent ) override;
void unadvise(const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener)
Remove the specified listener from the source.
void impl_adviseToPeer(const css::uno::Reference< css::awt::XWindow > &xPeer, const css::uno::Type &aType)
Remove the listener from the peer.
css::uno::WeakReference< css::awt::XWindow > m_xControl
The source of the events. Normally this is the peer object.
virtual void SAL_CALL windowMoved(const css::awt::WindowEvent &aEvent) override
virtual void SAL_CALL windowDeactivated(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL windowActivated(const css::lang::EventObject &aEvent) override
css::uno::Reference< css::awt::XWindow > m_xPeer
virtual ~OMRCListenerMultiplexerHelper() override
virtual void SAL_CALL mouseMoved(const css::awt::MouseEvent &aEvent) override
virtual void SAL_CALL windowHidden(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL windowPaint(const css::awt::PaintEvent &aEvent) override
void disposeAndClear()
Remove all listeners and send a disposing message.
comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenerHolder
virtual void SAL_CALL mouseDragged(const css::awt::MouseEvent &aEvent) override
virtual void SAL_CALL windowNormalized(const css::lang::EventObject &aEvent) override
void advise(const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener)
Add the specified listener to the source.
virtual void SAL_CALL windowClosing(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL mouseExited(const css::awt::MouseEvent &aEvent) override
virtual void SAL_CALL focusGained(const css::awt::FocusEvent &aEvent) override
virtual void SAL_CALL mouseReleased(const css::awt::MouseEvent &aEvent) override
virtual void SAL_CALL focusLost(const css::awt::FocusEvent &aEvent) override
void impl_unadviseFromPeer(const css::uno::Reference< css::awt::XWindow > &xPeer, const css::uno::Type &aType)
Add the listener to the peer.
OMRCListenerMultiplexerHelper(const css::uno::Reference< css::awt::XWindow > &xControl, const css::uno::Reference< css::awt::XWindow > &xPeer)
constructor @descr Create a Multiplexer of XWindowEvents.
virtual void SAL_CALL keyReleased(const css::awt::KeyEvent &aEvent) override
virtual void SAL_CALL windowResized(const css::awt::WindowEvent &aEvent) override
virtual void SAL_CALL acquire() noexcept override
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.
virtual void SAL_CALL keyPressed(const css::awt::KeyEvent &aEvent) override
virtual void SAL_CALL windowMinimized(const css::lang::EventObject &aEvent) override
void setPeer(const css::uno::Reference< css::awt::XWindow > &xPeer)
Remove all listeners from the previous set peer and add the needed listeners to rPeer.
virtual void SAL_CALL disposing(const css::lang::EventObject &aSource) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
give answer, if interface is supported @descr The interfaces are searched by type.
virtual void SAL_CALL windowClosed(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL windowShown(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL mouseEntered(const css::awt::MouseEvent &aEvent) override
virtual void SAL_CALL windowOpened(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL release() noexcept override
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.
virtual void SAL_CALL mousePressed(const css::awt::MouseEvent &aEvent) override