LibreOffice Module basic (master) 1
Public Member Functions | Private Attributes | List of all members
FormObjEventListenerImpl Class Reference
Inheritance diagram for FormObjEventListenerImpl:
[legend]
Collaboration diagram for FormObjEventListenerImpl:
[legend]

Public Member Functions

 FormObjEventListenerImpl (const FormObjEventListenerImpl &)=delete
 
const FormObjEventListenerImploperator= (const FormObjEventListenerImpl &)=delete
 
 FormObjEventListenerImpl (SbUserFormModule *pUserForm, uno::Reference< lang::XComponent > xComponent, uno::Reference< frame::XModel > xModel)
 
virtual ~FormObjEventListenerImpl () override
 
bool isShowing () const
 
void removeListener ()
 
virtual void SAL_CALL windowOpened (const lang::EventObject &) override
 
virtual void SAL_CALL windowClosing (const lang::EventObject &) override
 
virtual void SAL_CALL windowClosed (const lang::EventObject &) override
 
virtual void SAL_CALL windowMinimized (const lang::EventObject &) override
 
virtual void SAL_CALL windowNormalized (const lang::EventObject &) override
 
virtual void SAL_CALL windowActivated (const lang::EventObject &) override
 
virtual void SAL_CALL windowDeactivated (const lang::EventObject &) override
 
virtual void SAL_CALL windowResized (const awt::WindowEvent &) override
 
virtual void SAL_CALL windowMoved (const awt::WindowEvent &) override
 
virtual void SAL_CALL windowShown (const lang::EventObject &) override
 
virtual void SAL_CALL windowHidden (const lang::EventObject &) override
 
virtual void SAL_CALL documentEventOccured (const document::DocumentEvent &rEvent) override
 
virtual void SAL_CALL disposing (const lang::EventObject &) override
 

Private Attributes

SbUserFormModulempUserForm
 
uno::Reference< lang::XComponent > mxComponent
 
uno::Reference< frame::XModel > mxModel
 
bool mbDisposed
 
bool mbOpened
 
bool mbActivated
 
bool mbShowing
 

Detailed Description

Definition at line 2207 of file sbxmod.cxx.

Constructor & Destructor Documentation

◆ FormObjEventListenerImpl() [1/2]

FormObjEventListenerImpl::FormObjEventListenerImpl ( const FormObjEventListenerImpl )
delete

◆ FormObjEventListenerImpl() [2/2]

FormObjEventListenerImpl::FormObjEventListenerImpl ( SbUserFormModule pUserForm,
uno::Reference< lang::XComponent >  xComponent,
uno::Reference< frame::XModel >  xModel 
)
inline

Definition at line 2221 of file sbxmod.cxx.

References mxComponent, mxModel, and xModel.

◆ ~FormObjEventListenerImpl()

virtual FormObjEventListenerImpl::~FormObjEventListenerImpl ( )
inlineoverridevirtual

Definition at line 2249 of file sbxmod.cxx.

References removeListener().

Member Function Documentation

◆ disposing()

virtual void SAL_CALL FormObjEventListenerImpl::disposing ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2400 of file sbxmod.cxx.

References mbDisposed, mpUserForm, removeListener(), and SbUserFormModule::ResetApiObj().

◆ documentEventOccured()

virtual void SAL_CALL FormObjEventListenerImpl::documentEventOccured ( const document::DocumentEvent &  rEvent)
inlineoverridevirtual

◆ isShowing()

bool FormObjEventListenerImpl::isShowing ( ) const
inline

Definition at line 2254 of file sbxmod.cxx.

References mbShowing.

◆ operator=()

const FormObjEventListenerImpl & FormObjEventListenerImpl::operator= ( const FormObjEventListenerImpl )
delete

◆ removeListener()

void FormObjEventListenerImpl::removeListener ( )
inline

Definition at line 2256 of file sbxmod.cxx.

References mbDisposed, mxComponent, and mxModel.

Referenced by disposing(), documentEventOccured(), and ~FormObjEventListenerImpl().

◆ windowActivated()

virtual void SAL_CALL FormObjEventListenerImpl::windowActivated ( const lang::EventObject &  )
inlineoverridevirtual

◆ windowClosed()

virtual void SAL_CALL FormObjEventListenerImpl::windowClosed ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2331 of file sbxmod.cxx.

References mbOpened, and mbShowing.

◆ windowClosing()

virtual void SAL_CALL FormObjEventListenerImpl::windowClosing ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2299 of file sbxmod.cxx.

References mpUserForm, and SbUserFormModule::triggerMethod().

◆ windowDeactivated()

virtual void SAL_CALL FormObjEventListenerImpl::windowDeactivated ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2358 of file sbxmod.cxx.

References mpUserForm, and SbUserFormModule::triggerDeactivateEvent().

◆ windowHidden()

virtual void SAL_CALL FormObjEventListenerImpl::windowHidden ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2383 of file sbxmod.cxx.

◆ windowMinimized()

virtual void SAL_CALL FormObjEventListenerImpl::windowMinimized ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2337 of file sbxmod.cxx.

◆ windowMoved()

virtual void SAL_CALL FormObjEventListenerImpl::windowMoved ( const awt::WindowEvent &  )
inlineoverridevirtual

Definition at line 2373 of file sbxmod.cxx.

References mpUserForm, and SbUserFormModule::triggerLayoutEvent().

◆ windowNormalized()

virtual void SAL_CALL FormObjEventListenerImpl::windowNormalized ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2341 of file sbxmod.cxx.

◆ windowOpened()

virtual void SAL_CALL FormObjEventListenerImpl::windowOpened ( const lang::EventObject &  )
inlineoverridevirtual

◆ windowResized()

virtual void SAL_CALL FormObjEventListenerImpl::windowResized ( const awt::WindowEvent &  )
inlineoverridevirtual

◆ windowShown()

virtual void SAL_CALL FormObjEventListenerImpl::windowShown ( const lang::EventObject &  )
inlineoverridevirtual

Definition at line 2379 of file sbxmod.cxx.

Member Data Documentation

◆ mbActivated

bool FormObjEventListenerImpl::mbActivated
private

Definition at line 2215 of file sbxmod.cxx.

Referenced by windowActivated(), and windowOpened().

◆ mbDisposed

bool FormObjEventListenerImpl::mbDisposed
private

Definition at line 2213 of file sbxmod.cxx.

Referenced by disposing(), documentEventOccured(), and removeListener().

◆ mbOpened

bool FormObjEventListenerImpl::mbOpened
private

Definition at line 2214 of file sbxmod.cxx.

Referenced by windowActivated(), windowClosed(), and windowOpened().

◆ mbShowing

bool FormObjEventListenerImpl::mbShowing
private

Definition at line 2216 of file sbxmod.cxx.

Referenced by isShowing(), windowClosed(), and windowOpened().

◆ mpUserForm

SbUserFormModule* FormObjEventListenerImpl::mpUserForm
private

◆ mxComponent

uno::Reference< lang::XComponent > FormObjEventListenerImpl::mxComponent
private

Definition at line 2211 of file sbxmod.cxx.

Referenced by FormObjEventListenerImpl(), and removeListener().

◆ mxModel

uno::Reference< frame::XModel > FormObjEventListenerImpl::mxModel
private

Definition at line 2212 of file sbxmod.cxx.

Referenced by FormObjEventListenerImpl(), and removeListener().


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