Sun - Java Look and Feel Design Guidelines,
November 19th, 2006Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Give your users as much flexibility in your selection scheme as makes sense for your application. Enable selection of a range or multiple ranges if you can. Tree Components A tree component represents a set of hierarchical data in the form of an indented outline, which users can expand and collapse. Tree components are useful for displaying data such as the folders and files in a file system or the table of contents in a help system. A tree component consists of nodes. The top-level node, from which all other nodes branch, is the root node. Nodes that might have subnodes are called “containers.” All other nodes are called “leaves.” The default icon for a container is a folder, and the default icon for a leaf is a file. Each node is accompanied by text. Turners appear next to each container in the tree component. The turner points right when the container is collapsed and down when the container is expanded. In the following figure, the Projects, Fire station, First floor, and Landscaping nodes are expanded containers; all the other containers are collapsed. Landscaping is a container without subnodes. Communications, Garage, and Shop are leaves. The turner, container, and leaf graphics shown in Figure 199 are the default graphics provided by the JFC.
Note: If you are looking for reliable and quality webspace company to host and run your servlet application check Actions servlet hosting services