:: com :: sun :: star :: awt ::
|
interface XComboBox |
|
- Description
- gives access to the items of a combo box and makes it possible to
register item and action event listeners.
|
Methods' Details |
addItemListener
- Description
- registers a listener for item events.
|
|
removeItemListener
- Description
- unregisters a listener for item events.
|
|
addActionListener
- Description
- registers a listener for action events.
|
|
removeActionListener
- Description
- unregisters a listener for action events.
|
|
addItem
void |
addItem( |
[in] string |
aItem, |
| [in] short |
nPos ); |
- Description
- adds an item at the specified position.
|
|
addItems
void |
addItems( |
[in] sequence< string > |
aItems, |
| [in] short |
nPos ); |
- Description
- adds multiple items at the specified position.
|
|
removeItems
void |
removeItems( |
[in] short |
nPos, |
| [in] short |
nCount ); |
- Description
- removes a number of items at the specified position.
|
|
getItemCount
- Description
- returns the number of items in the combo box.
|
|
getItem
string |
getItem( |
[in] short |
nPos ); |
- Description
- returns the item at the specified position.
|
|
getItems
sequence< string > |
getItems(); |
- Description
- returns all items of the combo box.
|
|
getDropDownLineCount
short |
getDropDownLineCount(); |
- Description
- returns the number of visible lines in the drop down mode.
|
|
setDropDownLineCount
void |
setDropDownLineCount( |
[in] short |
nLines ); |
- Description
- sets the number of visible lines for drop down mode.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.