Package com.bc.ceres.glayer.swing
Class DefaultLayerCanvasModel
- java.lang.Object
-
- com.bc.ceres.glayer.swing.DefaultLayerCanvasModel
-
- All Implemented Interfaces:
LayerCanvasModel
public class DefaultLayerCanvasModel extends Object implements LayerCanvasModel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.bc.ceres.glayer.swing.LayerCanvasModel
LayerCanvasModel.ChangeListener
-
-
Constructor Summary
Constructors Constructor Description DefaultLayerCanvasModel()
DefaultLayerCanvasModel(Layer layer, Viewport viewport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChangeListener(LayerCanvasModel.ChangeListener listener)
Layer
getLayer()
Viewport
getViewport()
void
removeChangeListener(LayerCanvasModel.ChangeListener listener)
-
-
-
Method Detail
-
getLayer
public Layer getLayer()
- Specified by:
getLayer
in interfaceLayerCanvasModel
-
getViewport
public Viewport getViewport()
- Specified by:
getViewport
in interfaceLayerCanvasModel
-
addChangeListener
public void addChangeListener(LayerCanvasModel.ChangeListener listener)
- Specified by:
addChangeListener
in interfaceLayerCanvasModel
-
removeChangeListener
public void removeChangeListener(LayerCanvasModel.ChangeListener listener)
- Specified by:
removeChangeListener
in interfaceLayerCanvasModel
-
-