|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.component.transfer.AbstractObjectTransferable<Component>
com.guiseframework.component.TreeControl.TreeNodeTransferable<V>
V - The type of value contained in the tree node.protected static class TreeControl.TreeNodeTransferable<V>
The transferable object for a tree node. This transferable is able to transfer either the tree node itself or the object stored in the tree node.
| Constructor Summary | |
|---|---|
TreeControl.TreeNodeTransferable(TreeControl source,
TreeNodeModel<V> treeNode)
Source and tree node constructor. |
|
| Method Summary | ||
|---|---|---|
|
transfer(java.lang.Class<T> objectClass)
Transfers data of the given class. |
|
| Methods inherited from class com.guiseframework.component.transfer.AbstractObjectTransferable |
|---|
canTransfer, getClass, getContentTypes, getSource, transfer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeControl.TreeNodeTransferable(TreeControl source,
TreeNodeModel<V> treeNode)
source - The source of the transferable data.treeNode - The tree node representing the transferred data.
java.lang.NullPointerException - if the provided source and/or tree node is null.| Method Detail |
|---|
public <T> T transfer(java.lang.Class<T> objectClass)
T - The type of object to be transferred.objectClass - The class of object to return.
null.
java.lang.IllegalArgumentException - if the given class is not supported.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||