public class MagicWandInteractor extends 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(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 Interactor
activate
in class AbstractInteractor
public void deactivate()
deactivate
in interface Interactor
deactivate
in class AbstractInteractor
public void mouseClicked(MouseEvent event)
mouseClicked
in interface MouseListener
mouseClicked
in class AbstractInteractor
public MagicWandModel getModel()
public void setUndoContext(UndoContext undoContext)
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.