20 #ifndef __com_sun_star_awt_XItemList_idl__
21 #define __com_sun_star_awt_XItemList_idl__
27 module
com { module sun { module star { module awt {
29 interface XItemListListener;
58 [in]
string ItemImageURL
94 [in]
string ItemImageURL
148 [in]
string ItemImageURL
169 [in]
string ItemText,
170 [in]
string ItemImageURL
234 ::com::sun::star::beans::Pair< string, string >
257 sequence< ::com::sun::star::beans::Pair< string, string > >
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition: IndexOutOfBoundsException.idl:35
describes a listener for changes in an item list
Definition: XItemListListener.idl:34
provides convenient access to the list of items in a list box
Definition: XItemList.idl:35
void removeItemListListener([in] XItemListListener Listener)
revokes a listener which is notified about changes in the item list.
void removeAllItems()
removes all items from the list
void insertItemText([in] long Position, [in] string ItemText)
inserts an item which has only a text, but no image
string getItemText([in] long Position)
retrieves the text of an existing item
sequence< ::com::sun::star::beans::Pair< string, string > > getAllItems()
retrieves the texts and images of all items in the list
any getItemData([in] long Position)
retrieves the implementation dependent value associated with the given list item.
::com::sun::star::beans::Pair< string, string > getItemTextAndImage([in] long Position)
retrieves both the text and the image URL of an existing item
void setItemData([in] long Position, [in] any ItemData)
associates an implementation dependent value with the given list item.
void insertItem([in] long Position, [in] string ItemText, [in] string ItemImageURL)
inserts a new item into the list
void setItemText([in] long Position, [in] string ItemText)
sets a new text for an existing item
void insertItemImage([in] long Position, [in] string ItemImageURL)
inserts an item which has only an image, but no text
long ItemCount
is the number of items in the list
Definition: XItemList.idl:38
void removeItem([in] long Position)
removes an item from the list
void setItemImage([in] long Position, [in] string ItemImageURL)
sets a new image for an existing item
string getItemImage([in] long Position)
retrieves the URL of the image of an existing item
void addItemListListener([in] XItemListListener Listener)
registers a listener which is notified about changes in the item list.
void setItemTextAndImage([in] long Position, [in] string ItemText, [in] string ItemImageURL)
sets both a new position and text for an existing item
Definition: Ambiguous.idl:22