01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.gui.swing.event;
17:
18: import java.util.EventObject;
19: import org.opengis.filter.Filter;
20:
21: public class HighlightChangedEvent extends EventObject {
22: /**
23: *
24: */
25: private static final long serialVersionUID = -7958576070524520655L;
26: Object source;
27: Filter filter;
28:
29: public HighlightChangedEvent(Object source,
30: org.opengis.filter.Filter filter2) {
31: super (source);
32: this .source = source;
33:
34: this .filter = filter2;
35: }
36:
37: public Filter getFilter() {
38: return filter;
39: }
40:
41: public void setFilter(Filter filter) {
42: this .filter = filter;
43: }
44:
45: public Object getSource() {
46: return source;
47: }
48:
49: public void setSource(Object source) {
50: this.source = source;
51: }
52: }
|