Package com.luciad.view.gxy
Interface ILcdRotationCapableGXYView
- All Superinterfaces:
ILcdGXYView,ILcdGXYViewXYWorldTransformationProvider,ILcdLayered,ILcdPropertyChangeSource,ILcdRotationCapable,ILcdStatusSource,ILcdTreeLayered,ILcdView,Serializable
- All Known Implementing Classes:
TLcdGXYViewBufferedImage,TLcdGXYViewCanvas,TLcdGXYViewJPanel,TLcdGXYViewJPanelLightWeight,TLcdGXYViewPlanarImage,TLcdMapBufferedImage,TLcdMapCanvas,TLcdMapJPanel,TLcdMapJPanelLightWeight
An
ILcdGXYView that supports rotation, adding it as an extra parameter
(next to the scale and origin mapping) to the view-world transformation.- Since:
- 7.0.17
-
Field Summary
Fields inherited from interface com.luciad.view.gxy.ILcdGXYView
CENTER, LOWERLEFT, LOWERRIGHT, UPPERLEFT, UPPERRIGHT -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the rotation of thisILcdGXYView.voidsetRotation(double aRotation) Sets the rotation of thisILcdGXYView, updating the view according toILcdView.isAutoUpdate().voidsetRotation(double aRotation, boolean aAdjusting) Sets the rotation of thisILcdGXYView, optionally indicating subsequent property changes.Methods inherited from interface com.luciad.view.gxy.ILcdGXYView
addGXYLayer, addGXYLayer, addLayerSelectionListener, addModelListener, addStatusListener, addViewInvalidationListener, getBackground, getDefaultPen, getForeground, getGraphics, getGXYController, getGXYViewLabelPainter, getGXYViewLabelPlacer, getHeight, getImage, getLayers, getMapScale, getMapScaleRange, getMaxScale, getMinScale, getNumberOfCachedBackgroundLayers, getPaintExceptionHandler, getPaintingMode, getPreferredSize, getScale, getViewOrigin, getWidth, getWorldOrigin, getXYWorldReference, hasValidImage, invalidate, invalidateAndWait, invalidateGXYLayer, invalidateGXYLayerAndWait, invalidateRegion, invalidateRegionAndWait, invalidateRegionSelection, invalidateRegionSelectionAndWait, invalidateSelection, invalidateSelectionAndWait, isAntiAliased, isAsynchronousAllowed, isDrawOffScreenImageOnPaint, isPaintInBackground, paintGXYView, pan, putCornerIcon, removeLayerSelectionListener, removeModelListener, removeStatusListener, removeViewInvalidationListener, repaint, repaint, setBackground, setCursor, setDrawOffScreenImageOnPaint, setForeground, setGXYController, setGXYViewLabelPlacer, setMapScale, setMapScaleRange, setMaxScale, setMinScale, setNumberOfCachedBackgroundLayers, setPaintExceptionHandler, setPaintInBackground, setPaintingMode, setScale, setScale, setScale, setScale, setViewOrigin, setViewOrigin, setViewOrigin, setWorldOrigin, setWorldOrigin, setWorldOrigin, setXYWorldReference, setXYWorldReference, setXYWorldReferenceMethods inherited from interface com.luciad.view.gxy.ILcdGXYViewXYWorldTransformationProvider
getGXYViewXYWorldTransformationMethods inherited from interface com.luciad.view.ILcdLayered
addLayeredListener, moveLayerAt, removeLayeredListenerMethods inherited from interface com.luciad.util.ILcdPropertyChangeSource
addPropertyChangeListener, removePropertyChangeListenerMethods inherited from interface com.luciad.view.ILcdTreeLayered
addLayeredListener, containsLayer, getLayer, getRootNode, indexOf, layerCount, layerOf, layers, layersBackwards, removeAllLayers, removeLayer, removeLayeredListenerMethods inherited from interface com.luciad.view.ILcdView
addModel, isAutoUpdate, removeModel, setAutoUpdate
-
Method Details
-
setRotation
void setRotation(double aRotation) Sets the rotation of thisILcdGXYView, updating the view according toILcdView.isAutoUpdate(). The rotation is expressed in degrees and is positive counter-clockwise. The rotation is applied in the world reference system around the worldOrigin.- Specified by:
setRotationin interfaceILcdRotationCapable- Parameters:
aRotation- the new rotation value expressed in degrees (positive counter-clockwise).- See Also:
-
setRotation
void setRotation(double aRotation, boolean aAdjusting) Sets the rotation of thisILcdGXYView, optionally indicating subsequent property changes. The rotation is expressed in degrees and is positive counter-clockwise. The rotation is applied in the world reference system around the worldOrigin.- Specified by:
setRotationin interfaceILcdRotationCapable- Parameters:
aRotation- the new rotation value expressed in degrees (positive counter-clockwise)aAdjusting- if true, the caller indicates that he will trigger another property change right after this call. This is reflected in the associated property change event.- See Also:
-
getRotation
double getRotation()Returns the rotation of thisILcdGXYView. The rotation is expressed in degrees and is positive counter-clockwise. The rotation is applied in the world reference system around the worldOrigin.- Specified by:
getRotationin interfaceILcdRotationCapable- Returns:
- the rotation of this
ILcdGXYView. The rotation is expressed in degrees and is positive counter-clockwise. - See Also:
-