JHotDraw 6.0b1

org.jhotdraw.samples.pert
Class PertFigureCreationTool

java.lang.Object
  extended by org.jhotdraw.standard.AbstractTool
      extended by org.jhotdraw.standard.CreationTool
          extended by org.jhotdraw.samples.pert.PertFigureCreationTool
All Implemented Interfaces:
Tool

public class PertFigureCreationTool
extends CreationTool

A more efficient version of the generic Pert creation tool that is not based on cloning.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.standard.AbstractTool
AbstractTool.EventDispatcher
 
Constructor Summary
PertFigureCreationTool(DrawingEditor newDrawingEditor)
           
 
Method Summary
protected  Figure createFigure()
          Creates a new PertFigure.
 
Methods inherited from class org.jhotdraw.standard.CreationTool
activate, createUndoActivity, deactivate, getAddedFigure, getAddedFigures, getCreatedFigure, getPrototypeFigure, mouseDown, mouseDrag, mouseUp, setAddedFigure, setAddedFigures, setCreatedFigure, setPrototypeFigure
 
Methods inherited from class org.jhotdraw.standard.AbstractTool
addToolListener, checkUsable, createEventDispatcher, createViewChangeListener, drawing, editor, getActiveDrawing, getActiveView, getAnchorX, getAnchorY, getEventDispatcher, getUndoActivity, isActive, isEnabled, isUsable, keyDown, mouseMove, removeToolListener, setAnchorX, setAnchorY, setEditor, setEnabled, setUndoActivity, setUsable, setView, view, viewCreated, viewDestroying, viewSelectionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PertFigureCreationTool

public PertFigureCreationTool(DrawingEditor newDrawingEditor)
Method Detail

createFigure

protected Figure createFigure()
Creates a new PertFigure.

Overrides:
createFigure in class CreationTool

JHotDraw 6.0b1