org.zkoss.zkdemo.test2.tree
Class HostTreeModel.FakeHost

java.lang.Object
  extended by org.zkoss.zkdemo.test2.tree.HostTreeModel.FakeHost
All Implemented Interfaces:
HostTreeModel.TreeNode
Enclosing class:
HostTreeModel

public static class HostTreeModel.FakeHost
extends java.lang.Object
implements HostTreeModel.TreeNode


Constructor Summary
HostTreeModel.FakeHost(java.lang.String id, java.lang.String name, int hostindex, int groupindex, int count)
           
 
Method Summary
 void addProcess(HostTreeModel.FakeProcess fp)
           
 void addProcess(int j, HostTreeModel.FakeProcess fp)
           
 java.lang.Object getChild(int index)
           
 int getChildCount()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 HostTreeModel.FakeProcess[] getProcess()
           
 boolean isLeaf()
           
 java.lang.Object removeChild(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostTreeModel.FakeHost

public HostTreeModel.FakeHost(java.lang.String id,
                              java.lang.String name,
                              int hostindex,
                              int groupindex,
                              int count)
Method Detail

getId

public java.lang.String getId()

getName

public java.lang.String getName()

getProcess

public HostTreeModel.FakeProcess[] getProcess()

getChild

public java.lang.Object getChild(int index)
Specified by:
getChild in interface HostTreeModel.TreeNode

removeChild

public java.lang.Object removeChild(int index)

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface HostTreeModel.TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface HostTreeModel.TreeNode

addProcess

public void addProcess(HostTreeModel.FakeProcess fp)

addProcess

public void addProcess(int j,
                       HostTreeModel.FakeProcess fp)


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo