Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: awt :: tree ::
unpublished | interface XTreeEditListener |
  Base Interfaces
      XTreeEditListener
      ┗ ::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 You can implement this interface and register with addTreeEditListener to get notifications when editing of a node starts and ends. You have to set the TreeControlModel::Editable property to true before a tree supports editing.

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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.