LibreOffice Module UnoControls (master)
1
|
#include <basecontainercontrol.hxx>
Public Member Functions | |
BaseContainerControl (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~BaseContainerControl () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
give answer, if interface is supported The interfaces are searched by type. More... | |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
get information about supported interfaces XTypeProvider More... | |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &aType) override |
virtual void SAL_CALL | createPeer (const css::uno::Reference< css::awt::XToolkit > &xToolkit, const css::uno::Reference< css::awt::XWindowPeer > &xParent) override |
virtual sal_Bool SAL_CALL | setModel (const css::uno::Reference< css::awt::XControlModel > &xModel) override |
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL | getModel () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEvent) override |
virtual void SAL_CALL | addControl (const OUString &sName, const css::uno::Reference< css::awt::XControl > &xControl) override |
virtual void SAL_CALL | removeControl (const css::uno::Reference< css::awt::XControl > &xControl) override |
virtual void SAL_CALL | setStatusText (const OUString &sStatusText) override |
virtual css::uno::Reference< css::awt::XControl > SAL_CALL | getControl (const OUString &sName) override |
virtual css::uno::Sequence< css::uno::Reference< css::awt::XControl > > SAL_CALL | getControls () override |
virtual void SAL_CALL | setVisible (sal_Bool bVisible) override |
![]() | |
BaseControl (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~BaseControl () override |
virtual void SAL_CALL | acquire () override throw () |
increment refcount XInterface release() A RuntimeException is thrown. More... | |
virtual void SAL_CALL | release () override throw () |
decrement refcount XInterface acquire() A RuntimeException is thrown. More... | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
get implementation id This ID is necessary for UNO-caching. More... | |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &xDelegator) override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | setContext (const css::uno::Reference< css::uno::XInterface > &xContext) override |
virtual void SAL_CALL | setDesignMode (sal_Bool bOn) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getContext () override |
virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL | getPeer () override |
virtual css::uno::Reference< css::awt::XView > SAL_CALL | getView () override |
virtual sal_Bool SAL_CALL | isDesignMode () override |
virtual sal_Bool SAL_CALL | isTransparent () override |
virtual void SAL_CALL | setPosSize (sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nFlags) override |
virtual void SAL_CALL | setEnable (sal_Bool bEnable) override |
virtual void SAL_CALL | setFocus () override |
virtual css::awt::Rectangle SAL_CALL | getPosSize () override |
virtual void SAL_CALL | addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
virtual void SAL_CALL | removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
virtual void SAL_CALL | draw (sal_Int32 nX, sal_Int32 nY) override |
virtual sal_Bool SAL_CALL | setGraphics (const css::uno::Reference< css::awt::XGraphics > &xDevice) override |
virtual void SAL_CALL | setZoom (float fZoomX, float fZoomY) override |
virtual css::uno::Reference< css::awt::XGraphics > SAL_CALL | getGraphics () override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual void SAL_CALL | windowPaint (const css::awt::PaintEvent &rEvent) override |
virtual void SAL_CALL | windowResized (const css::awt::WindowEvent &aEvent) override |
virtual void SAL_CALL | windowMoved (const css::awt::WindowEvent &aEvent) override |
virtual void SAL_CALL | windowShown (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | windowHidden (const css::lang::EventObject &aEvent) override |
![]() | |
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 |
![]() | |
OWeakAggObject () | |
![]() | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Protected Member Functions | |
virtual css::awt::WindowDescriptor | impl_getWindowDescriptor (const css::uno::Reference< css::awt::XWindowPeer > &xParentPeer) override |
virtual void | impl_paint (sal_Int32 nX, sal_Int32 nY, const css::uno::Reference< css::awt::XGraphics > &xGraphics) override |
![]() | |
const css::uno::Reference< css::uno::XComponentContext > & | impl_getComponentContext () const |
const css::uno::Reference< css::awt::XWindow > & | impl_getPeerWindow () const |
const css::uno::Reference< css::awt::XGraphics > & | impl_getGraphicsPeer () const |
sal_Int32 | impl_getWidth () const |
sal_Int32 | impl_getHeight () const |
virtual void | impl_recalcLayout (const css::awt::WindowEvent &aEvent) |
const css::uno::Reference< css::uno::XInterface > & | impl_getDelegator () const |
![]() | |
virtual void SAL_CALL | disposing () |
![]() | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
![]() | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Private Attributes | |
::std::vector< std::unique_ptr< IMPL_ControlInfo > > | maControlInfoList |
::cppu::OMultiTypeInterfaceContainerHelper | m_aListeners |
Additional Inherited Members | |
![]() | |
::osl::Mutex | m_aMutex |
![]() | |
css::uno::WeakReferenceHelper | xDelegator |
![]() | |
oslInterlockedCount | m_refCount |
Definition at line 36 of file basecontainercontrol.hxx.
unocontrols::BaseContainerControl::BaseContainerControl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
Definition at line 42 of file basecontainercontrol.cxx.
References m_aListeners, and m_aMutex.
|
overridevirtual |
Definition at line 48 of file basecontainercontrol.cxx.
|
overridevirtual |
Definition at line 192 of file basecontainercontrol.cxx.
References aEvent, elementInserted(), cppu::OMultiTypeInterfaceContainerHelper::getContainer(), unocontrols::BaseControl::getPeer(), m_aListeners, unocontrols::IMPL_MutexContainer::m_aMutex, maControlInfoList, unocontrols::IMPL_ControlInfo::sName, and unocontrols::IMPL_ControlInfo::xControl.
Referenced by unocontrols::ProgressMonitor::ProgressMonitor().
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 114 of file basecontainercontrol.cxx.
References unocontrols::BaseControl::createPeer(), getControls(), and unocontrols::BaseControl::getPeer().
Referenced by unocontrols::StatusIndicator::createPeer(), unocontrols::ProgressMonitor::createPeer(), and setVisible().
Reimplemented from unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 151 of file basecontainercontrol.cxx.
References control, unocontrols::BaseControl::dispose(), cppu::OMultiTypeInterfaceContainerHelper::disposeAndClear(), getControls(), m_aListeners, unocontrols::IMPL_MutexContainer::m_aMutex, and maControlInfoList.
Referenced by unocontrols::StatusIndicator::dispose(), and unocontrols::ProgressMonitor::dispose().
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 182 of file basecontainercontrol.cxx.
References removeControl().
|
overridevirtual |
Definition at line 306 of file basecontainercontrol.cxx.
References maControlInfoList, nCount, unocontrols::IMPL_ControlInfo::sName, and unocontrols::IMPL_ControlInfo::xControl.
|
overridevirtual |
Definition at line 332 of file basecontainercontrol.cxx.
References maControlInfoList, nCount, and unocontrols::IMPL_ControlInfo::xControl.
Referenced by createPeer(), and dispose().
|
overridevirtual |
Implements unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 142 of file basecontainercontrol.cxx.
|
overridevirtual |
get information about supported interfaces XTypeProvider
A RuntimeException is thrown.
Reimplemented from unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 77 of file basecontainercontrol.cxx.
References unocontrols::BaseControl::getTypes().
Referenced by unocontrols::StatusIndicator::getTypes(), and unocontrols::ProgressMonitor::getTypes().
|
overrideprotectedvirtual |
Reimplemented from unocontrols::BaseControl.
Reimplemented in unocontrols::StatusIndicator.
Definition at line 370 of file basecontainercontrol.cxx.
References unocontrols::BaseControl::getPosSize().
|
overrideprotectedvirtual |
Reimplemented from unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 386 of file basecontainercontrol.cxx.
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 89 of file basecontainercontrol.cxx.
References Any, unocontrols::BaseControl::queryAggregation(), and cppu::queryInterface().
Referenced by queryInterface().
|
overridevirtual |
give answer, if interface is supported The interfaces are searched by type.
rType | is the type of searched interface. |
A RuntimeException is thrown.
Reimplemented from unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 54 of file basecontainercontrol.cxx.
References Any, unocontrols::BaseControl::impl_getDelegator(), and queryAggregation().
|
overridevirtual |
Definition at line 245 of file basecontainercontrol.cxx.
References aEvent, elementRemoved(), cppu::OMultiTypeInterfaceContainerHelper::getContainer(), m_aListeners, unocontrols::IMPL_MutexContainer::m_aMutex, maControlInfoList, n, and unocontrols::IMPL_ControlInfo::xControl.
Referenced by unocontrols::StatusIndicator::dispose(), unocontrols::ProgressMonitor::dispose(), and disposing().
|
overridevirtual |
Implements unocontrols::BaseControl.
Reimplemented in unocontrols::ProgressMonitor, and unocontrols::StatusIndicator.
Definition at line 134 of file basecontainercontrol.cxx.
|
overridevirtual |
Definition at line 293 of file basecontainercontrol.cxx.
References unocontrols::BaseControl::getContext().
Reimplemented from unocontrols::BaseControl.
Definition at line 355 of file basecontainercontrol.cxx.
References createPeer(), unocontrols::BaseControl::getContext(), and unocontrols::BaseControl::setVisible().
Referenced by unocontrols::StatusIndicator::end().
|
private |
Definition at line 147 of file basecontainercontrol.hxx.
Referenced by addControl(), dispose(), and removeControl().
|
private |
Definition at line 145 of file basecontainercontrol.hxx.
Referenced by addControl(), dispose(), getControl(), getControls(), and removeControl().