Package jadex.base.gui.filetree
Class RemoteDirNode
- java.lang.Object
-
- jadex.base.gui.asynctree.AbstractTreeNode
-
- jadex.base.gui.asynctree.AbstractSwingTreeNode
-
- jadex.base.gui.filetree.RemoteFileNode
-
- jadex.base.gui.filetree.RemoteDirNode
-
- All Implemented Interfaces:
ISwingTreeNode
,ITreeNode
,IFileNode
- Direct Known Subclasses:
RemoteJarNode
public class RemoteDirNode extends RemoteFileNode
The remote dir node.
-
-
Field Summary
Fields Modifier and Type Field Description protected INodeFactory
factory
The factory.-
Fields inherited from class jadex.base.gui.filetree.RemoteFileNode
exta, file, iconcache
-
Fields inherited from class jadex.base.gui.asynctree.AbstractSwingTreeNode
tree
-
Fields inherited from class jadex.base.gui.asynctree.AbstractTreeNode
childrenfuture, dirty, model, parent, recurse, searching
-
-
Constructor Summary
Constructors Constructor Description RemoteDirNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, FileData file, IIconCache iconcache, IExternalAccess exta, INodeFactory factory)
Create a new service container node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLeaf()
Check if the node is a leaf.protected ISubscriptionIntermediateFuture<FileData>
listFiles()
Get a file filter according to current file type settings.protected void
searchChildren()
Asynchronously search for children.-
Methods inherited from class jadex.base.gui.filetree.RemoteFileNode
getFileName, getFilePath, getFileSize, getIcon, getId, getPropertiesComponent, getRemoteFile, getSwingIcon, getTooltipText, hasProperties, isDirectory, refresh, toString
-
Methods inherited from class jadex.base.gui.asynctree.AbstractSwingTreeNode
addChild, addChild, equals, expandChildren, getCachedChildren, getChild, getChildCount, getChildren, getIndexOfChild, getModel, getParent, getTree, removeChild, setChildren
-
Methods inherited from class jadex.base.gui.asynctree.AbstractTreeNode
checkChildren, dispose, hashCode, removeAllChildren, setParent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.base.gui.asynctree.ISwingTreeNode
getChild, getChildren, getParent
-
Methods inherited from interface jadex.base.gui.asynctree.ITreeNode
dispose, getCachedChildren, getChildCount, getIndexOfChild
-
-
-
-
Field Detail
-
factory
protected INodeFactory factory
The factory.
-
-
Constructor Detail
-
RemoteDirNode
public RemoteDirNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, FileData file, IIconCache iconcache, IExternalAccess exta, INodeFactory factory)
Create a new service container node.
-
-
Method Detail
-
searchChildren
protected void searchChildren()
Asynchronously search for children. Should call setChildren() once children are found.- Overrides:
searchChildren
in classRemoteFileNode
-
isLeaf
public boolean isLeaf()
Check if the node is a leaf.- Specified by:
isLeaf
in interfaceITreeNode
- Overrides:
isLeaf
in classAbstractSwingTreeNode
-
listFiles
protected ISubscriptionIntermediateFuture<FileData> listFiles()
Get a file filter according to current file type settings.
-
-