|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--medi.swing.tree.MediTreeNodeLinker
It is a class containing only static methods, to be used to link
MediTreeNode's between themselves.
| Constructor Summary | |
MediTreeNodeLinker()
Creates a new instance of MediTreeNodeLinker |
|
| Method Summary | |
static void |
link(MediTreeNode father,
MediTreeNode son)
Links two nodes. |
static void |
setProvider(Provider pPrv)
Sets the provider to use. |
static void |
unlink(MediTreeNode father,
MediTreeNode son)
Removes a link between two nodes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MediTreeNodeLinker()
| Method Detail |
public static void setProvider(Provider pPrv)
pPrv - The provider to use.
public static void link(MediTreeNode father,
MediTreeNode son)
throws DbException
father - The node to attach the son into.son - The node to be pasted.
DbException - If something goes wrong.
public static void unlink(MediTreeNode father,
MediTreeNode son)
throws DbException
father - The node from which the son is going to be removed.son - The node to be removed from the father.
DbException - If something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||