Demo

Kind of class:public class
Package:treemap.demo
Inherits from:none
Version:2.5
Author:Christophe Bouthier [bouthier@loria.fr]
Package classpath:treemap.demo.Demo
File last modified:Thursday, 03 October 2002, 16:48:56
The Demo class implements a demo for Treemap. It display a treemap
view of a demo tree, and a configuration frame.
The demo tree is build from a file tree, passed in parameter.
Demo use TMFileNode as TMNode, draw and size algorithm in the treemap.demo
package. Demo could take an argument, the path from which
start the representing of files.
If no arguments is given, the treemap start from the root.

Summary


Inner classes
Class fields
Class methods
  • main
    • Display a demo TreeMap.
  • buildNewView
    • Build a new TMView, shows it in a frame, and return the TMView.

Inner classes

ConfFrame

 (package private) (inner) class
The ConfFrame class implements a configuration frame
containing ConfView for treemap's views.

ConfView

 (package private) (inner) class
The ConfView class implements a configuration view
for a treemap view.

Class fields

count

private static int count = 1

root

private static TMFileNode root = null

treeMap

private static TreeMap treeMap = null

Class methods

buildNewView

(package private) static TMView buildNewView(
)

Build a new TMView, shows it in a frame, and return the TMView.

main

public static void main(
String = [])

Display a demo TreeMap.