Revision 533 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

View differences:

MapControlProperties3D.java
3 3
import java.beans.PropertyChangeListener;
4 4

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

  
7 8
/**
9
 * This class represents the properties of {@link MapControl3D}.
8 10
 * 
9 11
 * @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
10 12
 *
......
27 29
        "nasaLandsatLayerVisibility";
28 30
    public final String DEFAULT_ELEVATION_VISIBILITY_PROPERTY_NAME =
29 31
        "defaultElevationVisibility";
30

  
32
    
33
    /**
34
     * Adds {@link PropertyChangeListener} that will listen properties changes.
35
     * 
36
     * @param listener
37
     */
31 38
    public void addPropertyChangeListener(PropertyChangeListener listener);
32

  
39
    
40
    /**
41
     * Gets if auto layer synchronize is active or not.
42
     * 
43
     * @see MapControlProperties3D#setAutoLayerSynchronize(boolean)
44
     * @return
45
     */
33 46
    public boolean getAutoLayerSynchronize();
34

  
35
    public boolean getAutoViewSynchronize();
36

  
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
     */
37 62
    public boolean getBlueMarbleLayerVisibility();
38

  
63
    
64
    /**
65
     * Gets visiblity of default elevation.
66
     * 
67
     * @see MapControlProperties3D#setDefaultElevationVisibility(boolean)
68
     * @return
69
     */
39 70
    public boolean getDefaultElevationVisibility();
40

  
71
    
72
    /**
73
     * Get vertical exaggeration of flat view
74
     * 
75
     * @see MapControlProperties3D#setFlatVerticalExaggeration(double)
76
     * @return
77
     */
41 78
    public double getFlatVerticalExaggeration();
42

  
79
    
80
    /**
81
     * Gets visibility of Nasa Landsat Layer
82
     * 
83
     * @see MapControlProperties3D#setNasaLandsatVisibility(boolean)
84
     * @return
85
     */
43 86
    public boolean getNasaLandsatLayerVisibility();
44

  
87
    
88
    /**
89
     * Gets vertical exaggeration of sphere view
90
     * 
91
     * @see MapControlProperties3D#setSphereVerticalExaggeration(double)
92
     * @return
93
     */
45 94
    public double getSphereVerticalExaggeration();
46

  
95
    
96
    /**
97
     * Removes {@link PropertyChangeListener}.
98
     * 
99
     * @see MapControlProperties3D#addPropertyChangeListener(PropertyChangeListener)
100
     * @param listener
101
     */
47 102
    public void removePropertyChangeListener(PropertyChangeListener listener);
48

  
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
     */
49 110
    public void setAutoLayerSynchronize(boolean flag);
50 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
     */
51 118
    public void setAutoViewPortSynchronize(boolean flag);
52 119

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

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

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

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

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

  
63 160
}

Also available in: Unified diff