public class IJBezierTool extends BezierTool implements JHotDrawTool
BezierTool
for ImageJ's Swing UI.attributes, createdFigure
anchor, editor, isWorking, listenerList
propertySupport
Constructor and Description |
---|
IJBezierTool(ImageDisplay display,
JHotDrawAdapter<BezierFigure> adapter) |
Modifier and Type | Method and Description |
---|---|
protected BezierFigure |
createFigure() |
protected void |
finishCreation(BezierFigure figure,
DrawingView drawingView) |
JHotDrawAdapter<BezierFigure> |
getAdapter()
Gets the
JHotDrawAdapter associated with this JHotDraw tool. |
ImageDisplay |
getDisplay()
Gets the
ImageDisplay associated with this JHotDraw tool. |
boolean |
isConstructing() |
activate, addPointToFigure, calculateFittedCurve, deactivate, draw, fireUndoEvent, getAddedFigure, getCreatedFigure, getPresentationName, isToolDoneAfterCreation, mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, setToolDoneAfterCreation
addToolListener, addUndoableEditListener, constrainPoint, constrainPoint, createActionMap, createInputMap, editCopy, editCut, editDelete, editDuplicate, editPaste, fireAreaInvalidated, fireAreaInvalidated, fireBoundsInvalidated, fireToolDone, fireToolStarted, getActionMap, getDrawing, getEditor, getInputMap, getToolTipText, getView, isActive, keyPressed, keyReleased, keyTyped, maybeFireBoundsInvalidated, mouseEntered, mouseExited, removeToolListener, removeUndoableEditListener, setActionMap, setInputMap, supportsHandleInteraction, updateCursor, viewToDrawing
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addUndoableEditListener, removeUndoableEditListener, setActionMap, setInputMap
activate, addToolListener, deactivate, draw, editCopy, editCut, editDelete, editDuplicate, editPaste, getToolTipText, removeToolListener, supportsHandleInteraction
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
mouseDragged, mouseMoved
keyPressed, keyReleased, keyTyped
public IJBezierTool(ImageDisplay display, JHotDrawAdapter<BezierFigure> adapter)
protected BezierFigure createFigure()
createFigure
in class BezierTool
protected void finishCreation(BezierFigure figure, DrawingView drawingView)
finishCreation
in class BezierTool
public ImageDisplay getDisplay()
JHotDrawTool
ImageDisplay
associated with this JHotDraw tool.getDisplay
in interface JHotDrawTool
public JHotDrawAdapter<BezierFigure> getAdapter()
JHotDrawTool
JHotDrawAdapter
associated with this JHotDraw tool.getAdapter
in interface JHotDrawTool
public boolean isConstructing()
isConstructing
in interface JHotDrawTool
Copyright © 2014–2022 ImageJ. All rights reserved.