insensa.view
Class TestNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by insensa.view.TestNode
All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.io.Serializable, java.lang.Cloneable, java.util.Observer, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class TestNode
extends javax.swing.tree.DefaultMutableTreeNode
implements java.awt.datatransfer.Transferable, java.io.Serializable, java.util.Observer

Eine Dummy Klasse die Als Transferable dient

Author:
dennis
See Also:
Serialized Form

Field Summary
protected static java.awt.datatransfer.DataFlavor[] flavors
           
private static long serialVersionUID
           
static java.awt.datatransfer.DataFlavor TestNodes
           
static java.awt.datatransfer.DataFlavor TestNodesList
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
TestNode()
           
TestNode(java.io.Serializable data)
           
 
Method Summary
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor arg0)
           
 java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor arg0)
           
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

TestNodes

public static final java.awt.datatransfer.DataFlavor TestNodes

TestNodesList

public static final java.awt.datatransfer.DataFlavor TestNodesList

flavors

protected static final java.awt.datatransfer.DataFlavor[] flavors
Constructor Detail

TestNode

public TestNode()

TestNode

public TestNode(java.io.Serializable data)
Parameters:
data -
Method Detail

getTransferData

public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor arg0)
                                 throws java.awt.datatransfer.UnsupportedFlavorException,
                                        java.io.IOException
Specified by:
getTransferData in interface java.awt.datatransfer.Transferable
Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
See Also:
Transferable.getTransferData(java.awt.datatransfer.DataFlavor)

getTransferDataFlavors

public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface java.awt.datatransfer.Transferable
See Also:
Transferable.getTransferDataFlavors()

isDataFlavorSupported

public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor arg0)
Specified by:
isDataFlavorSupported in interface java.awt.datatransfer.Transferable
See Also:
Transferable.isDataFlavorSupported(java.awt.datatransfer.DataFlavor)

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer
See Also:
Observer.update(java.util.Observable, java.lang.Object)