This sample have two goal:
- first, show you how you can describe a hierarchy
and load it inot the FishEye beans
- secondly, how to use the FishEyeApplet
The FishEye can use a hierarchy described in a File. This is useful
to represent data generated by external program.
Syntax of the File
{
NAME="TheRoot
{
NAME="Level1"
{ NAME="Level 2 A"}
{ NAME="Level 2 B"}
{ NAME="Level C"}
}
{
NAME="Level1 B"
}
}
The signification of this data is the following, in a classical 2D tree:
The Root
ROOT | |---- Level1 | | | |----- Level2 A | | | |----- Level2 B | | | |----- Level2 C | | -----Level1 BThe result in a FishEye display: