LibreOffice Module toolkit (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
UnoListBoxControl Class Referencefinal

#include <unocontrols.hxx>

Inheritance diagram for UnoListBoxControl:
[legend]
Collaboration diagram for UnoListBoxControl:
[legend]

Public Member Functions

 UnoListBoxControl ()
 
OUString GetComponentServiceName () const override
 
void SAL_CALL createPeer (const css::uno::Reference< css::awt::XToolkit > &Toolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
 
void SAL_CALL dispose () override
 
void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
void SAL_CALL addItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override
 
void SAL_CALL removeItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override
 
void SAL_CALL addActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override
 
void SAL_CALL removeActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override
 
void SAL_CALL addItem (const OUString &aItem, sal_Int16 nPos) override
 
void SAL_CALL addItems (const css::uno::Sequence< OUString > &aItems, sal_Int16 nPos) override
 
void SAL_CALL removeItems (sal_Int16 nPos, sal_Int16 nCount) override
 
sal_Int16 SAL_CALL getItemCount () override
 
OUString SAL_CALL getItem (sal_Int16 nPos) override
 
css::uno::Sequence< OUString > SAL_CALL getItems () override
 
sal_Int16 SAL_CALL getSelectedItemPos () override
 
css::uno::Sequence< sal_Int16 > SAL_CALL getSelectedItemsPos () override
 
OUString SAL_CALL getSelectedItem () override
 
css::uno::Sequence< OUString > SAL_CALL getSelectedItems () override
 
void SAL_CALL selectItemPos (sal_Int16 nPos, sal_Bool bSelect) override
 
void SAL_CALL selectItemsPos (const css::uno::Sequence< sal_Int16 > &aPositions, sal_Bool bSelect) override
 
void SAL_CALL selectItem (const OUString &aItem, sal_Bool bSelect) override
 
sal_Bool SAL_CALL isMutipleMode () override
 
void SAL_CALL setMultipleMode (sal_Bool bMulti) override
 
sal_Int16 SAL_CALL getDropDownLineCount () override
 
void SAL_CALL setDropDownLineCount (sal_Int16 nLines) override
 
void SAL_CALL makeVisible (sal_Int16 nEntry) override
 
void SAL_CALL itemStateChanged (const css::awt::ItemEvent &rEvent) override
 
css::awt::Size SAL_CALL getMinimumSize () override
 
css::awt::Size SAL_CALL getPreferredSize () override
 
css::awt::Size SAL_CALL calcAdjustedSize (const css::awt::Size &aNewSize) override
 
css::awt::Size SAL_CALL getMinimumSize (sal_Int16 nCols, sal_Int16 nLines) override
 
void SAL_CALL getColumnsAndLines (sal_Int16 &nCols, sal_Int16 &nLines) override
 
sal_Bool SAL_CALL setModel (const css::uno::Reference< css::awt::XControlModel > &Model) override
 
virtual void SAL_CALL listItemInserted (const css::awt::ItemListEvent &Event) override
 
virtual void SAL_CALL listItemRemoved (const css::awt::ItemListEvent &Event) override
 
virtual void SAL_CALL listItemModified (const css::awt::ItemListEvent &Event) override
 
virtual void SAL_CALL allItemsRemoved (const css::lang::EventObject &Event) override
 
virtual void SAL_CALL itemListChanged (const css::lang::EventObject &Event) override
 
OUString SAL_CALL getImplementationName () override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from cppu::AggImplInheritanceHelper5< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >
 AggImplInheritanceHelper5 ()
 
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< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Private Member Functions

void ImplUpdateSelectedItemsProperty ()
 
virtual void ImplSetPeerProperty (const OUString &rPropName, const css::uno::Any &rVal) override
 
virtual void updateFromModel () override
 

Private Attributes

ActionListenerMultiplexer maActionListeners
 
ItemListenerMultiplexer maItemListeners
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::AggImplInheritanceHelper5< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >
 AggImplInheritanceHelper5 (T1 const &arg1)
 
 AggImplInheritanceHelper5 (T1 const &arg1, T2 const &arg2)
 
 AggImplInheritanceHelper5 (T1 const &arg1, T2 const &arg2, T3 const &arg3)
 
 AggImplInheritanceHelper5 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
 
 AggImplInheritanceHelper5 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
 
 AggImplInheritanceHelper5 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
 

Detailed Description

Definition at line 831 of file unocontrols.hxx.

Constructor & Destructor Documentation

◆ UnoListBoxControl()

UnoListBoxControl::UnoListBoxControl ( )

Definition at line 2494 of file unocontrols.cxx.

Member Function Documentation

◆ addActionListener()

void UnoListBoxControl::addActionListener ( const css::uno::Reference< css::awt::XActionListener > &  l)
override

Definition at line 2578 of file unocontrols.cxx.

References maActionListeners.

◆ addItem()

void UnoListBoxControl::addItem ( const OUString &  aItem,
sal_Int16  nPos 
)
override

Definition at line 2608 of file unocontrols.cxx.

References addItems(), aSeq, and nPos.

◆ addItemListener()

void UnoListBoxControl::addItemListener ( const css::uno::Reference< css::awt::XItemListener > &  l)
override

Definition at line 2598 of file unocontrols.cxx.

References maItemListeners.

◆ addItems()

void UnoListBoxControl::addItems ( const css::uno::Sequence< OUString > &  aItems,
sal_Int16  nPos 
)
override

Definition at line 2614 of file unocontrols.cxx.

References aSeq, BASEPROPERTY_STRINGITEMLIST, GetPropertyName(), and nPos.

Referenced by addItem().

◆ allItemsRemoved()

void SAL_CALL UnoListBoxControl::allItemsRemoved ( const css::lang::EventObject &  Event)
overridevirtual

Definition at line 2880 of file unocontrols.cxx.

◆ calcAdjustedSize()

awt::Size UnoListBoxControl::calcAdjustedSize ( const css::awt::Size &  aNewSize)
override

Definition at line 2821 of file unocontrols.cxx.

◆ createPeer()

void UnoListBoxControl::createPeer ( const css::uno::Reference< css::awt::XToolkit > &  Toolkit,
const css::uno::Reference< css::awt::XWindowPeer > &  Parent 
)
override

Definition at line 2567 of file unocontrols.cxx.

References UnoControl::createPeer(), and maActionListeners.

◆ dispose()

void UnoListBoxControl::dispose ( void  )
override

Definition at line 2518 of file unocontrols.cxx.

References UnoControl::dispose(), maActionListeners, and maItemListeners.

◆ disposing()

void SAL_CALL UnoListBoxControl::disposing ( const css::lang::EventObject &  Source)
inlineoverride

Definition at line 839 of file unocontrols.hxx.

References UnoControl::disposing(), and Source.

◆ getColumnsAndLines()

void UnoListBoxControl::getColumnsAndLines ( sal_Int16 &  nCols,
sal_Int16 &  nLines 
)
override

Definition at line 2831 of file unocontrols.cxx.

◆ GetComponentServiceName()

OUString UnoListBoxControl::GetComponentServiceName ( ) const
override

Definition at line 2502 of file unocontrols.cxx.

◆ getDropDownLineCount()

sal_Int16 UnoListBoxControl::getDropDownLineCount ( )
override

Definition at line 2780 of file unocontrols.cxx.

References BASEPROPERTY_LINECOUNT.

◆ getImplementationName()

OUString UnoListBoxControl::getImplementationName ( )
override

Definition at line 2507 of file unocontrols.cxx.

◆ getItem()

OUString UnoListBoxControl::getItem ( sal_Int16  nPos)
override

Definition at line 2673 of file unocontrols.cxx.

References aSeq, BASEPROPERTY_STRINGITEMLIST, GetPropertyName(), and nPos.

◆ getItemCount()

sal_Int16 UnoListBoxControl::getItemCount ( )
override

Definition at line 2665 of file unocontrols.cxx.

References aSeq, BASEPROPERTY_STRINGITEMLIST, and GetPropertyName().

◆ getItems()

uno::Sequence< OUString > UnoListBoxControl::getItems ( )
override

Definition at line 2684 of file unocontrols.cxx.

References aSeq, BASEPROPERTY_STRINGITEMLIST, and GetPropertyName().

◆ getMinimumSize() [1/2]

awt::Size UnoListBoxControl::getMinimumSize ( )
override

Definition at line 2811 of file unocontrols.cxx.

◆ getMinimumSize() [2/2]

awt::Size UnoListBoxControl::getMinimumSize ( sal_Int16  nCols,
sal_Int16  nLines 
)
override

Definition at line 2826 of file unocontrols.cxx.

◆ getPreferredSize()

awt::Size UnoListBoxControl::getPreferredSize ( )
override

Definition at line 2816 of file unocontrols.cxx.

◆ getSelectedItem()

OUString UnoListBoxControl::getSelectedItem ( )
override

Definition at line 2714 of file unocontrols.cxx.

◆ getSelectedItemPos()

sal_Int16 UnoListBoxControl::getSelectedItemPos ( )
override

Definition at line 2692 of file unocontrols.cxx.

References n.

◆ getSelectedItems()

uno::Sequence< OUString > UnoListBoxControl::getSelectedItems ( )
override

Definition at line 2725 of file unocontrols.cxx.

References aSeq.

◆ getSelectedItemsPos()

uno::Sequence< sal_Int16 > UnoListBoxControl::getSelectedItemsPos ( )
override

Definition at line 2703 of file unocontrols.cxx.

References aSeq.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > UnoListBoxControl::getSupportedServiceNames ( )
override

◆ ImplSetPeerProperty()

void UnoListBoxControl::ImplSetPeerProperty ( const OUString &  rPropName,
const css::uno::Any &  rVal 
)
overrideprivatevirtual

◆ ImplUpdateSelectedItemsProperty()

void UnoListBoxControl::ImplUpdateSelectedItemsProperty ( )
private

◆ isMutipleMode()

sal_Bool UnoListBoxControl::isMutipleMode ( )
override

Definition at line 2785 of file unocontrols.cxx.

References BASEPROPERTY_MULTISELECTION.

◆ itemListChanged()

void SAL_CALL UnoListBoxControl::itemListChanged ( const css::lang::EventObject &  Event)
overridevirtual

Definition at line 2888 of file unocontrols.cxx.

◆ itemStateChanged()

void UnoListBoxControl::itemStateChanged ( const css::awt::ItemEvent &  rEvent)
override

◆ listItemInserted()

void SAL_CALL UnoListBoxControl::listItemInserted ( const css::awt::ItemListEvent &  Event)
overridevirtual

Definition at line 2856 of file unocontrols.cxx.

◆ listItemModified()

void SAL_CALL UnoListBoxControl::listItemModified ( const css::awt::ItemListEvent &  Event)
overridevirtual

Definition at line 2872 of file unocontrols.cxx.

◆ listItemRemoved()

void SAL_CALL UnoListBoxControl::listItemRemoved ( const css::awt::ItemListEvent &  Event)
overridevirtual

Definition at line 2864 of file unocontrols.cxx.

◆ makeVisible()

void UnoListBoxControl::makeVisible ( sal_Int16  nEntry)
override

Definition at line 2766 of file unocontrols.cxx.

◆ removeActionListener()

void UnoListBoxControl::removeActionListener ( const css::uno::Reference< css::awt::XActionListener > &  l)
override

Definition at line 2588 of file unocontrols.cxx.

References maActionListeners.

◆ removeItemListener()

void UnoListBoxControl::removeItemListener ( const css::uno::Reference< css::awt::XItemListener > &  l)
override

Definition at line 2603 of file unocontrols.cxx.

References maItemListeners.

◆ removeItems()

void UnoListBoxControl::removeItems ( sal_Int16  nPos,
sal_Int16  nCount 
)
override

Definition at line 2640 of file unocontrols.cxx.

References aSeq, BASEPROPERTY_STRINGITEMLIST, GetPropertyName(), nCount, and nPos.

◆ selectItem()

void UnoListBoxControl::selectItem ( const OUString &  aItem,
sal_Bool  bSelect 
)
override

Definition at line 2756 of file unocontrols.cxx.

References ImplUpdateSelectedItemsProperty().

◆ selectItemPos()

void UnoListBoxControl::selectItemPos ( sal_Int16  nPos,
sal_Bool  bSelect 
)
override

Definition at line 2736 of file unocontrols.cxx.

References ImplUpdateSelectedItemsProperty(), and nPos.

◆ selectItemsPos()

void UnoListBoxControl::selectItemsPos ( const css::uno::Sequence< sal_Int16 > &  aPositions,
sal_Bool  bSelect 
)
override

Definition at line 2746 of file unocontrols.cxx.

References ImplUpdateSelectedItemsProperty().

◆ setDropDownLineCount()

void UnoListBoxControl::setDropDownLineCount ( sal_Int16  nLines)
override

Definition at line 2775 of file unocontrols.cxx.

References BASEPROPERTY_LINECOUNT, and GetPropertyName().

◆ setModel()

sal_Bool SAL_CALL UnoListBoxControl::setModel ( const css::uno::Reference< css::awt::XControlModel > &  Model)
override

Definition at line 2836 of file unocontrols.cxx.

◆ setMultipleMode()

void UnoListBoxControl::setMultipleMode ( sal_Bool  bMulti)
override

Definition at line 2790 of file unocontrols.cxx.

References BASEPROPERTY_MULTISELECTION, and GetPropertyName().

◆ updateFromModel()

void UnoListBoxControl::updateFromModel ( )
overrideprivatevirtual

Member Data Documentation

◆ maActionListeners

ActionListenerMultiplexer UnoListBoxControl::maActionListeners
private

Definition at line 896 of file unocontrols.hxx.

Referenced by addActionListener(), createPeer(), dispose(), and removeActionListener().

◆ maItemListeners

ItemListenerMultiplexer UnoListBoxControl::maItemListeners
private

Definition at line 897 of file unocontrols.hxx.

Referenced by addItemListener(), dispose(), itemStateChanged(), and removeItemListener().


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