Package adams.gui.goe.classtree
Class ClassTreeNodeCollection
- java.lang.Object
-
- adams.gui.core.DragAndDropTreeNodeCollection<ClassNode>
-
- adams.gui.goe.classtree.ClassTreeNodeCollection
-
- All Implemented Interfaces:
Transferable
,Serializable
,Iterable<ClassNode>
,Collection<ClassNode>
public class ClassTreeNodeCollection extends DragAndDropTreeNodeCollection<ClassNode>
Node collection for the class tree.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.core.DragAndDropTreeNodeCollection
m_Nodes
-
-
Constructor Summary
Constructors Constructor Description ClassTreeNodeCollection(ClassNode[] nodes)
Initializes the collection with all the nodes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transferable
toTransferable()
Turns the node/userObject into a transferable string.-
Methods inherited from class adams.gui.core.DragAndDropTreeNodeCollection
add, addAll, clear, contains, containsAll, getTransferData, getTransferDataFlavors, isDataFlavorSupported, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Constructor Detail
-
ClassTreeNodeCollection
public ClassTreeNodeCollection(ClassNode[] nodes)
Initializes the collection with all the nodes.- Parameters:
nodes
- the nodes for the collection
-
-
Method Detail
-
toTransferable
public Transferable toTransferable()
Turns the node/userObject into a transferable string. Uses only the first node.- Overrides:
toTransferable
in classDragAndDropTreeNodeCollection<ClassNode>
- Returns:
- the generated string
-
-