com.intel.gpe.gridbeans.plugins.controls.remotefs
Class ErrorNode

java.lang.Object
  extended by com.intel.gpe.gridbeans.plugins.controls.remotefs.ErrorNode
All Implemented Interfaces:
Node

public class ErrorNode
extends java.lang.Object
implements Node

The node indicating an error situation.

Version:
$Id: ErrorNode.java,v 1.1 2005/12/07 11:37:56 lukichev Exp $
Author:
Alexander Lukichev

Constructor Summary
ErrorNode(GPEException e)
           
 
Method Summary
 Node getChild(int i)
          Get the child specified with the index.
 int getChildCount()
          Get the number of children nodes.
 boolean isLeaf()
          Check if the node is a leaf.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorNode

public ErrorNode(GPEException e)
Method Detail

getChildCount

public int getChildCount()
Description copied from interface: Node
Get the number of children nodes.

Specified by:
getChildCount in interface Node
Returns:
The number of children

getChild

public Node getChild(int i)
Description copied from interface: Node
Get the child specified with the index.

Specified by:
getChild in interface Node
Parameters:
i - The index of the child to get
Returns:
The child node

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