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 |
* Created on 11-may-2004
|
3 |
*/
|
4 |
package org.cresques.ui; |
5 |
|
6 |
import java.awt.geom.Point2D; |
7 |
|
8 |
import org.cresques.cts.IProjection; |
9 |
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 |
|
18 |
public CQMapCanvas getCanvas();
|
19 |
|
20 |
public IProjection getCurrentProjection();
|
21 |
public void setCurrentProjection(IProjection proj); |
22 |
|
23 |
public PxLayer getLayerByName(String lName); |
24 |
public void setCurrentLayer(PxLayer layer); |
25 |
public PxLayer getCurrentLayer();
|
26 |
public PxLayer createLayer(String name, IProjection proj); |
27 |
|
28 |
public void loadFile(String fName, IProjection proj); |
29 |
public void loadFile(String [] fNames, IProjection proj); |
30 |
public void setCurrentMinuteo(PxLayer layerMin); |
31 |
|
32 |
public void selectHoja(Point2D pt); |
33 |
|
34 |
} |