19 #ifndef __com_sun_star_awt_tree_XTreeControl_idl__
20 #define __com_sun_star_awt_tree_XTreeControl_idl__
28 module
com { module sun { module star { module awt { module tree {
46 interface ::com::sun::star::view::XMultiSelectionSupplier;
Exception used to stop an expand/collapse from happening.
Definition: ExpandVetoException.idl:34
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
An interface to a control that displays a set of hierarchical data as an outline.
Definition: XTreeControl.idl:36
void cancelEditing()
Cancels the current editing session.
void addTreeExpansionListener([in] XTreeExpansionListener Listener)
Adds a listener for TreeExpansion events.
void makeNodeVisible([in] XTreeNode Node)
Ensures that Node is currently visible.
boolean isNodeCollapsed([in] XTreeNode Node)
Returns TRUE if Node is currently collapsed.
void startEditingAtNode([in] XTreeNode Node)
Selects Node and initiates editing.
string DefaultCollapsedGraphicURL
If the given URL points to a loadable graphic, the graphic is rendered before collapsed non leaf node...
Definition: XTreeControl.idl:168
void collapseNode([in] XTreeNode Node)
Ensures that Node is collapsed.
void removeTreeEditListener([in] XTreeEditListener Listener)
Removes a XTreeEditListener.
string DefaultExpandedGraphicURL
If the given URL points to a loadable graphic, the graphic is rendered before expanded non leaf nodes...
Definition: XTreeControl.idl:161
::com::sun::star::awt::Rectangle getNodeRect([in] XTreeNode Node)
returns the rectangle occupied by the visual representation of the given node
boolean stopEditing()
Ends the current editing session.
boolean isEditing()
Returns TRUE if one of tree's nodes is being currently edited.
XTreeNode getClosestNodeForLocation([in] long x, [in] long y)
Returns the node that is closest to x,y.
void expandNode([in] XTreeNode Node)
Ensures that Node is expanded and visible.
boolean isNodeVisible([in] XTreeNode Node)
Returns TRUE if Node is currently visible.
void addTreeEditListener([in] XTreeEditListener Listener)
Adds a XTreeEditListener.
boolean isNodeExpanded([in] XTreeNode Node)
Returns TRUE if Node is currently expanded.
XTreeNode getNodeForLocation([in] long x, [in] long y)
Returns the node at the specified location.
void removeTreeExpansionListener([in] XTreeExpansionListener Listener)
Removes a listener for TreeExpansion events.
You can implement this interface and register with XTreeControl::addTreeEditListener() to get notific...
Definition: XTreeEditListener.idl:37
An instance of this interface can get notifications from a TreeControl when nodes are expanded or col...
Definition: XTreeExpansionListener.idl:38
An instance implementing this interface represents the model data for an entry in a XTreeDataModel.
Definition: XTreeNode.idl:36
Definition: Ambiguous.idl:22
specifies a rectangular area by position and size.
Definition: Rectangle.idl:30