2 |
* Copyright (c) 2009 Martin O. J. Schmitz. |
* Copyright (c) 2009 Martin O. J. Schmitz. |
3 |
* |
* |
4 |
* This file is part of the SCHMITZM library - a collection of utility |
* This file is part of the SCHMITZM library - a collection of utility |
5 |
* classes based on Java 1.6, focussing (not only) on Java Swing |
* classes based on Java 1.6, focusing (not only) on Java Swing |
6 |
* and the Geotools library. |
* and the Geotools library. |
7 |
* |
* |
8 |
* The SCHMITZM project is hosted at: |
* The SCHMITZM project is hosted at: |
25 |
* |
* |
26 |
* Contributors: |
* Contributors: |
27 |
* Martin O. J. Schmitz - initial API and implementation |
* Martin O. J. Schmitz - initial API and implementation |
28 |
* Stefan A. Krüger - additional utility classes |
* Stefan A. Tzeggai - additional utility classes |
29 |
******************************************************************************/ |
******************************************************************************/ |
30 |
package skrueger.geotools.labelsearch; |
package skrueger.geotools.labelsearch; |
31 |
|
|
32 |
import java.util.Map; |
import java.util.Map; |
33 |
|
|
34 |
import org.geotools.feature.Feature; |
import org.opengis.feature.simple.SimpleFeature; |
35 |
|
|
36 |
public interface SearchResult { |
public interface SearchResult { |
37 |
|
|
43 |
String getTitle(); |
String getTitle(); |
44 |
|
|
45 |
/** |
/** |
46 |
* "Open" the result. For a {@link Feature} that mean to zoom to the |
* "Open" the result. For a {@link SimpleFeature} that mean to zoom to the |
47 |
* location. For a {@link Map} if means to open the {@link Map}. |
* location. For a {@link Map} if means to open the {@link Map}. |
48 |
*/ |
*/ |
49 |
void open(); |
void open(); |