AccordionTreeDrawer
Class ColorNode

java.lang.Object
  |
  +--AccordionTreeDrawer.ColorNode

public class ColorNode
extends java.lang.Object

A class representing a RangeList in a RangeTree.


Constructor Summary
ColorNode()
          empty constructor
ColorNode(RangeInTree d, ColorNode leftChild, ColorNode rightChild)
          constructor with Data initiated
 
Method Summary
 boolean childless()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColorNode

public ColorNode()
empty constructor


ColorNode

public ColorNode(RangeInTree d,
                 ColorNode leftChild,
                 ColorNode rightChild)
constructor with Data initiated

Method Detail

childless

public boolean childless()
Returns:
true if the node is a leaf, false otherwise

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object