Methods' Summary |
addItemListener |
registers a listener for item events.
|
removeItemListener |
unregisters a listener for item events.
|
addActionListener |
registers a listener for action events.
|
removeActionListener |
unregisters a listener for action events.
|
addItem |
adds an item at the specified position.
|
addItems |
adds multiple items at the specified position.
|
removeItems |
removes a number of items at the specified position.
|
getItemCount |
returns the number of items in the listbox.
|
getItem |
returns the item at the specified position.
|
getItems |
returns all items of the list box.
|
getSelectedItemPos |
returns the position of the currently selected item.
When multiple items are selected, the position of the first one is returned.
When nothing is selected, -1 is returned.
|
getSelectedItemsPos |
returns the positions of all currently selected items.
|
getSelectedItem |
returns the currently selected item.
When multiple items are selected, the first one is returned.
When nothing is selected, an empty string is returned.
|
getSelectedItems |
returns all currently selected items.
|
selectItemPos |
selects/deselects the item at the specified position.
|
selectItemsPos |
selects/deselects multiple items at the specified positions.
|
selectItem |
selects/deselects the specified item.
|
isMutipleMode |
returns `TRUE` if multiple items can be selected,
`FALSE` if only one item can be selected.
|
setMultipleMode |
determines if only a single item or multiple items can be selected.
|
getDropDownLineCount |
returns the number of visible lines in drop down mode.
|
setDropDownLineCount |
sets the number of visible lines for drop down mode.
|
makeVisible |
makes the item at the specified position visible by scrolling.
|
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 listbox.
|
|
getItem
string |
getItem( |
[in] short |
nPos ); |
- Description
- returns the item at the specified position.
|
|
getItems
sequence< string > |
getItems(); |
- Description
- returns all items of the list box.
|
|
getSelectedItemPos
short |
getSelectedItemPos(); |
- Description
- returns the position of the currently selected item.
When multiple items are selected, the position of the first one is returned.
When nothing is selected, -1 is returned.
|
|
getSelectedItemsPos
sequence< short > |
getSelectedItemsPos(); |
- Description
- returns the positions of all currently selected items.
|
|
getSelectedItem
string |
getSelectedItem(); |
- Description
- returns the currently selected item.
When multiple items are selected, the first one is returned.
When nothing is selected, an empty string is returned.
|
|
getSelectedItems
sequence< string > |
getSelectedItems(); |
- Description
- returns all currently selected items.
|
|
selectItemPos
void |
selectItemPos( |
[in] short |
nPos, |
| [in] boolean |
bSelect ); |
- Description
- selects/deselects the item at the specified position.
|
|
selectItemsPos
void |
selectItemsPos( |
[in] sequence< short > |
aPositions, |
| [in] boolean |
bSelect ); |
- Description
- selects/deselects multiple items at the specified positions.
|
|
selectItem
void |
selectItem( |
[in] string |
aItem, |
| [in] boolean |
bSelect ); |
- Description
- selects/deselects the specified item.
|
|
isMutipleMode
- Description
- returns `TRUE` if multiple items can be selected,
`FALSE` if only one item can be selected.
|
|
setMultipleMode
void |
setMultipleMode( |
[in] boolean |
bMulti ); |
- Description
- determines if only a single item or multiple items can be selected.
|
|
getDropDownLineCount
short |
getDropDownLineCount(); |
- Description
- returns the number of visible lines in drop down mode.
|
|
setDropDownLineCount
void |
setDropDownLineCount( |
[in] short |
nLines ); |
- Description
- sets the number of visible lines for drop down mode.
|
|
makeVisible
void |
makeVisible( |
[in] short |
nEntry ); |
- Description
- makes the item at the specified position visible by scrolling.
|
|
Copyright © 2020, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.