root / org.gvsig.proj / branches / refactor2018 / org.gvsig.proj / org.gvsig.proj.swing / org.gvsig.proj.swing.api / src / main / java / org / gvsig / proj / swing / CoordinateReferenceSystemAndTransformFieldController.java @ 874
History | View | Annotate | Download (1.29 KB)
1 |
package org.gvsig.proj.swing; |
---|---|
2 |
|
3 |
import org.gvsig.proj.CoordinateReferenceSystem; |
4 |
import org.gvsig.proj.CoordinateTransformation; |
5 |
|
6 |
/**
|
7 |
* A controller for a specialized field to show and change a
|
8 |
* {@link CoordinateReferenceSystem} and a {@link CoordinateTransformation}.
|
9 |
*
|
10 |
* @author Cesar Martinez Izquierdo
|
11 |
*/
|
12 |
public interface CoordinateReferenceSystemAndTransformFieldController { |
13 |
|
14 |
/**
|
15 |
* Sets the selected {@link CoordinateReferenceSystem}
|
16 |
*
|
17 |
* @param crs The {@link CoordinateReferenceSystem CRS} to set, or {@code null}
|
18 |
* to clear the selection. Clearing the CRS will also clear the
|
19 |
* selected transformation.
|
20 |
*/
|
21 |
void setCoordinateReferenceSystem(CoordinateReferenceSystem crs);
|
22 |
|
23 |
/**
|
24 |
* Gets the selected {@link CoordinateReferenceSystem} or {@code null} if
|
25 |
* none has been selected.
|
26 |
*
|
27 |
* @return
|
28 |
*/
|
29 |
CoordinateReferenceSystem getCoordinateReferenceSystem(); |
30 |
|
31 |
/**
|
32 |
* Sets the selected {@link CoordinateTransformation}
|
33 |
* @param ct The {@link CoordinateTransformation} to set, or {@code null}
|
34 |
* to clear the selection.
|
35 |
*/
|
36 |
void setCoordinateTransformation(CoordinateTransformation ct);
|
37 |
|
38 |
/**
|
39 |
* Gets the selected {@link CoordinateTransformation} or {@code null} if
|
40 |
* none has been selected.
|
41 |
*
|
42 |
* @return
|
43 |
*/
|
44 |
CoordinateTransformation getCoordinateTransformation(); |
45 |
} |