Revision 496 2.1/trunk/org.gvsig.view3d/org.gvsig.view3d.swing/org.gvsig.view3d.swing.api/src/main/java/org/gvsig/view3d/swing/api/MapControl3D.java

View differences:

MapControl3D.java
61 61
 * <li>Get and set vertical exaggeration of WW Model. See
62 62
 * {@link MapControl3D#getVerticalExaggeration()} and
63 63
 * {@link MapControl3D#setVerticalExaggeration(double)}</li>
64
 * <li>Show and hide atmosphere layer. See {@link MapControl3D#showAtmosphere()}
65
 * and {@link MapControl3D#hideAtmosphere()}</li>
66
 * <li>Show and hide Minimap component layer. See
67
 * {@link MapControl3D#showMiniMap()} and {@link MapControl3D#hideMiniMap()}</li>
68
 * <li>Show and hide North indicator component layer. See
69
 * {@link MapControl3D#showNortIndicator()} and
70
 * {@link MapControl3D#hideNorthIndicator()}</li>
71
 * <li>Show and hide scale component layer. See {@link MapControl3D#showScale()}
72
 * and {@link MapControl3D#hideScale()}</li>
73
 * <li>Show and hide start background layer layer. See
74
 * {@link MapControl3D#showStarBackgroundLayer()} and
75
 * {@link MapControl3D#hideStarBackground()}</li>
64
 * <li>Get and set atmosphere layer. See {@link MapControl3D#getAtmosphereVisibility()}
65
 * and {@link MapControl3D#setAtmosphereVisibility(boolean)}</li>
66
 * <li>Get and set Minimap component layer. See
67
 * {@link MapControl3D#getMinimapVisibility()} and {@link MapControl3D#setMiniMapVisibility(boolean)}</li>
68
 * <li>Get and set North indicator component layer. See
69
 * {@link MapControl3D#getNorthIndicatorVisibility()} and
70
 * {@link MapControl3D#setNorthIndicatorVisibility(boolean)}</li>
71
 * <li>Get and set scale component layer. See {@link MapControl3D#getScaleVisibility()}
72
 * and {@link MapControl3D#setScaleVisibility(boolean)}</li>
73
 * <li>Get and set star background layer. See
74
 * {@link MapControl3D#getStarBackgroundVisibility()} and
75
 * {@link MapControl3D#setStarsBackgroundVisibility(boolean)}</li>
76 76
 * <li>Synchronize view ports. See {@link MapControl3D#synchronizeViewPorts()}</li>
77 77
 * <li>Reload layers. There are two methos to reload layers. The first methos is
78 78
 * {@link MapControl3D#synchronizeLayers()} that only reload layers with chages.
......
141 141
    public double getVerticalExaggeration();
142 142

  
143 143
    /**
144
     * Hides Atmosphere component.
144
     * Sets Atmosphere visibility.
145 145
     * 
146
     * @see MapControl3D#showAtmosphere()
146
     * @see MapControl3D#getAtmosphereVisibility()
147 147
     */
148
    public void hideAtmosphere();
148
    public void setAtmosphereVisibility(boolean visibility);
149 149

  
150 150
    /**
151
     * Hides MiniMap component.
151
     * Sets MiniMap visibility.
152 152
     * 
153
     * @see MapControl3D#showMiniMap()
153
     * @see MapControl3D#getMinimapVisibility()
154 154
     */
155
    public void hideMiniMap();
155
    public void setMiniMapVisibility(boolean visibility);
156 156

  
157 157
    /**
158
     * Hides North Indicator component.
158
     * Sets North Indicator visibility.
159 159
     * 
160
     * @see MapControl3D#showNortIndicator()
160
     * @see MapControl3D#getNorthIndicatorVisibility()
161 161
     */
162
    public void hideNorthIndicator();
162
    public void setNorthIndicatorVisibility(boolean visibility);
163 163

  
164 164
    /**
165
     * Hides Scale component.
165
     * Sets Scale visibility.
166 166
     * 
167
     * @see MapControl3D#showScale()
167
     * @see MapControl3D#getScaleVisibility()
168 168
     */
169
    public void hideScale();
169
    public void setScaleVisibility(boolean visibility);
170 170

  
171 171
    /**
172
     * Hides Star background layer.
172
     * Sets Star background visibility.
173 173
     * 
174
     * @see MapControl3D#showStarBackgroundLayer()
174
     * @see MapControl3D#getStarBackgroundVisibility()
175 175
     */
176
    public void hideStarBackground();
176
    public void setStarsBackgroundVisibility(boolean visibility);
177 177
    
178 178
    /**
179
     * Gets if Atmosphere is visible or not.
179
     * Gets Atmosphere visibility.
180 180
     * 
181
     * @return
181
     * @see MapControl3D#getAtmosphereVisibility()
182 182
     */
183
    public boolean isAtmosphereVisible();
183
    public boolean getAtmosphereVisibility();
184 184
    
185 185
    /**
186
     * Gets if Minimap is visible or not.
186
     * Gets Minimap visibility.
187 187
     * 
188
     * @return
188
     * @see MapControl3D#getMinimapVisibility()
189 189
     */
190
    public boolean isMinimapVisible();
190
    public boolean getMinimapVisibility();
191 191
    
192 192
    /**
193
     * Gets if North indicator is visible or not.
193
     * Gets North indicator visibility.
194 194
     * 
195
     * @return
195
     * @see MapControl3D#getNorthIndicatorVisibility()
196 196
     */
197
    public boolean isNorthIndicatorVisible();
197
    public boolean getNorthIndicatorVisibility();
198 198
    
199 199
    /**
200
     * Gets if Star background is visible or not.
200
     * Gets Star background visibility.
201 201
     * 
202
     * @return
202
     * @see MapControl3D#getStarBackgroundVisibility()
203 203
     */
204
    public boolean isStartBackgroundVisible();
204
    public boolean getStarBackgroundVisibility();
205 205
    
206 206
    /**
207
     * Gets if Scale is visible or not.
207
     * Gets Scale visibility.
208 208
     * 
209
     * @return
209
     * @see MapControl3D#getScaleVisibility()
210 210
     */
211
    public boolean isScaleVisible();
211
    public boolean getScaleVisibility();
212 212

  
213 213
    /**
214 214
     * Forces reload all layers of <code>MapContext</code> associted.
......
218 218
    public void reloadLayers();
219 219

  
220 220
    /**
221
     * Shows Atmosphere layer.
222
     * 
223
     * @see MapControl3D#hideAtmosphere()
224
     */
225
    public void showAtmosphere();
226

  
227
    /**
228
     * Shows Minimap component.
229
     * 
230
     * @see MapControl3D#hideMiniMap()
231
     */
232
    public void showMiniMap();
233

  
234
    /**
235
     * Shows North indicartor component.
236
     * 
237
     * @see MapControl3D#hideNorthIndicator()
238
     */
239
    public void showNortIndicator();
240

  
241
    /**
242
     * Shows Scale component.
243
     * 
244
     * @see MapControl3D#hideScale()
245
     */
246
    public void showScale();
247

  
248
    /**
249
     * Shows Star background layer.
250
     * 
251
     * @see MapControl3D#hideStarBackground()
252
     */
253
    public void showStarBackgroundLayer();
254

  
255
    /**
256 221
     * Synchronize view of <code>MapControl3D</code> with view port of
257 222
     * <code>MapContext</code> associated.
258 223
     */

Also available in: Unified diff