01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.admin.common;
05:
06: import java.awt.LayoutManager;
07:
08: import org.dijon.Container;
09:
10: public class XContainer extends Container {
11: private XTreeNode m_node;
12:
13: public XContainer() {
14: super ();
15: }
16:
17: public XContainer(LayoutManager layout) {
18: super (layout);
19: }
20:
21: public XContainer(XTreeNode node) {
22: this ();
23: setNode(node);
24: }
25:
26: public void setNode(XTreeNode node) {
27: m_node = node;
28: }
29:
30: public XTreeNode getNode() {
31: return m_node;
32: }
33:
34: public void tearDown() {
35: removeAll();
36: setNode(null);
37: }
38: }
|