org.opengis.go.display.canvas
Interface CanvasState

All Known Subinterfaces:
Map2DState

Deprecated. Moved to org.opengis.display.canvas.

@Deprecated
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
 CanvasState clone()
          Deprecated. This is left to implementor.
 boolean equals(Object object)
          Deprecated. This is left to implementor.
 DirectPosition getCenter()
          Deprecated. Returns the position of the center pixel of this Canvas.
 String getTitle()
          Deprecated. Returns the title of the Canvas.
 

Method Detail

getTitle

String getTitle()
Deprecated. 
Returns the title of the Canvas.


getCenter

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


clone

@Deprecated
CanvasState clone()
                  throws CloneNotSupportedException
Deprecated. This is left to implementor.

Returns a copy of this state object. The implementation should also clone the object returned by getCanvasParameterAccessor().

Throws:
CloneNotSupportedException

equals

@Deprecated
boolean equals(Object object)
Deprecated. This is left to implementor.

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 Object


Copyright © 1994-2009 Open Geospatial Consortium. All Rights Reserved.