(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.