svn-document-layout / branches / usability_v2 / org.gvsig.app.document.layout.app / org.gvsig.app.document.layout.app.mainplugin / src / main / java / org / gvsig / app / project / documents / layout / fframes / IFFrameUseFMap.java @ 145
History | View | Annotate | Download (2.3 KB)
1 |
/* gvSIG. Geographic Information System of the Valencian Government
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
4 |
* of the Valencian Government (CIT)
|
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 2
|
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 |
*/
|
22 |
package org.gvsig.app.project.documents.layout.fframes; |
23 |
|
24 |
import java.awt.geom.AffineTransform; |
25 |
import java.awt.geom.Point2D; |
26 |
import java.awt.image.BufferedImage; |
27 |
|
28 |
import org.gvsig.fmap.dal.exception.ReadException; |
29 |
import org.gvsig.fmap.geom.primitive.Envelope; |
30 |
import org.gvsig.fmap.mapcontext.MapContext; |
31 |
|
32 |
public interface IFFrameUseFMap { |
33 |
|
34 |
public static final int AUTOMATICO = 0; |
35 |
/**
|
36 |
* @Deprecated {@value #CONSTANTE} is considered now
|
37 |
* equivalent to {@link #MANUAL}
|
38 |
*/
|
39 |
public static final int CONSTANTE = 1; |
40 |
public static final int MANUAL = 2; |
41 |
|
42 |
public AffineTransform getATMap(); |
43 |
|
44 |
public void setATMap(AffineTransform at); |
45 |
|
46 |
public MapContext getMapContext();
|
47 |
|
48 |
public void refresh(); |
49 |
|
50 |
public void setNewEnvelope(Envelope r); |
51 |
|
52 |
public BufferedImage getBufferedImage(); |
53 |
|
54 |
public void fullExtent() throws ReadException; |
55 |
|
56 |
public void setPointsToZoom(Point2D px1, Point2D px2); |
57 |
|
58 |
public void movePoints(Point2D px1, Point2D px2); |
59 |
|
60 |
public int getTypeScale(); |
61 |
|
62 |
public void refreshOriginalExtent(); |
63 |
|
64 |
/**
|
65 |
* Seleccionar si la vista esta relacionada o no con la original.
|
66 |
*
|
67 |
* @param b
|
68 |
* true si est? ligada y false si no lo est?.
|
69 |
*/
|
70 |
public void setLinked(boolean b); |
71 |
|
72 |
/**
|
73 |
* Devuelve si est? ligada o no el FFrameView con la vista.
|
74 |
*
|
75 |
* @return True si la vista est? ligada.
|
76 |
*/
|
77 |
public boolean getLinked(); |
78 |
} |