Statistics
| Revision:

gvsig-3d / 2.1 / trunk / org.gvsig.view3d / org.gvsig.view3d.swing / org.gvsig.view3d.swing.api / src / main / java / org / gvsig / view3d / swing / api / properties / MapControlProperties3D.java @ 533

History | View | Annotate | Download (4.67 KB)

1
package org.gvsig.view3d.swing.api.properties;
2

    
3
import java.beans.PropertyChangeListener;
4

    
5
import org.gvsig.tools.persistence.Persistent;
6
import org.gvsig.view3d.swing.api.MapControl3D;
7

    
8
/**
9
 * This class represents the properties of {@link MapControl3D}.
10
 * 
11
 * @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
12
 *
13
 */
14
public interface MapControlProperties3D extends Persistent{
15
    
16
    public static final String PERSISTENCE_NAME = "MapControl3DProperties";
17

    
18
    public final String SPHERE_VERTICAL_EXAGGERATION_PROPERTY_NAME =
19
        "sphereVerticalExaggeration";
20
    public final String FLAT_VERTICAL_EXAGGERATION_PROPERTY_NAME =
21
        "flatVerticalExaggeration";
22
    public final String AUTO_LAYER_SYNCHRONIZE_PROPERTY_NAME =
23
        "autoLayerSynchronize";
24
    public final String AUTO_VIEWPORT_SYNCHRONIZE_PROPERTY_NAME =
25
        "autoViewPortSynchronize";
26
    public final String BLUE_MARBEL_VISIBILITY_PROPERTY_NAME =
27
        "blueMarbelLayerVisibility";
28
    public final String NASA_LANDSAT_VISIBILITY_PROPERTY_NAME =
29
        "nasaLandsatLayerVisibility";
30
    public final String DEFAULT_ELEVATION_VISIBILITY_PROPERTY_NAME =
31
        "defaultElevationVisibility";
32
    
33
    /**
34
     * Adds {@link PropertyChangeListener} that will listen properties changes.
35
     * 
36
     * @param listener
37
     */
38
    public void addPropertyChangeListener(PropertyChangeListener listener);
39
    
40
    /**
41
     * Gets if auto layer synchronize is active or not.
42
     * 
43
     * @see MapControlProperties3D#setAutoLayerSynchronize(boolean)
44
     * @return
45
     */
46
    public boolean getAutoLayerSynchronize();
47
    
48
    /**
49
     * Gets if auto view synchronize is active or not
50
     * 
51
     * @see MapControlProperties3D#setAutoViewPortSynchronize(boolean)
52
     * @return
53
     */
54
    public boolean getAutoViewPortSynchronize();
55
    
56
    /**
57
     * Gets visibility of Blue Marble layer. 
58
     * 
59
     * @see MapControlProperties3D#setBlueMarbleLayerVisibility(boolean)
60
     * @return
61
     */
62
    public boolean getBlueMarbleLayerVisibility();
63
    
64
    /**
65
     * Gets visiblity of default elevation.
66
     * 
67
     * @see MapControlProperties3D#setDefaultElevationVisibility(boolean)
68
     * @return
69
     */
70
    public boolean getDefaultElevationVisibility();
71
    
72
    /**
73
     * Get vertical exaggeration of flat view
74
     * 
75
     * @see MapControlProperties3D#setFlatVerticalExaggeration(double)
76
     * @return
77
     */
78
    public double getFlatVerticalExaggeration();
79
    
80
    /**
81
     * Gets visibility of Nasa Landsat Layer
82
     * 
83
     * @see MapControlProperties3D#setNasaLandsatVisibility(boolean)
84
     * @return
85
     */
86
    public boolean getNasaLandsatLayerVisibility();
87
    
88
    /**
89
     * Gets vertical exaggeration of sphere view
90
     * 
91
     * @see MapControlProperties3D#setSphereVerticalExaggeration(double)
92
     * @return
93
     */
94
    public double getSphereVerticalExaggeration();
95
    
96
    /**
97
     * Removes {@link PropertyChangeListener}.
98
     * 
99
     * @see MapControlProperties3D#addPropertyChangeListener(PropertyChangeListener)
100
     * @param listener
101
     */
102
    public void removePropertyChangeListener(PropertyChangeListener listener);
103
    
104
    /**
105
     * Set auto layer synchronize.
106
     * 
107
     * @param flag True to active auto layer synchronize, false to disable it.
108
     * @see MapControlProperties3D#getAutoLayerSynchronize()
109
     */
110
    public void setAutoLayerSynchronize(boolean flag);
111

    
112
    /**
113
     * Set auto viesport synchronize.
114
     * 
115
     * @param flag True to active auto viewport synchronize, false to disable it.
116
     * @see MapControlProperties3D#getAutoViewSynchronize()
117
     */
118
    public void setAutoViewPortSynchronize(boolean flag);
119

    
120
    /**
121
     * Sets visibility of BlueMarble layer.
122
     * 
123
     * @param visibility
124
     * @see MapControlProperties3D#getBlueMarbleLayerVisibility()
125
     */
126
    public void setBlueMarbleLayerVisibility(boolean visibility);
127

    
128
    /**
129
     * Sets visibility of deafult elevation.
130
     * 
131
     * @param visibility
132
     * @see MapControlProperties3D#getDefaultElevationVisibility()
133
     */
134
    public void setDefaultElevationVisibility(boolean visibility);
135

    
136
    /**
137
     * Sets flat vertical exaggeration.
138
     * 
139
     * @param value
140
     * @see MapControlProperties3D#getFlatVerticalExaggeration()
141
     */
142
    public void setFlatVerticalExaggeration(double value);
143

    
144
    /**
145
     * Sets Nasa Landsat visibility.
146
     * 
147
     * @param visibility
148
     * @see MapControlProperties3D#getNasaLandsatLayerVisibility()
149
     */
150
    public void setNasaLandsatVisibility(boolean visibility);
151

    
152
    /**
153
     * Sets sphere vertical exaggeration.
154
     * 
155
     * @param value
156
     * @see MapControlProperties3D#getSphereVerticalExaggeration()
157
     */
158
    public void setSphereVerticalExaggeration(double value);
159

    
160
}