Interface AnnotationWrapper

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    VirtualViewerSnowAnn

    public interface AnnotationWrapper
    extends java.io.Serializable
    Defines a facade for the RasterMaster annotation object.
    • Method Detail

      • getAnnotationData

        java.lang.Object getAnnotationData()
        Returns:
        the Object that represents this annotations data. For example, the xml or the SnowAnn object.
      • hasAnnotation

        boolean hasAnnotation()
        Returns:
        Whether this layer contains any annotations.
      • rotate

        void rotate​(int angle)
        Rotate any annotations in this layer by the provided angle. Angle must be a value of 0, 90, 180, or 270 degrees.
        Parameters:
        angle - A value of 0, 90, 180, or 270 degrees.
      • merge

        void merge​(AnnotationWrapper toMerge)
        Merge the annotations in another layer with this layer.
        Parameters:
        toMerge - The second annotation object to merge.
      • setModified

        void setModified​(boolean modified)
        Parameters:
        modified - True to mark this object as modified.
      • isModified

        boolean isModified()
        Returns:
        true if this layer has been modified.
      • setLayerName

        void setLayerName​(java.lang.String layerName)
        Set annotation layer name.
        Parameters:
        layerName - Annotation layer name to set.
      • getLayerName

        java.lang.String getLayerName()
        Return annotation layer name.
        Returns:
        Annotation layer name.