svn-gvsig-desktop / tags / Root_CqCMSDvp / libraries / libCq CMS for java.old / src / org / cresques / ui / CQApp.java @ 1732
History | View | Annotate | Download (843 Bytes)
1 | 2 | luisw | /*
|
---|---|---|---|
2 | * Created on 11-may-2004
|
||
3 | */
|
||
4 | package org.cresques.ui; |
||
5 | |||
6 | import java.awt.geom.Point2D; |
||
7 | |||
8 | 93 | luisw | import org.cresques.cts.IProjection; |
9 | 2 | luisw | import org.cresques.px.PxLayer; |
10 | |||
11 | /**
|
||
12 | * Define los m?todos de comunicaci?n entre la librer?a y la aplicaci?n
|
||
13 | * @author "Luis W. Sevilla" <sevilla_lui@gva.es>
|
||
14 | */
|
||
15 | |||
16 | public interface CQApp { |
||
17 | 92 | luisw | |
18 | public CQMapCanvas getCanvas();
|
||
19 | |||
20 | 94 | luisw | public IProjection getCurrentProjection();
|
21 | public void setCurrentProjection(IProjection proj); |
||
22 | 2 | luisw | |
23 | public PxLayer getLayerByName(String lName); |
||
24 | public void setCurrentLayer(PxLayer layer); |
||
25 | 130 | luisw | public PxLayer getCurrentLayer();
|
26 | 94 | luisw | public PxLayer createLayer(String name, IProjection proj); |
27 | 2 | luisw | |
28 | 93 | luisw | public void loadFile(String fName, IProjection proj); |
29 | 1345 | luisw | public void loadFile(String [] fNames, IProjection proj); |
30 | 2 | luisw | public void setCurrentMinuteo(PxLayer layerMin); |
31 | |||
32 | public void selectHoja(Point2D pt); |
||
33 | |||
34 | } |