Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface XItemListListener
Base Interfaces
XItemListListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Description
describes a listener for changes in a item list
See also
XListItems

Methods' Summary
listItemInserted is called when an item is inserted into the list  
listItemRemoved is called when an item is removed from the list  
listItemModified is called when an item in the list is modified, i.e. its text or image changed  
allItemsRemoved is called when the list has been completely cleared, i.e. after an invocation of XItemList::removeAllItems  
itemListChanged is called when the changes to the item list which occured are too complex to be notified in single events.  
Methods' Details
listItemInserted
void
listItemInserted( [in] ItemListEvent  Event );

Description
is called when an item is inserted into the list
listItemRemoved
void
listItemRemoved( [in] ItemListEvent  Event );

Description
is called when an item is removed from the list
listItemModified
void
listItemModified( [in] ItemListEvent  Event );

Description
is called when an item in the list is modified, i.e. its text or image changed
allItemsRemoved
void
allItemsRemoved( [in] ::com::sun::star::lang::EventObject  Event );

Description
is called when the list has been completely cleared, i.e. after an invocation of XItemList::removeAllItems
itemListChanged
void
itemListChanged( [in] ::com::sun::star::lang::EventObject  Event );

Description
is called when the changes to the item list which occured are too complex to be notified in single events.

Consumers of this event should discard their cached information about the current item list, and completely refresh it from the XItemList's current state.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.