#include <vtkKWTree.h>
Inheritance diagram for vtkKWTree:
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWTree, vtkKWCoreWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | SetSelectionToNode (const char *node) |
virtual void | ClearSelection () |
virtual const char * | GetSelection () |
virtual int | HasSelection () |
virtual void | SeeNode (const char *node) |
virtual int | HasNode (const char *node) |
virtual void | DeleteAllNodes () |
virtual const char * | GetNodeChildren (const char *node) |
virtual const char * | GetNodeParent (const char *node) |
virtual void | SetOpenCommand (vtkObject *obj, const char *method) |
virtual void | SetCloseCommand (vtkObject *obj, const char *method) |
virtual void | UpdateEnableState () |
virtual void | AddNode (const char *parent, const char *node, const char *text=NULL, const char *data=NULL, int is_open=0, int is_selectable=1) |
virtual void | OpenNode (const char *node) |
virtual void | CloseNode (const char *node) |
virtual int | IsNodeOpen (const char *node) |
virtual void | OpenFirstNode () |
virtual void | CloseFirstNode () |
virtual void | OpenTree (const char *node) |
virtual void | CloseTree (const char *node) |
virtual const char * | GetNodeUserData (const char *node) |
virtual void | SetNodeUserData (const char *node, const char *data) |
virtual const char * | GetNodeText (const char *node) |
virtual void | SetNodeText (const char *node, const char *text) |
virtual int | GetNodeSelectableFlag (const char *node) |
virtual void | SetNodeSelectableFlag (const char *node, int flag) |
virtual const char * | GetNodeFont (const char *node) |
virtual void | SetNodeFont (const char *node, const char *font) |
virtual void | SetNodeFontWeightToBold (const char *node) |
virtual void | SetNodeFontWeightToNormal (const char *node) |
virtual void | SetNodeFontSlantToItalic (const char *node) |
virtual void | SetNodeFontSlantToRoman (const char *node) |
virtual void | SetWidth (int) |
virtual int | GetWidth () |
virtual void | SetHeight (int) |
virtual int | GetHeight () |
virtual void | RedrawOnIdleOn () |
virtual void | RedrawOnIdleOff () |
virtual void | SetRedrawOnIdle (int) |
virtual int | GetRedrawOnIdle () |
virtual void | SelectionFillOn () |
virtual void | SelectionFillOff () |
virtual void | SetSelectionFill (int) |
virtual int | GetSelectionFill () |
virtual void | GetSelectionBackgroundColor (double *r, double *g, double *b) |
virtual double * | GetSelectionBackgroundColor () |
virtual void | SetSelectionBackgroundColor (double r, double g, double b) |
virtual void | SetSelectionBackgroundColor (double rgb[3]) |
virtual void | GetSelectionForegroundColor (double *r, double *g, double *b) |
virtual double * | GetSelectionForegroundColor () |
virtual void | SetSelectionForegroundColor (double r, double g, double b) |
virtual void | SetSelectionForegroundColor (double rgb[3]) |
virtual void | SetBindText (const char *event, vtkObject *obj, const char *method) |
virtual void | SetDoubleClickOnNodeCommand (vtkObject *obj, const char *method) |
virtual void | SetSingleClickOnNodeCommand (vtkObject *obj, const char *method) |
virtual void | SetSelectionChangedCommand (vtkObject *obj, const char *method) |
Static Public Member Functions | |
vtkKWTree * | New () |
Protected Member Functions | |
vtkKWTree () | |
~vtkKWTree () |
A simple tree widget
Definition at line 47 of file vtkKWTree.h.
|
Definition at line 213 of file vtkKWTree.h. |
|
Definition at line 214 of file vtkKWTree.h. |
|
Reimplemented from vtkKWCoreWidget. |
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
Create the widget. Reimplemented from vtkKWCoreWidget. |
|
Set the selection to node |
|
Clear the selection |
|
Return the selection as a list of space separated selected nodes |
|
Return if a node is selected |
|
Add a new node identified by 'node' at the end of the children list of 'parent'. If parent is NULL, or an emptry string or 'root', insert at the root of the tree automatically. Provides its text (i.e. the label displayed at the node position), an optional user-data field to associate with that node, its open and selectable status. On a Pentium M 1.8 GHz, a Debug build could fill about 5000 nodes/s. |
|
Arrange the tree to see a given node |
|
Open/close a node. |
|
Open/close a node. |
|
Open/close a node. |
|
Open/close the first node of the tree. |
|
Open/close the first node of the tree. |
|
Open/close a tree, i.e. a node and all its children. |
|
Open/close a tree, i.e. a node and all its children. |
|
Query if given node exists in the tree |
|
Delete all nodes |
|
Get node's children as a space separated list of nodes |
|
Get node's parent |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the parameters |
|
Set/Get the width/height. |
|
Set/Get the width/height. |
|
Set/Get the width/height. |
|
Set/Get the width/height. |
|
Specifies wether or not the tree should be redrawn when entering idle. Set it to false if you call update while modifying the tree |
|
Specifies wether or not the tree should be redrawn when entering idle. Set it to false if you call update while modifying the tree |
|
Specifies wether or not the tree should be redrawn when entering idle. Set it to false if you call update while modifying the tree |
|
Specifies wether or not the tree should be redrawn when entering idle. Set it to false if you call update while modifying the tree |
|
If true, the selection box will be drawn across the entire tree from left-to-right instead of just around the item text. |
|
If true, the selection box will be drawn across the entire tree from left-to-right instead of just around the item text. |
|
If true, the selection box will be drawn across the entire tree from left-to-right instead of just around the item text. |
|
If true, the selection box will be drawn across the entire tree from left-to-right instead of just around the item text. |
|
Set/Get the selection foreground and background color |
|
Set/Get the selection foreground and background color |
|
Set/Get the selection foreground and background color |
|
Set/Get the selection foreground and background color Definition at line 163 of file vtkKWTree.h. |
|
Set/Get the selection foreground and background color |
|
Set/Get the selection foreground and background color |
|
Set/Get the selection foreground and background color |
|
Set/Get the selection foreground and background color Definition at line 168 of file vtkKWTree.h. |
|
Set the method to be called when the user opens a node. The path of the opened node is appended to the command. |
|
Set the method to be called when the user closes a node. The path of the closed node is appended to the command. |
|
Associates a object/method to execute whenever the event sequence given by 'event' occurs on the label of a node. The node idenfier on which the event occurs is appended to the command. |
|
Convenience method to set the callback for single click and double click on a node. This, in turn, just calls SetBindText. The node idenfier on which the event occurs is appended to the command. |
|
Convenience method to set the callback for single click and double click on a node. This, in turn, just calls SetBindText. The node idenfier on which the event occurs is appended to the command. |
|
Set the callback to invoke when the selection changes. |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWWidget. |