KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > admin > dso > ClassTreeModel


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.admin.dso;
5
6 import com.tc.admin.common.XTreeModel;
7
8 import com.tc.stats.DSOClassInfo;
9
10 public class ClassTreeModel extends XTreeModel {
11   public ClassTreeModel(DSOClassInfo[] classInfo) {
12     super(new ClassTreeRoot(classInfo));
13   }
14
15   public void setClassInfo(DSOClassInfo[] classInfo) {
16     ((ClassTreeRoot)getRoot()).setClassInfo(classInfo);
17     reload();
18   }
19 }
20
Popular Tags