3 import java
.awt
.Component
;
5 public abstract class RenderableTreeNode
implements Comparable
{
7 private Comparable compareKey
;
9 protected RenderableTreeNode(Comparable compareKey
) {
11 this.compareKey
= compareKey
;
14 public int compareTo(Object arg0
) {
15 RenderableTreeNode o
= (RenderableTreeNode
)arg0
;
16 return this.compareKey
.compareTo(o
.compareKey
);
19 public abstract Component
getRenderable();