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

interface XTreeEditListener
Base Interfaces
XTreeEditListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)

Methods' Summary
nodeEditing This method is called from the TreeControl implementation when editing of Node is requested by calling XTreeControl::startEditingAtNode().  
nodeEdited This method is called from the TreeControl implementation when editing of Node is finished and was not canceled.  
Methods' Details
nodeEditing
void
nodeEditing( [in] XTreeNode  Node )
raises( ::com::sun::star::util::VetoException );

Description
This method is called from the TreeControl implementation when editing of Node is requested by calling XTreeControl::startEditingAtNode().
Parameter Node
the XTreeNode for that an edit request was fired by calling startEditingAtNode
Throws
VetoException if thrown the editing will not start.
nodeEdited
void
nodeEdited( [in] XTreeNode  Node,
[in] string  NewText );

Description
This method is called from the TreeControl implementation when editing of Node is finished and was not canceled.

Implementations that register a XTreeEditListener must update the display value at the Node.

Parameter Node
the XTreeNode for that an edit request was fired by calling startEditingAtNode
Parameter NewText
the text that was entered by the user.
Top of Page