KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > terracotta > dso > views > ExcludeWrapper


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 org.terracotta.dso.views;
5
6 public class ExcludeWrapper {
7   private InstrumentedClassesWrapper m_parent;
8   private int m_index;
9   
10   ExcludeWrapper(InstrumentedClassesWrapper parent, int index) {
11     m_parent = parent;
12     m_index = index;
13   }
14   
15   void remove() {
16     m_parent.removeExclude(m_index);
17   }
18   
19   InstrumentedClassesWrapper getParent() {
20     return m_parent;
21   }
22   
23   public String JavaDoc toString() {
24     return m_parent.getExcludeArray(m_index);
25   }
26 }
27
Free Books   Free Magazines  
Popular Tags