-
Book Overview & Buying
-
Table Of Contents
qooxdoo Beginner's Guide
The tree widget allows the display of the hierarchical structure. The first item is a root element. A user can add multiple folders or files, and a folder can again contain multiple folders or files, similar to the root node. Each and every folder or a file is termed as a node. Expanding and collapsing of these nodes is handled automatically, and the tree widget gives flexibility to do some activities on expanding and collapsing by firing events such as changeOpen, changeOpenSymbolMode, and changeModel events on the node (TreeFolder).
All the tree-related classes are under the qx.ui.tree package. The following screenshot displays the class hierarchy of the tree classes:

The tree-related classes are:
qx.ui.tree.Tree: This is the class for constructing a visual tree structure
qx.ui.tree.TreeFolder: This is the class used for creating a folder node
qx.ui.tree.TreeFile: This is the class used for creating leaf nodes
The API classes used to create a tree can be...
Change the font size
Change margin width
Change background colour