:: drafts :: com :: sun :: star :: form ::

interface XListEntryListener
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::lang::XEventListener
    |
    +-XListEntryListener
Description
specifies a listener for changes in a string entry list

Methods' Summary
entryChanged notifies the listener that a single entry in the list has change
entryRangeInserted notifies the listener that a range of entries has been inserted into the list
entryRangeRemoved notifies the listener that a range of entries has been removed from the list
allEntriesChanged notifies the listener that all entries of the list have changed.
Methods' Details
entryChanged
void
entryChanged(
 
[in] ListEntryEvent
 
Source );

Description
notifies the listener that a single entry in the list has change
Parameter Source
is the event describing the change. The ListEntryEvent::Position member denotes the position of the changed entry, the first (and only) element of the ListEntryEvent::Entries member denotes the new string
entryRangeInserted
void
entryRangeInserted(
 
[in] ListEntryEvent
 
Source );

Description
notifies the listener that a range of entries has been inserted into the list
Parameter Source
is the event describing the change. The ListEntryEvent::Position member denotes the position of the first inserted entry, the ListEntryEvent::Entries member contains the strings which have been inserted.
entryRangeRemoved
void
entryRangeRemoved(
 
[in] ListEntryEvent
 
Source );

Description
notifies the listener that a range of entries has been removed from the list
Parameter Source
is the event describing the change. The ListEntryEvent::Position member denotes the position of the first removed entry, the ListEntryEvent::Count member the number of removed entries.
allEntriesChanged
void
allEntriesChanged(
 
[in] ::com::sun::star::lang::EventObject
 
Source );

Description
notifies the listener that all entries of the list have changed.

The listener should retrieve the complete new list by calling the XListEntrySource::getAllListEntries method of the event source (which is denoted by ::com::sun::star::lang::EventObject::Source ).

Top of Page