01: /*
02: ItsNat Java Web Application Framework
03: Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
04: Author: Jose Maria Arranz Santamaria
05:
06: This program is free software: you can redistribute it and/or modify
07: it under the terms of the GNU Affero General Public License as published by
08: the Free Software Foundation, either version 3 of the License, or
09: (at your option) any later version. See the GNU Affero General Public
10: License for more details. See the copy of the GNU Affero General Public License
11: included in this program. If not, see <http://www.gnu.org/licenses/>.
12: */
13:
14: package org.itsnat.impl.comp;
15:
16: import java.beans.PropertyChangeListener;
17: import javax.swing.event.TreeSelectionListener;
18: import javax.swing.tree.DefaultTreeSelectionModel;
19: import javax.swing.tree.RowMapper;
20: import javax.swing.tree.TreePath;
21:
22: /**
23: *
24: * @author jmarranz
25: */
26: public class EmptyTreeSelectionModelImpl extends
27: DefaultTreeSelectionModel {
28: public static final EmptyTreeSelectionModelImpl SINGLETON = new EmptyTreeSelectionModelImpl();
29:
30: /**
31: * Creates a new instance of EmptyTreeSelectionModelImpl
32: */
33: public EmptyTreeSelectionModelImpl() {
34: }
35:
36: public void setSelectionPaths(TreePath[] pPaths) {
37: }
38:
39: public void addSelectionPaths(TreePath[] paths) {
40: }
41:
42: public void removeSelectionPaths(TreePath[] paths) {
43: }
44:
45: public void addSelectionPath(TreePath path) {
46: }
47:
48: public void removeSelectionPath(TreePath path) {
49: }
50:
51: public void setSelectionPath(TreePath path) {
52: }
53:
54: public void setSelectionMode(int mode) {
55: }
56:
57: public void setRowMapper(RowMapper newMapper) {
58: }
59:
60: public void addPropertyChangeListener(
61: PropertyChangeListener listener) {
62: }
63:
64: public void removePropertyChangeListener(
65: PropertyChangeListener listener) {
66: }
67:
68: public void addTreeSelectionListener(TreeSelectionListener x) {
69: }
70:
71: public void removeTreeSelectionListener(TreeSelectionListener x) {
72: }
73:
74: public void clearSelection() {
75: }
76:
77: public void resetRowSelection() {
78: }
79:
80: }
|