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

#include <unocontrols.hxx>

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

Public Member Functions

 UnoComboBoxControl ()
 
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 disposing (const css::lang::EventObject &Source) override
 
void SAL_CALL dispose () override
 
css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) override
 
void SAL_CALL acquire () noexcept override
 
void SAL_CALL release () noexcept override
 
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () 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 getDropDownLineCount () override
 
void SAL_CALL setDropDownLineCount (sal_Int16 nLines) override
 
virtual 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
 
virtual void SAL_CALL itemStateChanged (const css::awt::ItemEvent &rEvent) override
 
OUString SAL_CALL getImplementationName () override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

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

Private Attributes

ActionListenerMultiplexer maActionListeners
 
ItemListenerMultiplexer maItemListeners
 

Detailed Description

Definition at line 929 of file unocontrols.hxx.

Constructor & Destructor Documentation

◆ UnoComboBoxControl()

UnoComboBoxControl::UnoComboBoxControl ( )

Definition at line 2990 of file unocontrols.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL UnoComboBoxControl::acquire ( )
inlineoverridenoexcept

Definition at line 949 of file unocontrols.hxx.

◆ addActionListener()

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

Definition at line 3084 of file unocontrols.cxx.

References maActionListeners.

◆ addItem()

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

Definition at line 3198 of file unocontrols.cxx.

References addItems(), aSeq, and nPos.

◆ addItemListener()

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

Definition at line 3104 of file unocontrols.cxx.

References maItemListeners.

◆ addItems()

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

Definition at line 3204 of file unocontrols.cxx.

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

Referenced by addItem().

◆ allItemsRemoved()

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

Definition at line 3182 of file unocontrols.cxx.

◆ createPeer()

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

Definition at line 3073 of file unocontrols.cxx.

References maActionListeners, and maItemListeners.

◆ dispose()

void UnoComboBoxControl::dispose ( void  )
override

Definition at line 3014 of file unocontrols.cxx.

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

◆ disposing()

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

Definition at line 944 of file unocontrols.hxx.

References Source.

◆ GetComponentServiceName()

OUString UnoComboBoxControl::GetComponentServiceName ( ) const
override

Definition at line 3009 of file unocontrols.cxx.

◆ getDropDownLineCount()

sal_Int16 UnoComboBoxControl::getDropDownLineCount ( )
override

Definition at line 3287 of file unocontrols.cxx.

References BASEPROPERTY_LINECOUNT.

◆ getImplementationId()

css::uno::Sequence< sal_Int8 > SAL_CALL UnoComboBoxControl::getImplementationId ( )
override

◆ getImplementationName()

OUString UnoComboBoxControl::getImplementationName ( )
override

Definition at line 2998 of file unocontrols.cxx.

◆ getItem()

OUString UnoComboBoxControl::getItem ( sal_Int16  nPos)
override

Definition at line 3263 of file unocontrols.cxx.

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

◆ getItemCount()

sal_Int16 UnoComboBoxControl::getItemCount ( )
override

Definition at line 3255 of file unocontrols.cxx.

References aSeq, BASEPROPERTY_STRINGITEMLIST, and GetPropertyName().

◆ getItems()

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

Definition at line 3274 of file unocontrols.cxx.

References aSeq, BASEPROPERTY_STRINGITEMLIST, and GetPropertyName().

◆ getSupportedServiceNames()

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

Definition at line 3003 of file unocontrols.cxx.

References comphelper::concatSequences().

◆ getTypes()

css::uno::Sequence< css::uno::Type > UnoComboBoxControl::getTypes ( )
override

Definition at line 3042 of file unocontrols.cxx.

◆ ImplSetPeerProperty()

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

Definition at line 3063 of file unocontrols.cxx.

References BASEPROPERTY_STRINGITEMLIST, and GetPropertyName().

◆ itemListChanged()

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

Definition at line 3190 of file unocontrols.cxx.

◆ itemStateChanged()

void UnoComboBoxControl::itemStateChanged ( const css::awt::ItemEvent &  rEvent)
overridevirtual

Definition at line 3124 of file unocontrols.cxx.

References Exception, maItemListeners, and TOOLS_WARN_EXCEPTION.

◆ listItemInserted()

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

Definition at line 3158 of file unocontrols.cxx.

◆ listItemModified()

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

Definition at line 3174 of file unocontrols.cxx.

◆ listItemRemoved()

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

Definition at line 3166 of file unocontrols.cxx.

◆ queryAggregation()

uno::Any UnoComboBoxControl::queryAggregation ( const css::uno::Type &  rType)
override

Definition at line 3022 of file unocontrols.cxx.

References uno::Any::hasValue().

◆ queryInterface()

css::uno::Any SAL_CALL UnoComboBoxControl::queryInterface ( const css::uno::Type &  rType)
inlineoverride

Definition at line 947 of file unocontrols.hxx.

◆ release()

void SAL_CALL UnoComboBoxControl::release ( )
inlineoverridenoexcept

Definition at line 950 of file unocontrols.hxx.

◆ removeActionListener()

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

Definition at line 3094 of file unocontrols.cxx.

References maActionListeners.

◆ removeItemListener()

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

Definition at line 3114 of file unocontrols.cxx.

References maItemListeners.

◆ removeItems()

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

Definition at line 3230 of file unocontrols.cxx.

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

◆ setDropDownLineCount()

void UnoComboBoxControl::setDropDownLineCount ( sal_Int16  nLines)
override

Definition at line 3282 of file unocontrols.cxx.

References BASEPROPERTY_LINECOUNT, and GetPropertyName().

◆ setModel()

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

Definition at line 3138 of file unocontrols.cxx.

◆ updateFromModel()

void UnoComboBoxControl::updateFromModel ( )
overrideprivatevirtual

Definition at line 3053 of file unocontrols.cxx.

References aEvent, and ENSURE_OR_RETURN_VOID.

Member Data Documentation

◆ maActionListeners

ActionListenerMultiplexer UnoComboBoxControl::maActionListeners
private

Definition at line 935 of file unocontrols.hxx.

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

◆ maItemListeners

ItemListenerMultiplexer UnoComboBoxControl::maItemListeners
private

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