org.zkoss.zkdemo.test2.tree
Class HostTreeModel.FakeHost
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostTreeModel.FakeHost
public HostTreeModel.FakeHost(java.lang.String id,
java.lang.String name,
int hostindex,
int groupindex,
int count)
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.