com.intel.gpe.client2.filemanager.nodes
Class LocalNode

java.lang.Object
  extended by com.intel.gpe.client2.common.panels.tree.BaseNode
      extended by 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

Field Summary
 
Fields inherited from class com.intel.gpe.client2.common.panels.tree.BaseNode
contentsChangeListeners, listeners, nodeChangeListeners
 
Constructor Summary
LocalNode(GridTreeModel model, AsyncClient asyncClient, boolean onlyDirectories, MessageAdapter messageAdapter)
          Deprecated. 
LocalNode(GridTreeModel model, AsyncClient asyncClient, boolean onlyDirectories, MessageProvider messageProvider)
           
 
Method Summary
 java.lang.String getIconPath()
           
 boolean isLeaf()
          Check if the node is a leaf.
 void observableUpdate(java.lang.Object theObserved, java.lang.Object changeCode)
           
 void requestChildren()
          Get the child nodes.
 void requestContents()
          Get the contents of the node.
 java.lang.String toString()
           
 
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
 

Constructor Detail

LocalNode

@Deprecated
public LocalNode(GridTreeModel model,
                            AsyncClient asyncClient,
                            boolean onlyDirectories,
                            MessageAdapter messageAdapter)
Deprecated. 


LocalNode

public LocalNode(GridTreeModel model,
                 AsyncClient asyncClient,
                 boolean onlyDirectories,
                 MessageProvider messageProvider)
Method Detail

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.