org.opengis.go.display.canvas
Interface CanvasState
-
- All Known Subinterfaces:
- Map2DState
public interface CanvasStateInstances of this interface (and its sub-interfaces) describe the current state of aCanvas. 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
Canvasmethods, 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.Objectclone()Returns a copy of this state object.booleanequals(java.lang.Object object)Determines if the given object is the same type of Canvas state object and has values equal to this one.DirectPositiongetCenter()Returns the position of the center pixel of this Canvas.java.lang.StringgetTitle()Returns the title of theCanvas.
-
-
-
Method Detail
-
getTitle
java.lang.String getTitle()
Returns the title of theCanvas.
-
getCenter
DirectPosition getCenter()
Returns the position of the center pixel of this Canvas.
-
clone
java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionReturns a copy of this state object. The implementation should also clone the object returned bygetCanvasParameterAccessor().- 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 bygetCanvasParameterAccessor().- Overrides:
equalsin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG