|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quadrique.jbuildingblocks.gui.TreeBaseNode
public class TreeBaseNode
This class implements a generic tree node with a type, name and identifier.
| Constructor Summary | |
|---|---|
TreeBaseNode(int zType,
String zName,
int zId)
Constructor |
|
| Method Summary | |
|---|---|
int |
getId()
|
String |
getName()
|
int |
getType()
|
Object |
getUserObject()
|
void |
setName(String zName)
set the name of the node |
void |
setUserObject(Object zUserObject)
set the user object |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TreeBaseNode(int zType,
String zName,
int zId)
zType - an integer value that represents the type of the node,zName - the name of the node (also used as the node label),zId - the node identifier.| Method Detail |
|---|
public int getType()
public int getId()
public String getName()
public Object getUserObject()
public String toString()
toString in class Objectpublic void setName(String zName)
zName - the new namepublic void setUserObject(Object zUserObject)
zUserObject - the user object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||