com.intel.gpe.client2.filemanager.nodes
Class LocalNode
java.lang.Object
com.intel.gpe.client2.common.panels.tree.BaseNode
com.intel.gpe.client2.filemanager.nodes.LocalNode
- All Implemented Interfaces:
- ObjectWithIcon, Node, com.intel.gpe.util.observer.IObserver, java.lang.Comparable<Node>
public class LocalNode
- extends BaseNode
- implements com.intel.gpe.util.observer.IObserver
The top-most node. It is named "GRID".
- Version:
- $Id: LocalNode.java,v 1.6 2006/10/20 07:10:13 dizhigul Exp $
- Author:
- Alexander Lukichev
Methods inherited from class com.intel.gpe.client2.common.panels.tree.BaseNode |
addChildrenChangeListener, addContentsChangeListener, compareTo, executeRequest, getAsyncClient, getChild, getChildCount, getChildren, getContents, getIndex, getMessageAdapter, getMessageProvider, getModel, getPath, notifyContentsChangeListener, notifyNodeChanged, refresh, removeChildrenChangeListener, removeContentsChangeListener, setChildren, setContents, setModel, showException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalNode
@Deprecated
public LocalNode(GridTreeModel model,
AsyncClient asyncClient,
boolean onlyDirectories,
MessageAdapter messageAdapter)
- Deprecated.
LocalNode
public LocalNode(GridTreeModel model,
AsyncClient asyncClient,
boolean onlyDirectories,
MessageProvider messageProvider)
requestChildren
public void requestChildren()
- Description copied from class:
BaseNode
- Get the child nodes. This method is called whenever child nodes must be updated. The implementation should modify
(if necessary) the child list with
BaseNode.setChildren(List)
method.
- Specified by:
requestChildren
in class BaseNode
requestContents
public void requestContents()
- Description copied from class:
BaseNode
- Get the contents of the node. This may be not children nodes but some other information.
- Specified by:
requestContents
in class BaseNode
isLeaf
public boolean isLeaf()
- Description copied from interface:
Node
- Check if the node is a leaf.
- Specified by:
isLeaf
in interface Node
- Returns:
true
if the node if a leaf, false
otherwise.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
observableUpdate
public void observableUpdate(java.lang.Object theObserved,
java.lang.Object changeCode)
- Specified by:
observableUpdate
in interface com.intel.gpe.util.observer.IObserver
getIconPath
public java.lang.String getIconPath()
- Specified by:
getIconPath
in interface ObjectWithIcon
- Overrides:
getIconPath
in class BaseNode
Copyright © 2008. All Rights Reserved.