org.esa.beam.framework.ui.product.tree
Class AbstractTN

java.lang.Object
  extended by org.esa.beam.framework.ui.product.tree.AbstractTN
All Implemented Interfaces:
TreeNode

public abstract class AbstractTN
extends Object
implements TreeNode


Constructor Summary
protected AbstractTN(String name, Object content, AbstractTN parent)
           
 
Method Summary
 Enumeration children()
           
 boolean equals(Object o)
           
 boolean getAllowsChildren()
           
abstract  AbstractTN getChildAt(int index)
           
abstract  int getChildCount()
           
 Object getContent()
           
protected abstract  int getIndex(AbstractTN node)
           
 int getIndex(TreeNode node)
           
 String getName()
           
 AbstractTN getParent()
           
 int hashCode()
           
 boolean isLeaf()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractTN

protected AbstractTN(String name,
                     Object content,
                     AbstractTN parent)
Method Detail

getName

public String getName()

getContent

public Object getContent()

getParent

public AbstractTN getParent()
Specified by:
getParent in interface TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface TreeNode

children

public Enumeration children()
Specified by:
children in interface TreeNode

getIndex

public int getIndex(TreeNode node)
Specified by:
getIndex in interface TreeNode

toString

public String toString()
Overrides:
toString in class Object

getChildAt

public abstract AbstractTN getChildAt(int index)
Specified by:
getChildAt in interface TreeNode

getChildCount

public abstract int getChildCount()
Specified by:
getChildCount in interface TreeNode

getIndex

protected abstract int getIndex(AbstractTN node)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.