org.esa.beam.framework.ui.product.tree
Class AbstractTN
java.lang.Object
org.esa.beam.framework.ui.product.tree.AbstractTN
- All Implemented Interfaces:
- TreeNode
public abstract class AbstractTN
- extends Object
- implements TreeNode
AbstractTN
protected AbstractTN(String name,
Object content,
AbstractTN parent)
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-2013 Brockmann Consult GmbH. All Rights Reserved.