public class MagicWandInteractor extends com.bc.ceres.swing.figure.ViewportInteractor implements MagicWandModel.Listener
Constructor and Description |
---|
MagicWandInteractor() |
Modifier and Type | Method and Description |
---|---|
boolean |
activate() |
void |
deactivate() |
MagicWandModel |
getModel() |
Window |
getOptionsWindow() |
boolean |
isModelModified() |
void |
modelChanged(MagicWandModel model,
boolean recomputeMask) |
void |
mouseClicked(MouseEvent event) |
void |
setModelModified(boolean modelModified) |
void |
setUndoContext(com.bc.ceres.swing.undo.UndoContext undoContext) |
getModelToViewTransform, getViewport, getViewToModelTransform, toModelPoint, toModelPoint, toModelShape
addListener, cancelInteraction, getCursor, getListeners, isActive, isLeftMouseButtonDown, isMultiButton1Click, isSingleButton1Click, keyPressed, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, removeListener, startInteraction, stopInteraction
public boolean isModelModified()
public void setModelModified(boolean modelModified)
public void modelChanged(MagicWandModel model, boolean recomputeMask)
modelChanged
in interface MagicWandModel.Listener
public Window getOptionsWindow()
public boolean activate()
activate
in interface com.bc.ceres.swing.figure.Interactor
activate
in class com.bc.ceres.swing.figure.AbstractInteractor
public void deactivate()
deactivate
in interface com.bc.ceres.swing.figure.Interactor
deactivate
in class com.bc.ceres.swing.figure.AbstractInteractor
public void mouseClicked(MouseEvent event)
mouseClicked
in interface MouseListener
mouseClicked
in class com.bc.ceres.swing.figure.AbstractInteractor
public MagicWandModel getModel()
public void setUndoContext(com.bc.ceres.swing.undo.UndoContext undoContext)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.