Package com.bc.ceres.swing.figure
Class FigureEditorInteractor
- java.lang.Object
-
- com.bc.ceres.swing.figure.AbstractInteractor
-
- com.bc.ceres.swing.figure.ViewportInteractor
-
- com.bc.ceres.swing.figure.FigureEditorInteractor
-
- All Implemented Interfaces:
Interactor
,KeyListener
,MouseListener
,MouseMotionListener
,EventListener
- Direct Known Subclasses:
InsertLineFigureInteractor
,InsertMultiPointFigureInteractor
,InsertRectangularFigureInteractor
,SelectionInteractor
public abstract class FigureEditorInteractor extends ViewportInteractor
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FigureEditorInteractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FigureEditor
getFigureEditor(InputEvent inputEvent)
protected Viewport
getViewport(InputEvent inputEvent)
-
Methods inherited from class com.bc.ceres.swing.figure.ViewportInteractor
getModelToViewTransform, getViewToModelTransform, toModelPoint, toModelPoint, toModelShape
-
Methods inherited from class com.bc.ceres.swing.figure.AbstractInteractor
activate, addListener, cancelInteraction, deactivate, getCursor, getListeners, isActive, isLeftMouseButtonDown, isMultiButton1Click, isSingleButton1Click, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, removeListener, startInteraction, stopInteraction
-
-
-
-
Method Detail
-
getFigureEditor
public FigureEditor getFigureEditor(InputEvent inputEvent)
-
getViewport
protected Viewport getViewport(InputEvent inputEvent)
- Overrides:
getViewport
in classViewportInteractor
-
-