org.opengis.go.display.canvas
Interface CanvasHandler
-
public interface CanvasHandlerTheCanvasHandlerinterface provides programmers with a mechanism to changeCanvasproperties. When a handler is passed in toCanvas.enableHandler(CanvasHandler), theCanvaswill give it the activeCanvasController. The active controller allows the handler to change the canvas, until the handler is removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidhandlerEnabled(CanvasController controller)Enables thisCanvasHandler, giving it the activeCanvasControllerand thus the ability to modify theCanvasthat enabled it.voidhandlerRemoved()Removes thisCanvasHandler, meaning that calling methods on itsCanvasControllerwill no longer affect theCanvas.
-
-
-
Method Detail
-
handlerEnabled
void handlerEnabled(CanvasController controller)
Enables thisCanvasHandler, giving it the activeCanvasControllerand thus the ability to modify theCanvasthat enabled it.- Parameters:
controller- the activeCanvasController.
-
handlerRemoved
void handlerRemoved()
Removes thisCanvasHandler, meaning that calling methods on itsCanvasControllerwill no longer affect theCanvas. ACanvasHandlershould never attempt to re-enable itself after it has been removed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG