| Methods' Details | 
| insertItem 
| 
| void |  
| insertItem( | [in] long | Position, |  
|  | [in] string | ItemText, |  
|  | [in] string | ItemImageURL ) |  
| raises( | ::com::sun::star::lang::IndexOutOfBoundsException ); |  
 
Descriptioninserts a new item into the list
 Parameter Positionthe position at which the item should be inserted. Must be greater or equal to 0, and
 lesser than or equal to ItemCount.
 Parameter ItemTextthe text of the item to be inserted.
 Parameter ItemImageURLthe URL of the image to display for the item
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| insertItemText 
| 
 
Descriptioninserts an item which has only a text, but no image
 Parameter Positionthe position at which the item should be inserted. Must be greater or equal to 0, and
 lesser than or equal to ItemCount.
 Parameter ItemTextthe text of the item to be inserted.
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| insertItemImage 
| 
 
Descriptioninserts an item which has only an image, but no text
 Parameter Positionthe position at which the item should be inserted. Must be greater or equal to 0, and
 lesser than or equal to ItemCount.
 Parameter ItemImageURLthe URL of the image to display for the item
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| removeItem 
| 
 
Descriptionremoves an item from the list
 Parameter Positionthe position of the item which should be removed. Must be greater or equal to 0, and
 lesser than ItemCount.
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| removeAllItems 
| 
 
Descriptionremoves all items from the list
  |  | 
| setItemText 
| 
 
Descriptionsets a new text for an existing item
 Parameter Positionthe position of the item whose text is to be changed. Must be greater or equal to 0, and
 lesser than ItemCount.
 Parameter ItemTextthe new text of the item
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| setItemImage 
| 
 
Descriptionsets a new image for an existing item
 Parameter Positionthe position of the item whose image is to be changed. Must be greater or equal to 0, and
 lesser than ItemCount.
 Parameter ItemImageURLthe new URL of the image to display for the item
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| setItemTextAndImage 
| 
| void |  
| setItemTextAndImage( | [in] long | Position, |  
|  | [in] string | ItemText, |  
|  | [in] string | ItemImageURL ) |  
| raises( | ::com::sun::star::lang::IndexOutOfBoundsException ); |  
 
Descriptionsets both a new position and text for an existing item
 Parameter Positionthe position of the item whose text and image is to be changed. Must be greater or equal to 0, and
 lesser than ItemCount.
 Parameter ItemTextthe new text of the item
 Parameter ItemImageURLthe new URL of the image to display for the item
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| setItemData 
| 
 
Descriptionassociates an implementation dependend value with the given list item.
 You can use this to store data for an item which does not interfere with the displayed
 text and image, but can be used by the client of the list box for an arbitrary purpose.Parameter Positionthe position of the item whose data value should be set. Must be greater or equal to 0, and
 lesser than ItemCount.
 Parameter ItemDatathe data to associate with the list item
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid.See alsogetItemData |  | 
| getItemText 
| 
 
Descriptionretrieves the text of an existing item
 Parameter Positionthe position of the item whose text should be retrieved. Must be greater or equal to 0, and
 lesser than ItemCount.
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| getItemImage 
| 
 
Descriptionretrieves the URL of the image of an existing item
 Parameter Positionthe position of the item whose image should be retrieved. Must be greater or equal to 0, and
 lesser than ItemCount.
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| getItemTextAndImage 
| 
| ::com::sun::star::beans::Pair< string, string > |  
| getItemTextAndImage( | [in] long | Position ) |  
| raises( | ::com::sun::star::lang::IndexOutOfBoundsException ); |  
 
Descriptionretrieves both the text and the image URL of an existing item
 Parameter Positionthe position of the item whose text and image should be retrieved. Must be greater or equal to 0, and
 lesser than ItemCount.
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid. |  | 
| getItemData 
| 
 
Descriptionretrieves the implementation dependend value associated with the given list item.
 Parameter Positionthe position of the item whose data value should be retrieved. Must be greater or equal to 0, and
 lesser than ItemCount.
 Throws::com::sun::star::lang::IndexOutOfBoundsException
 if Positionis invalid.See alsosetItemData, setItemData |  | 
| getAllItems 
| 
| sequence< ::com::sun::star::beans::Pair< string, string > > |  
| getAllItems(); |  
 
Descriptionretrieves the texts and images of all items in the list
  |  | 
| addItemListListener 
| 
 
Descriptionregisters a listener which is notified about changes in the item list.
  |  | 
| removeItemListListener 
| 
 
Descriptionrevokes a listener which is notified about changes in the item list.
  |  | 
Copyright © 2013, 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.