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

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.
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 succesfully expanded.  
treeCollapsed Called whenever a node in the tree has been succesfully 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 befor 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 faild.
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 faild.
treeExpanded
void
treeExpanded( [in] TreeExpansionEvent  Event );

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

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