Documentation of 'org.opengis.go.display.canvas.CanvasState' Java class
CanvasState
org.opengis.go.display.canvas

Interface CanvasState

  • All Known Subinterfaces:
    Map2DState


    public interface CanvasState
    Instances of this interface (and its sub-interfaces) describe the current state of a Canvas. The information contained by instances of this interface should only describe the viewing area or volume of the Canvas and should not contain any state information regarding the data contained within it.

    When an instance of this class is returned from Canvas methods, a "snapshot" of the current state of the Canvas is taken and the values will never change (even if the Canvas changes state).

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Object clone()
      Returns a copy of this state object.
      boolean equals(java.lang.Object object)
      Determines if the given object is the same type of Canvas state object and has values equal to this one.
      DirectPosition getCenter()
      Returns the position of the center pixel of this Canvas.
      java.lang.String getTitle()
      Returns the title of the Canvas.
    • Method Detail

      • getTitle

        java.lang.String getTitle()
        Returns the title of the Canvas.
      • getCenter

        DirectPosition getCenter()
        Returns the position of the center pixel of this Canvas.
      • clone

        java.lang.Object clone()
                        throws java.lang.CloneNotSupportedException
        Returns a copy of this state object. The implementation should also clone the object returned by getCanvasParameterAccessor().
        Throws:
        java.lang.CloneNotSupportedException
      • equals

        boolean equals(java.lang.Object object)
        Determines if the given object is the same type of Canvas state object and has values equal to this one. As part of the test, the implementation should also test equivalency of the object returned by getCanvasParameterAccessor().
        Overrides:
        equals in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.