edu.wpi.cs.dsrg.xmldb.xat.component.gui
Class CreateSampleTrees

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.component.gui.CreateSampleTrees

public class CreateSampleTrees
extends java.lang.Object

This class creates sample trees to view in the GUI. No statistics for table(s) or plot(s) are available using these sample trees since they are not part of an actual data stream system.

Author:
Maylene Waltz

Field Summary
 XATDag[] trees
           
 
Constructor Summary
CreateSampleTrees()
          Constructor initializes an array of tree(s).
 
Method Summary
 XATDag[] createSampleTrees()
          Creates sample XATDag tree(s).
protected  XATDag createTree1()
          XATDag tree1: C-B-A
protected  XATDag createTree2()
          XATDag tree2: A / \ B C
protected  XATDag createTree3()
          XATDag tree3: A / \ B E / \ C D
protected  XATDag createTree4()
          XATDag tree4: A / \ B E / \ / C D
protected  XATDag createTree5()
          XATDag tree5: A B / \ / \ C D E \ / / \ F G H
protected  XATDag createTree6()
          XATDag tree6: A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trees

public XATDag[] trees
Constructor Detail

CreateSampleTrees

public CreateSampleTrees()
Constructor initializes an array of tree(s).

Method Detail

createSampleTrees

public XATDag[] createSampleTrees()
Creates sample XATDag tree(s).

Returns:
an array of sample tree(s)

createTree1

protected XATDag createTree1()
XATDag tree1: C-B-A

Returns:
a sample tree

createTree2

protected XATDag createTree2()
XATDag tree2: A / \ B C

Returns:
a sample tree

createTree3

protected XATDag createTree3()
XATDag tree3: A / \ B E / \ C D

Returns:
a sample tree

createTree4

protected XATDag createTree4()
XATDag tree4: A / \ B E / \ / C D

Returns:
a sample tree

createTree5

protected XATDag createTree5()
XATDag tree5: A B / \ / \ C D E \ / / \ F G H

Returns:
a sample tree

createTree6

protected XATDag createTree6()
XATDag tree6: A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P

Returns:
a sample tree