de.miethxml.toolkit.setup
Class SetupNode

java.lang.Object
  extended byde.miethxml.toolkit.setup.SetupNode

public class SetupNode
extends java.lang.Object

Author:
Simon Mieth

Constructor Summary
SetupNode()
           
 
Method Summary
 void addSetupNode(SetupNode node)
           
 SetupNode getChild(int index)
           
 SetupNode getChild(java.lang.String key)
           
 int getChildCount()
           
 GuiConfigurable getGuiConfigurable()
           
 java.lang.String getKey()
           
 java.lang.String getLabel()
           
 SetupNode getParent()
           
 boolean hasChildren()
           
 boolean hasGuiConfigurable()
           
 boolean hasParent()
           
 void setGuiConfigurable(GuiConfigurable guiConfigurable)
           
 void setKey(java.lang.String key)
           
 void setLabel(java.lang.String label)
           
 void setParent(SetupNode parent)
           
 void setup()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetupNode

public SetupNode()
Method Detail

setLabel

public void setLabel(java.lang.String label)

getLabel

public java.lang.String getLabel()

toString

public java.lang.String toString()

getParent

public SetupNode getParent()
Returns:
Returns the parent.

setParent

public void setParent(SetupNode parent)
Parameters:
parent - The parent to set.

hasParent

public boolean hasParent()

getGuiConfigurable

public GuiConfigurable getGuiConfigurable()
Returns:
Returns the guiConfigurable.

setGuiConfigurable

public void setGuiConfigurable(GuiConfigurable guiConfigurable)
Parameters:
guiConfigurable - The guiConfigurable to set.

hasGuiConfigurable

public boolean hasGuiConfigurable()

getKey

public java.lang.String getKey()
Returns:
Returns the key.

setKey

public void setKey(java.lang.String key)
Parameters:
key - The key to set.

getChildCount

public int getChildCount()

getChild

public SetupNode getChild(int index)

getChild

public SetupNode getChild(java.lang.String key)

hasChildren

public boolean hasChildren()

addSetupNode

public void addSetupNode(SetupNode node)

setup

public void setup()