Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

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.