Package org.esa.snap.rcp.placemark
Class InsertPlacemarkInteractor
java.lang.Object
com.bc.ceres.swing.figure.AbstractInteractor
com.bc.ceres.swing.figure.ViewportInteractor
com.bc.ceres.swing.figure.FigureEditorInteractor
org.esa.snap.rcp.placemark.InsertPlacemarkInteractor
- All Implemented Interfaces:
com.bc.ceres.swing.figure.Interactor,KeyListener,MouseListener,MouseMotionListener,EventListener
- Direct Known Subclasses:
InsertGcpInteractor,InsertPinInteractor
public abstract class InsertPlacemarkInteractor
extends com.bc.ceres.swing.figure.FigureEditorInteractor
Interactor fort inserting pins and GCPs.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInsertPlacemarkInteractor(PlacemarkDescriptor placemarkDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidmousePressed(MouseEvent event) voidmouseReleased(MouseEvent event) protected abstract voidupdatePlacemarkStyle(Placemark placemark, String defaultStyleCss) Methods inherited from class com.bc.ceres.swing.figure.FigureEditorInteractor
getFigureEditor, getViewportMethods inherited from class com.bc.ceres.swing.figure.ViewportInteractor
getModelToViewTransform, getViewToModelTransform, toModelPoint, toModelPoint, toModelShapeMethods inherited from class com.bc.ceres.swing.figure.AbstractInteractor
activate, addListener, cancelInteraction, deactivate, getListeners, isActive, isLeftMouseButtonDown, isMultiButton1Click, isSingleButton1Click, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, removeListener, startInteraction, stopInteraction
-
Constructor Details
-
InsertPlacemarkInteractor
-
-
Method Details
-
getCursor
- Specified by:
getCursorin interfacecom.bc.ceres.swing.figure.Interactor- Overrides:
getCursorin classcom.bc.ceres.swing.figure.AbstractInteractor
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classcom.bc.ceres.swing.figure.AbstractInteractor
-
getPlacemarkDescriptor
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classcom.bc.ceres.swing.figure.AbstractInteractor
-
insertPlacemark
-
updatePlacemarkStyle
-