|
JHotDraw 7.5.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.beans.AbstractBean
org.jhotdraw.draw.tool.AbstractTool
org.jhotdraw.draw.tool.BezierTool
org.jhotdraw.samples.svg.PathTool
public class PathTool
Tool to scribble a SVGPath
Field Summary |
---|
Fields inherited from class org.jhotdraw.draw.tool.BezierTool |
---|
attributes, createdFigure |
Fields inherited from class org.jhotdraw.draw.tool.AbstractTool |
---|
anchor, editor, isWorking, listenerList |
Fields inherited from class org.jhotdraw.beans.AbstractBean |
---|
propertySupport |
Constructor Summary | |
---|---|
PathTool(SVGPathFigure pathPrototype,
SVGBezierFigure bezierPrototype)
Creates a new instance. |
|
PathTool(SVGPathFigure pathPrototype,
SVGBezierFigure bezierPrototype,
java.util.Map<AttributeKey,java.lang.Object> attributes)
Creates a new instance. |
Method Summary | |
---|---|
protected SVGPathFigure |
createPath()
|
protected void |
finishCreation(BezierFigure createdFigure,
DrawingView creationView)
|
Methods inherited from class org.jhotdraw.draw.tool.BezierTool |
---|
activate, addPointToFigure, calculateFittedCurve, createFigure, deactivate, draw, fireUndoEvent, getAddedFigure, getCreatedFigure, getPresentationName, isToolDoneAfterCreation, mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, setToolDoneAfterCreation |
Methods inherited from class org.jhotdraw.beans.AbstractBean |
---|
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathTool(SVGPathFigure pathPrototype, SVGBezierFigure bezierPrototype)
public PathTool(SVGPathFigure pathPrototype, SVGBezierFigure bezierPrototype, java.util.Map<AttributeKey,java.lang.Object> attributes)
Method Detail |
---|
protected SVGPathFigure createPath()
protected void finishCreation(BezierFigure createdFigure, DrawingView creationView)
finishCreation
in class BezierTool
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |