org.opengis.go.display.canvas
Interface CanvasController
-
- All Known Subinterfaces:
- Map2DController
public interface CanvasControllerTheCanvasControllerinterface serves as the token in theCanvasController <--> Canvasinteraction. When theCanvasenables aCanvasHandler, it callshandlerEnabled(CanvasController)on theCanvasHandler. TheCanvasControllermay then be used by the programmer to set some of the properties of the associatedCanvas. TheCanvasControllerwill be active until anotherCanvasHandleris enabled. TheCanvasController's methods (in an implementation-specific interaction with theCanvas) should only set theCanvas's properties IFF theCanvasControlleris recognized to be the active controller (the controller given out by the canvas when the most recent handler was enabled).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidsetCenter(DirectPosition newCenter)Sets the position of the center pixel of theCanvasthis controller works for, if it is the active controller.
-
-
-
Method Detail
-
setCenter
void setCenter(DirectPosition newCenter)
Sets the position of the center pixel of theCanvasthis controller works for, if it is the active controller.- See Also:
CanvasState.getCenter()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG