LibreOffice Module forms (master) 1
|
#include <ListBox.hxx>
Public Member Functions | |
OListBoxControl (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory) | |
virtual | ~OListBoxControl () override |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &_rType) override |
OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | addChangeListener (const css::uno::Reference< css::form::XChangeListener > &_rxListener) override |
virtual void SAL_CALL | removeChangeListener (const css::uno::Reference< css::form::XChangeListener > &_rxListener) override |
virtual void SAL_CALL | focusGained (const css::awt::FocusEvent &_rEvent) override |
virtual void SAL_CALL | focusLost (const css::awt::FocusEvent &_rEvent) override |
virtual void SAL_CALL | itemStateChanged (const css::awt::ItemEvent &_rEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | addItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override |
virtual void SAL_CALL | removeItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override |
virtual void SAL_CALL | addActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override |
virtual void SAL_CALL | removeActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override |
virtual void SAL_CALL | addItem (const OUString &aItem, ::sal_Int16 nPos) override |
virtual void SAL_CALL | addItems (const css::uno::Sequence< OUString > &aItems, ::sal_Int16 nPos) override |
virtual void SAL_CALL | removeItems (::sal_Int16 nPos, ::sal_Int16 nCount) override |
virtual ::sal_Int16 SAL_CALL | getItemCount () override |
virtual OUString SAL_CALL | getItem (::sal_Int16 nPos) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getItems () override |
virtual ::sal_Int16 SAL_CALL | getSelectedItemPos () override |
virtual css::uno::Sequence< ::sal_Int16 > SAL_CALL | getSelectedItemsPos () override |
virtual OUString SAL_CALL | getSelectedItem () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSelectedItems () override |
virtual void SAL_CALL | selectItemPos (::sal_Int16 nPos, sal_Bool bSelect) override |
virtual void SAL_CALL | selectItemsPos (const css::uno::Sequence< ::sal_Int16 > &aPositions, sal_Bool bSelect) override |
virtual void SAL_CALL | selectItem (const OUString &aItem, sal_Bool bSelect) override |
virtual sal_Bool SAL_CALL | isMutipleMode () override |
virtual void SAL_CALL | setMultipleMode (sal_Bool bMulti) override |
virtual ::sal_Int16 SAL_CALL | getDropDownLineCount () override |
virtual void SAL_CALL | setDropDownLineCount (::sal_Int16 nLines) override |
virtual void SAL_CALL | makeVisible (::sal_Int16 nEntry) override |
Public Member Functions inherited from frm::OBoundControl | |
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 |
Public Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 > | |
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 comphelper::IEventProcessor | |
virtual void | processEvent (const AnyEvent &_rEvent)=0 |
virtual void SAL_CALL | acquire () noexcept=0 |
virtual void SAL_CALL | release () noexcept=0 |
Protected Member Functions | |
virtual css::uno::Sequence< css::uno::Type > | _getTypes () override |
virtual void | processEvent (const ::comphelper::AnyEvent &_rEvent) override |
Protected Member Functions inherited from frm::OBoundControl | |
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 | |
Protected Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 > | |
~ImplHelper4 () SAL_NOEXCEPT | |
Protected Member Functions inherited from comphelper::IEventProcessor | |
~IEventProcessor () | |
Private Member Functions | |
DECL_LINK (OnTimeout, Timer *, void) | |
Private Attributes | |
::comphelper::OInterfaceContainerHelper3< css::form::XChangeListener > | m_aChangeListeners |
::comphelper::OInterfaceContainerHelper3< css::awt::XItemListener > | m_aItemListeners |
css::uno::Any | m_aCurrentSelection |
Idle | m_aChangeIdle |
css::uno::Reference< css::awt::XListBox > | m_xAggregateListBox |
::rtl::Reference< ::comphelper::AsyncEventNotifier > | m_pItemBroadcaster |
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 |
Definition at line 244 of file ListBox.hxx.
|
explicit |
Definition at line 1811 of file ListBox.cxx.
References frm::OControl::doSetDelegator(), LINK, m_aChangeIdle, m_aMutex, cppu::OWeakObject::m_refCount, frm::OControl::m_xAggregate, m_xAggregateListBox, query_aggregation(), Timer::SetInvokeHandler(), and Task::SetPriority().
|
overridevirtual |
Definition at line 1839 of file ListBox.cxx.
References comphelper::IEventProcessor::acquire(), frm::OControl::dispose(), frm::OControl::doResetDelegator(), and m_xAggregateListBox.
|
overrideprotectedvirtual |
Reimplemented from frm::OBoundControl.
Definition at line 1789 of file ListBox.cxx.
References frm::OBoundControl::_getTypes(), frm::TypeBag::getTypes(), and cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 >::getTypes().
|
overridevirtual |
Definition at line 2038 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 1966 of file ListBox.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), and m_aChangeListeners.
|
overridevirtual |
Definition at line 2052 of file ListBox.cxx.
References m_xAggregateListBox, and nPos.
|
overridevirtual |
Definition at line 2026 of file ListBox.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), and m_aItemListeners.
|
overridevirtual |
Definition at line 2059 of file ListBox.cxx.
References m_xAggregateListBox, and nPos.
|
private |
|
overridevirtual |
Reimplemented from frm::OBoundControl.
Definition at line 1979 of file ListBox.cxx.
References aEvent, comphelper::OInterfaceContainerHelper3< class ListenerT >::disposeAndClear(), frm::OBoundControl::disposing(), Task::IsActive(), m_aChangeIdle, m_aChangeListeners, m_aItemListeners, frm::OControl::m_aMutex, m_pItemBroadcaster, Task::Stop(), and t.
|
overridevirtual |
Reimplemented from frm::OBoundControl.
|
overridevirtual |
Definition at line 1867 of file ListBox.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength(), frm::OControl::getModel(), m_aChangeListeners, m_aCurrentSelection, frm::OControl::m_aMutex, and PROPERTY_SELECT_SEQ.
|
overridevirtual |
Definition at line 1882 of file ListBox.cxx.
References m_aCurrentSelection.
|
override |
Definition at line 2165 of file ListBox.cxx.
References m_xAggregateListBox.
|
inlineoverridevirtual |
Implements frm::OControl.
Definition at line 274 of file ListBox.hxx.
|
overridevirtual |
Definition at line 2081 of file ListBox.cxx.
References m_xAggregateListBox, and nPos.
|
override |
Definition at line 2073 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 2089 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 2113 of file ListBox.cxx.
References m_xAggregateListBox.
|
override |
Definition at line 2097 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 2121 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 2105 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Reimplemented from frm::OControl.
Definition at line 1853 of file ListBox.cxx.
References FRM_SUN_CONTROL_LISTBOX, frm::OControl::getSupportedServiceNames(), and STARDIV_ONE_FORM_CONTROL_LISTBOX.
|
overridevirtual |
Definition at line 2150 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 1889 of file ListBox.cxx.
References Any, comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength(), frm::OControl::getModel(), Task::IsActive(), m_aChangeIdle, m_aChangeListeners, m_aCurrentSelection, m_aItemListeners, frm::OControl::m_aMutex, m_pItemBroadcaster, comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach(), PROPERTY_SELECT_SEQ, Idle::Start(), and Task::Stop().
|
overridevirtual |
Definition at line 2180 of file ListBox.cxx.
References m_xAggregateListBox.
|
overrideprotectedvirtual |
Definition at line 2007 of file ListBox.cxx.
References comphelper::EventHolder< typename EVENT_OBJECT >::getEventObject(), m_aItemListeners, frm::OControl::m_aMutex, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
|
overridevirtual |
Reimplemented from frm::OBoundControl.
Definition at line 1798 of file ListBox.cxx.
References Any, frm::OBoundControl::queryAggregation(), and cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 >::queryInterface().
|
overridevirtual |
Definition at line 2045 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 1972 of file ListBox.cxx.
References m_aChangeListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 2032 of file ListBox.cxx.
References m_aItemListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 2066 of file ListBox.cxx.
References m_xAggregateListBox, nCount, and nPos.
|
overridevirtual |
Definition at line 2143 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 2129 of file ListBox.cxx.
References m_xAggregateListBox, and nPos.
|
overridevirtual |
Definition at line 2136 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 2173 of file ListBox.cxx.
References m_xAggregateListBox.
|
overridevirtual |
Definition at line 2158 of file ListBox.cxx.
References m_xAggregateListBox.
|
private |
Definition at line 253 of file ListBox.hxx.
Referenced by disposing(), itemStateChanged(), and OListBoxControl().
|
private |
Definition at line 249 of file ListBox.hxx.
Referenced by addChangeListener(), disposing(), focusGained(), itemStateChanged(), and removeChangeListener().
|
private |
Definition at line 252 of file ListBox.hxx.
Referenced by focusGained(), focusLost(), and itemStateChanged().
|
private |
Definition at line 250 of file ListBox.hxx.
Referenced by addItemListener(), disposing(), itemStateChanged(), processEvent(), and removeItemListener().
|
private |
Definition at line 259 of file ListBox.hxx.
Referenced by disposing(), and itemStateChanged().
|
private |
Definition at line 256 of file ListBox.hxx.
Referenced by addActionListener(), addItem(), addItems(), getDropDownLineCount(), getItem(), getItemCount(), getItems(), getSelectedItem(), getSelectedItemPos(), getSelectedItems(), getSelectedItemsPos(), isMutipleMode(), makeVisible(), OListBoxControl(), removeActionListener(), removeItems(), selectItem(), selectItemPos(), selectItemsPos(), setDropDownLineCount(), setMultipleMode(), and ~OListBoxControl().