Revision 3146
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/IFFrameDependence.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
2 |
* |
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
18 |
* |
|
19 |
* For more information, contact: |
|
20 |
* |
|
21 |
* Generalitat Valenciana |
|
22 |
* Conselleria d'Infraestructures i Transport |
|
23 |
* Av. Blasco Ib??ez, 50 |
|
24 |
* 46010 VALENCIA |
|
25 |
* SPAIN |
|
26 |
* |
|
27 |
* +34 963862235 |
|
28 |
* gvsig@gva.es |
|
29 |
* www.gvsig.gva.es |
|
30 |
* |
|
31 |
* or |
|
32 |
* |
|
33 |
* IVER T.I. S.A |
|
34 |
* Salamanca 50 |
|
35 |
* 46005 Valencia |
|
36 |
* Spain |
|
37 |
* |
|
38 |
* +34 963163400 |
|
39 |
* dac@iver.es |
|
40 |
*/ |
|
41 |
package com.iver.cit.gvsig.gui.layout.fframes; |
|
42 |
|
|
43 |
/** |
|
44 |
* Interfaz para incluir m?todos necesarios para tener una dependencia con un |
|
45 |
* fframe. |
|
46 |
* |
|
47 |
* @author Vicente Caballero Navarro |
|
48 |
*/ |
|
49 |
public interface IFFrameDependence { |
|
50 |
/** |
|
51 |
* Inserta una FFrame de la cual se necesita por tener una dependencia. |
|
52 |
* |
|
53 |
* @param f FFrame de la que se depende. |
|
54 |
*/ |
|
55 |
public void setFFrameDependence(IFFrame f); |
|
56 |
|
|
57 |
/** |
|
58 |
* Devuelve el FFrame utilizado. |
|
59 |
* |
|
60 |
* @return FFrame utilizado. |
|
61 |
*/ |
|
62 |
public IFFrame getFFrameDependence(); |
|
63 |
|
|
64 |
/** |
|
65 |
* A partir de un Array con todas las FFrames se resuelve el FFrame del que |
|
66 |
* se tiene una dependencia. |
|
67 |
* |
|
68 |
* @param fframes Array de FFrames. |
|
69 |
*/ |
|
70 |
public void initDependence(IFFrame[] fframes); |
|
71 |
} |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameScaleBar.java | ||
---|---|---|
73 | 73 |
* |
74 | 74 |
* @author Vicente Caballero Navarro |
75 | 75 |
*/ |
76 |
public class FFrameScaleBar extends FFrame implements IFFrameDependence { |
|
76 |
public class FFrameScaleBar extends FFrame implements IFFrameViewDependence {
|
|
77 | 77 |
private static final int NUMERO = 0; |
78 | 78 |
private static final int BARRA1 = 1; |
79 | 79 |
private static final int BARRA2 = 2; |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameLegend.java | ||
---|---|---|
71 | 71 |
* |
72 | 72 |
* @author Vicente Caballero Navarro |
73 | 73 |
*/ |
74 |
public class FFrameLegend extends FFrame implements IFFrameDependence { |
|
74 |
public class FFrameLegend extends FFrame implements IFFrameViewDependence {
|
|
75 | 75 |
private static final int PRESENTACION = 0; |
76 | 76 |
private static final int BORRADOR = 1; |
77 | 77 |
private int m_quality = 0; |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/IFFrameViewDependence.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
2 |
* |
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
18 |
* |
|
19 |
* For more information, contact: |
|
20 |
* |
|
21 |
* Generalitat Valenciana |
|
22 |
* Conselleria d'Infraestructures i Transport |
|
23 |
* Av. Blasco Ib??ez, 50 |
|
24 |
* 46010 VALENCIA |
|
25 |
* SPAIN |
|
26 |
* |
|
27 |
* +34 963862235 |
|
28 |
* gvsig@gva.es |
|
29 |
* www.gvsig.gva.es |
|
30 |
* |
|
31 |
* or |
|
32 |
* |
|
33 |
* IVER T.I. S.A |
|
34 |
* Salamanca 50 |
|
35 |
* 46005 Valencia |
|
36 |
* Spain |
|
37 |
* |
|
38 |
* +34 963163400 |
|
39 |
* dac@iver.es |
|
40 |
*/ |
|
41 |
package com.iver.cit.gvsig.gui.layout.fframes; |
|
42 |
|
|
43 |
/** |
|
44 |
* Interfaz para incluir m?todos necesarios para tener una dependencia con un |
|
45 |
* fframe. |
|
46 |
* |
|
47 |
* @author Vicente Caballero Navarro |
|
48 |
*/ |
|
49 |
public interface IFFrameViewDependence { |
|
50 |
/** |
|
51 |
* Inserta una FFrame de la cual se necesita por tener una dependencia. |
|
52 |
* |
|
53 |
* @param f FFrame de la que se depende. |
|
54 |
*/ |
|
55 |
public void setFFrameDependence(IFFrame f); |
|
56 |
|
|
57 |
/** |
|
58 |
* Devuelve el FFrame utilizado. |
|
59 |
* |
|
60 |
* @return FFrame utilizado. |
|
61 |
*/ |
|
62 |
public IFFrame getFFrameDependence(); |
|
63 |
|
|
64 |
/** |
|
65 |
* A partir de un Array con todas las FFrames se resuelve el FFrame del que |
|
66 |
* se tiene una dependencia. |
|
67 |
* |
|
68 |
* @param fframes Array de FFrames. |
|
69 |
*/ |
|
70 |
public void initDependence(IFFrame[] fframes); |
|
71 |
} |
|
0 | 72 |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameNorth.java | ||
---|---|---|
51 | 51 |
* |
52 | 52 |
* @author Vicente Caballero Navarro |
53 | 53 |
*/ |
54 |
public class FFrameNorth extends FFramePicture implements IFFrameDependence { |
|
54 |
public class FFrameNorth extends FFramePicture implements IFFrameViewDependence {
|
|
55 | 55 |
private FFrameView fframeview; |
56 | 56 |
private int dependenceIndex; |
57 | 57 |
|
Also available in: Unified diff