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

unpublished interface XTreeExpansionListener
Base Interfaces
XTreeExpansionListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Usage Restrictions
not published
Description
An instance of this interface can get notifications from a TreeControl when nodes are expanded or collapsed.
See also
XTreeControl::addTreeExpansionListener, XTreeControl::removeTreeExpansionListener

Methods' Summary
requestChildNodes Invoked when a node with children on demand is about to be expanded.  
treeExpanding Invoked whenever a node in the tree is about to be expanded.  
treeCollapsing Invoked whenever a node in the tree is about to be collapsed.  
treeExpanded Called whenever a node in the tree has been successfully expanded.  
treeCollapsed Called whenever a node in the tree has been successfully collapsed.  
Methods' Details
requestChildNodes
void
requestChildNodes( [in] TreeExpansionEvent  Event );

Description
Invoked when a node with children on demand is about to be expanded.

This event is invoked before the treeExpanding() event.

treeExpanding
void
treeExpanding( [in] TreeExpansionEvent  Event )
raises( ExpandVetoException );

Description
Invoked whenever a node in the tree is about to be expanded.
Throws
ExpandVetoException to notify the calling XTreeControl that expanding TreeExpansionEvent::Node should fail.
treeCollapsing
void
treeCollapsing( [in] TreeExpansionEvent  Event )
raises( ExpandVetoException );

Description
Invoked whenever a node in the tree is about to be collapsed.
Throws
ExpandVetoException to notify the calling XTreeControl that collapsing TreeExpansionEvent::Node should fail.
treeExpanded
void
treeExpanded( [in] TreeExpansionEvent  Event );

Description
Called whenever a node in the tree has been successfully expanded.
treeCollapsed
void
treeCollapsed( [in] TreeExpansionEvent  Event );

Description
Called whenever a node in the tree has been successfully collapsed.
Top of Page