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

public interface ILcdRotationCapableGXYView extends ILcdRotationCapable, ILcdGXYView
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
  • Method Details

    • setRotation

      void setRotation(double aRotation)
      Sets the rotation of this ILcdGXYView, updating the view according to ILcdView.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:
      setRotation in interface ILcdRotationCapable
      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 this ILcdGXYView, 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:
      setRotation in interface ILcdRotationCapable
      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 this ILcdGXYView. 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:
      getRotation in interface ILcdRotationCapable
      Returns:
      the rotation of this ILcdGXYView. The rotation is expressed in degrees and is positive counter-clockwise.
      See Also: