org.glite.gpbox.gui.tree
Class Element

java.lang.Object
  extended byorg.glite.gpbox.gui.tree.Element

public class Element
extends java.lang.Object


Constructor Summary
Element(java.lang.String name)
           
 
Method Summary
 Element getChildAt(int i)
           
 int getChildCount()
           
 Element getFather()
           
 int getIndexOfChild(Element kid)
           
 java.lang.String getName()
           
static void linkFamily(Element pa, Element[] kids)
          Link together all members of a family.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Element

public Element(java.lang.String name)
Method Detail

linkFamily

public static void linkFamily(Element pa,
                              Element[] kids)
Link together all members of a family.

Parameters:
pa - the father
kids - the children

toString

public java.lang.String toString()

getName

public java.lang.String getName()

getFather

public Element getFather()

getChildCount

public int getChildCount()

getChildAt

public Element getChildAt(int i)

getIndexOfChild

public int getIndexOfChild(Element kid)