Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.symbology / org.gvsig.symbology.swing / org.gvsig.symbology.swing.api / src / main / java / org / gvsig / app / gui / styling / SelectorFilter.java @ 40560

History | View | Annotate | Download (1.9 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program 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
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
/* CVS MESSAGES:
25
*
26
* $Id: SelectorFilter.java 29596 2009-06-29 16:02:00Z jpiera $
27
* $Log$
28
* Revision 1.3  2007-08-13 11:33:51  jvidal
29
* javadoc
30
*
31
* Revision 1.2  2007/04/04 16:01:13  jaume
32
* *** empty log message ***
33
*
34
* Revision 1.1  2007/03/09 11:25:00  jaume
35
* Advanced symbology (start committing)
36
*
37
* Revision 1.1.2.3  2007/02/21 07:35:14  jaume
38
* *** empty log message ***
39
*
40
* Revision 1.1.2.2  2007/02/08 15:43:04  jaume
41
* some bug fixes in the editor and removed unnecessary imports
42
*
43
* Revision 1.1.2.1  2007/01/26 13:49:03  jaume
44
* *** empty log message ***
45
*
46
*
47
*/
48
package org.gvsig.app.gui.styling;
49

    
50
/**
51
* Interface which is used to establish a filter in order to accept an object
52
* or refuse depending on its features
53
* @author jaume dominguez faus - jaume.dominguez@iver.es
54
*
55
*/
56
public interface SelectorFilter {
57
        /**
58
         * Returns true if the object passes the filter(is accepted)or false on the contrary
59
         * @param obj
60
         * @return
61
         */
62
        public boolean accepts(Object obj);
63
}