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

#include <vclxwindows.hxx>

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

Public Member Functions

 VCLXListBox ()
 
void SAL_CALL dispose () 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
 
css::awt::Size SAL_CALL getMinimumSize () override
 
css::awt::Size SAL_CALL getPreferredSize () override
 
css::awt::Size SAL_CALL calcAdjustedSize (const css::awt::Size &rNewSize) 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
 
void SAL_CALL setProperty (const OUString &PropertyName, const css::uno::Any &Value) override
 
css::uno::Any SAL_CALL getProperty (const OUString &PropertyName) 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 disposing (const css::lang::EventObject &i_rEvent) override
 
virtual void GetPropertyIds (std::vector< sal_uInt16 > &aIds) override
 

Static Public Member Functions

static void ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds)
 

Private Member Functions

virtual void ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) override
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > CreateAccessibleContext () override
 
void ImplCallItemListeners ()
 

Private Attributes

ActionListenerMultiplexer maActionListeners
 
ItemListenerMultiplexer maItemListeners
 

Detailed Description

Definition at line 517 of file include/toolkit/awt/vclxwindows.hxx.

Constructor & Destructor Documentation

◆ VCLXListBox()

VCLXListBox::VCLXListBox ( )

Definition at line 1452 of file vclxwindows.cxx.

Member Function Documentation

◆ addActionListener()

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

Definition at line 1481 of file vclxwindows.cxx.

References maActionListeners.

◆ addItem()

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

Definition at line 1493 of file vclxwindows.cxx.

References nPos.

◆ addItemListener()

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

Definition at line 1469 of file vclxwindows.cxx.

References maItemListeners.

◆ addItems()

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

Definition at line 1501 of file vclxwindows.cxx.

References nPos.

Referenced by setProperty().

◆ allItemsRemoved()

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

Definition at line 2093 of file vclxwindows.cxx.

References ENSURE_OR_RETURN_VOID.

◆ calcAdjustedSize()

css::awt::Size VCLXListBox::calcAdjustedSize ( const css::awt::Size &  rNewSize)
override

Definition at line 1977 of file vclxwindows.cxx.

References AWTSize(), and VCLSize().

◆ CreateAccessibleContext()

css::uno::Reference< css::accessibility::XAccessibleContext > VCLXListBox::CreateAccessibleContext ( )
overrideprivatevirtual

Definition at line 1785 of file vclxwindows.cxx.

◆ dispose()

void VCLXListBox::dispose ( void  )
override

Definition at line 1458 of file vclxwindows.cxx.

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

◆ disposing()

void SAL_CALL VCLXListBox::disposing ( const css::lang::EventObject &  i_rEvent)
overridevirtual

Definition at line 2137 of file vclxwindows.cxx.

References VCLXWindow::disposing().

◆ getColumnsAndLines()

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

Definition at line 1997 of file vclxwindows.cxx.

◆ getDropDownLineCount()

sal_Int16 VCLXListBox::getDropDownLineCount ( )
override

Definition at line 1700 of file vclxwindows.cxx.

◆ getItem()

OUString VCLXListBox::getItem ( sal_Int16  nPos)
override

Definition at line 1541 of file vclxwindows.cxx.

References nPos.

◆ getItemCount()

sal_Int16 VCLXListBox::getItemCount ( )
override

Definition at line 1533 of file vclxwindows.cxx.

◆ getItems()

css::uno::Sequence< OUString > VCLXListBox::getItems ( )
override

Definition at line 1552 of file vclxwindows.cxx.

References aSeq, and n.

◆ getMinimumSize() [1/2]

css::awt::Size VCLXListBox::getMinimumSize ( )
override

Definition at line 1953 of file vclxwindows.cxx.

References AWTSize().

◆ getMinimumSize() [2/2]

css::awt::Size VCLXListBox::getMinimumSize ( sal_Int16  nCols,
sal_Int16  nLines 
)
override

Definition at line 1987 of file vclxwindows.cxx.

References AWTSize().

◆ getPreferredSize()

css::awt::Size VCLXListBox::getPreferredSize ( )
override

Definition at line 1963 of file vclxwindows.cxx.

References Size::AdjustHeight(), AWTSize(), and WB_DROPDOWN.

◆ getProperty()

css::uno::Any VCLXListBox::getProperty ( const OUString &  PropertyName)
override

◆ GetPropertyIds()

virtual void VCLXListBox::GetPropertyIds ( std::vector< sal_uInt16 > &  aIds)
inlineoverridevirtual

Definition at line 582 of file include/toolkit/awt/vclxwindows.hxx.

References ImplGetPropertyIds().

◆ getSelectedItem()

OUString VCLXListBox::getSelectedItem ( )
override

Definition at line 1594 of file vclxwindows.cxx.

◆ getSelectedItemPos()

sal_Int16 VCLXListBox::getSelectedItemPos ( )
override

Definition at line 1571 of file vclxwindows.cxx.

◆ getSelectedItems()

css::uno::Sequence< OUString > VCLXListBox::getSelectedItems ( )
override

Definition at line 1605 of file vclxwindows.cxx.

References aSeq, and n.

◆ getSelectedItemsPos()

css::uno::Sequence< sal_Int16 > VCLXListBox::getSelectedItemsPos ( )
override

Definition at line 1578 of file vclxwindows.cxx.

References aSeq, and n.

◆ ImplCallItemListeners()

void VCLXListBox::ImplCallItemListeners ( )
private

Definition at line 2011 of file vclxwindows.cxx.

References aEvent, and maItemListeners.

Referenced by ProcessWindowEvent().

◆ ImplGetPropertyIds()

void VCLXListBox::ImplGetPropertyIds ( std::vector< sal_uInt16 > &  aIds)
static

◆ isMutipleMode()

sal_Bool VCLXListBox::isMutipleMode ( )
override

Definition at line 1711 of file vclxwindows.cxx.

◆ itemListChanged()

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

Definition at line 2103 of file vclxwindows.cxx.

References ENSURE_OR_RETURN_VOID.

◆ listItemInserted()

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

Definition at line 2049 of file vclxwindows.cxx.

References ENSURE_OR_RETURN_VOID, and TkResMgr::getImageFromURL().

◆ listItemModified()

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

Definition at line 2075 of file vclxwindows.cxx.

References ENSURE_OR_RETURN_VOID, and TkResMgr::getImageFromURL().

◆ listItemRemoved()

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

Definition at line 2063 of file vclxwindows.cxx.

References ENSURE_OR_RETURN_VOID.

◆ makeVisible()

void VCLXListBox::makeVisible ( sal_Int16  nEntry)
override

Definition at line 1729 of file vclxwindows.cxx.

◆ ProcessWindowEvent()

void VCLXListBox::ProcessWindowEvent ( const VclWindowEvent rVclWindowEvent)
overrideprivatevirtual

◆ removeActionListener()

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

Definition at line 1487 of file vclxwindows.cxx.

References maActionListeners.

◆ removeItemListener()

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

Definition at line 1475 of file vclxwindows.cxx.

References maItemListeners.

◆ removeItems()

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

Definition at line 1522 of file vclxwindows.cxx.

References n, nCount, and nPos.

◆ selectItem()

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

Definition at line 1681 of file vclxwindows.cxx.

References selectItemPos().

◆ selectItemPos()

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

Definition at line 1621 of file vclxwindows.cxx.

References nPos.

Referenced by selectItem().

◆ selectItemsPos()

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

Definition at line 1640 of file vclxwindows.cxx.

References n, and nPos.

Referenced by setProperty().

◆ setDropDownLineCount()

void VCLXListBox::setDropDownLineCount ( sal_Int16  nLines)
override

Definition at line 1692 of file vclxwindows.cxx.

◆ setMultipleMode()

void VCLXListBox::setMultipleMode ( sal_Bool  bMulti)
override

Definition at line 1721 of file vclxwindows.cxx.

◆ setProperty()

void VCLXListBox::setProperty ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
override

Member Data Documentation

◆ maActionListeners

ActionListenerMultiplexer VCLXListBox::maActionListeners
private

◆ maItemListeners

ItemListenerMultiplexer VCLXListBox::maItemListeners
private

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