org.emboss.jemboss.gui.filetree
Class RemoteFileNode
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--org.emboss.jemboss.gui.filetree.RemoteFileNode
- All Implemented Interfaces:
- java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, java.awt.datatransfer.Transferable, javax.swing.tree.TreeNode
- public class RemoteFileNode
- extends javax.swing.tree.DefaultMutableTreeNode
- implements java.awt.datatransfer.Transferable, java.io.Serializable
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, 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, 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 |
explored
private boolean explored
isDir
private boolean isDir
fullname
private java.lang.String fullname
serverPathToFile
private java.lang.String serverPathToFile
rootdir
private java.lang.String rootdir
parentList
private transient FileList parentList
mysettings
private transient JembossParams mysettings
froots
private transient FileRoots froots
fs
private java.lang.String fs
REMOTEFILENODE
public static final java.awt.datatransfer.DataFlavor REMOTEFILENODE
flavors
static java.awt.datatransfer.DataFlavor[] flavors
RemoteFileNode
public RemoteFileNode(JembossParams mysettings,
FileRoots froots,
java.lang.String file,
FileList parentList,
java.lang.String parent)
RemoteFileNode
public RemoteFileNode(JembossParams mysettings,
FileRoots froots,
java.lang.String file,
FileList parentList,
java.lang.String parent,
boolean ldir)
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interface javax.swing.tree.TreeNode
- Overrides:
getAllowsChildren
in class javax.swing.tree.DefaultMutableTreeNode
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interface javax.swing.tree.TreeNode
- Overrides:
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
isDirectory
public boolean isDirectory()
getFile
public java.lang.String getFile()
getRootDir
public java.lang.String getRootDir()
getFullName
public java.lang.String getFullName()
getPathName
public java.lang.String getPathName()
isExplored
public boolean isExplored()
getServerName
public java.lang.String getServerName()
explore
public void explore()
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor f)
- Specified by:
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor d)
throws java.awt.datatransfer.UnsupportedFlavorException,
java.io.IOException
- Specified by:
getTransferData
in interface java.awt.datatransfer.Transferable
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOException
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException