LibreOffice Module forms (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
frm::OBoundControl Class Reference

#include <FormComponent.hxx>

Inheritance diagram for frm::OBoundControl:
[legend]
Collaboration diagram for frm::OBoundControl:
[legend]

Public Member Functions

 OBoundControl (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const OUString &_rAggregateService, const bool _bSetDelegator=true)
 
virtual ~OBoundControl () override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
virtual sal_Bool SAL_CALL getLock () override
 
virtual void SAL_CALL setLock (sal_Bool _bLock) override
 
virtual sal_Bool SAL_CALL setModel (const css::uno::Reference< css::awt::XControlModel > &Model) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL disposing () override
 
- Public Member Functions inherited from frm::OControl
 OControl (const css::uno::Reference< css::uno::XComponentContext > &_rFactory, const OUString &_rAggregateService, const bool _bSetDelegator=true)
 constructs a control More...
 
- Public Member Functions inherited from cppu::OComponentHelper
 OComponentHelper (::osl::Mutex &rMutex)
 
virtual ~OComponentHelper () SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE=0
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual void SAL_CALL dispose () SAL_OVERRIDE
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 
- Public Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Member Functions

virtual css::uno::Sequence< css::uno::Type > _getTypes () override
 
void _setLock (bool _bLock)
 
- Protected Member Functions inherited from frm::OControl
virtual ~OControl () override
 
void doSetDelegator ()
 sets the control as delegator at the aggregate More...
 
void doResetDelegator ()
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &_rxListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &_rxListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual OUString SAL_CALL getImplementationName () override=0
 
virtual void SAL_CALL setContext (const css::uno::Reference< css::uno::XInterface > &Context) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getContext () override
 
virtual void SAL_CALL createPeer (const css::uno::Reference< css::awt::XToolkit > &Toolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
 
virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getPeer () override
 
virtual sal_Bool SAL_CALL setModel (const css::uno::Reference< css::awt::XControlModel > &Model) override
 
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL getModel () override
 
virtual css::uno::Reference< css::awt::XView > SAL_CALL getView () override
 
virtual void SAL_CALL setDesignMode (sal_Bool bOn) override
 
virtual sal_Bool SAL_CALL isDesignMode () override
 
virtual sal_Bool SAL_CALL isTransparent () override
 
virtual css::uno::Sequence< css::uno::Type > _getTypes ()
 
css::uno::Sequence< OUString > getAggregateServiceNames () const
 
virtual void SAL_CALL disposing ()
 
- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
 ~ImplHelper3 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Private Attributes

bool m_bLocked: 1
 

Additional Inherited Members

- Protected Attributes inherited from frm::OControl
::osl::Mutex m_aMutex
 
css::uno::Reference< css::awt::XControl > m_xControl
 
css::uno::Reference< css::uno::XAggregation > m_xAggregate
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
WindowStateGuard m_aWindowStateGuard
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 246 of file FormComponent.hxx.

Constructor & Destructor Documentation

◆ OBoundControl()

frm::OBoundControl::OBoundControl ( const css::uno::Reference< css::uno::XComponentContext > &  _rxContext,
const OUString &  _rAggregateService,
const bool  _bSetDelegator = true 
)

Definition at line 323 of file FormComponent.cxx.

◆ ~OBoundControl()

frm::OBoundControl::~OBoundControl ( )
overridevirtual

Definition at line 330 of file FormComponent.cxx.

Member Function Documentation

◆ _getTypes()

Sequence< Type > frm::OBoundControl::_getTypes ( )
overrideprotectedvirtual

◆ _setLock()

void frm::OBoundControl::_setLock ( bool  _bLock)
protected

Definition at line 374 of file FormComponent.cxx.

Referenced by setLock().

◆ disposing() [1/2]

void frm::OBoundControl::disposing ( )
overridevirtual

◆ disposing() [2/2]

virtual void SAL_CALL frm::OBoundControl::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ getLock()

sal_Bool SAL_CALL frm::OBoundControl::getLock ( )
overridevirtual

Definition at line 359 of file FormComponent.cxx.

References m_bLocked.

◆ queryAggregation()

Any SAL_CALL frm::OBoundControl::queryAggregation ( const css::uno::Type &  _rType)
overridevirtual

◆ setLock()

void SAL_CALL frm::OBoundControl::setLock ( sal_Bool  _bLock)
overridevirtual

Definition at line 364 of file FormComponent.cxx.

References _setLock(), frm::OControl::m_aMutex, and m_bLocked.

◆ setModel()

sal_Bool SAL_CALL frm::OBoundControl::setModel ( const css::uno::Reference< css::awt::XControlModel > &  Model)
overridevirtual

Reimplemented from frm::OControl.

Definition at line 391 of file FormComponent.cxx.

References frm::OControl::setModel().

Member Data Documentation

◆ m_bLocked

bool frm::OBoundControl::m_bLocked
private

Definition at line 249 of file FormComponent.hxx.

Referenced by getLock(), and setLock().


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