01: /*
02: * $Id: JGraphpadTreeModelAdapter.java,v 1.1.1.1 2005/08/04 11:21:58 gaudenz Exp $
03: * Copyright (c) 2001-2005, Gaudenz Alder
04: *
05: * All rights reserved.
06: *
07: * See LICENSE file for license details. If you are unable to locate
08: * this file please contact info (at) jgraph (dot) com.
09: */
10: package com.jgraph.pad.util;
11:
12: import javax.swing.event.TreeModelEvent;
13: import javax.swing.event.TreeModelListener;
14:
15: /**
16: * Helper class for receiving events from a tree model. Provides empty
17: * implementations for all methods of the {@link TreeModelListener} interface.
18: */
19: public abstract class JGraphpadTreeModelAdapter implements
20: TreeModelListener {
21:
22: /*
23: * (non-Javadoc)
24: */
25: public void treeNodesChanged(TreeModelEvent arg0) {
26: // empty
27: }
28:
29: /*
30: * (non-Javadoc)
31: */
32: public void treeNodesInserted(TreeModelEvent arg0) {
33: // empty
34: }
35:
36: /*
37: * (non-Javadoc)
38: */
39: public void treeNodesRemoved(TreeModelEvent arg0) {
40: // empty
41: }
42:
43: /*
44: * (non-Javadoc)
45: */
46: public void treeStructureChanged(TreeModelEvent arg0) {
47: // empty
48: }
49:
50: }
|