JHotDraw 7.0.6

Uses of Interface
org.jhotdraw.draw.Figure

Packages that use Figure
org.jhotdraw.draw Defines a framework for drawing editors. 
org.jhotdraw.draw.action Provides Action objects for drawing editors as well as some specific user interface components to present them on a graphical user interface. 
org.jhotdraw.samples.net.figures Provides the NodeFigure for network diagrams. 
org.jhotdraw.samples.pert.figures Provides the figurs for PERT diagrams. 
org.jhotdraw.samples.svg A sample drawing editor with limited support for Scalable Vector Graphics Mobile 1.2 (SVG Mobile 1.2). 
org.jhotdraw.samples.svg.action Provides actions for editing SVG drawings. 
org.jhotdraw.samples.svg.figures Provides the figures for the SVG basic shapes. 
 

Uses of Figure in org.jhotdraw.draw
 

Subinterfaces of Figure in org.jhotdraw.draw
 interface CompositeFigure
          A CompositeFigure is composed of several child Figures.
 interface ConnectionFigure
          Figures to connect Connectors provided by Figures.
 interface TextHolder
          TextHolder.
 

Classes in org.jhotdraw.draw that implement Figure
 class AbstractAttributedCompositeFigure
          An AbstractAttributedCompositeFigure is a CompositeFigure which has its own attribute set.
 class AbstractCompositeFigure
          A Figure that is composed of several children.
 class AbstractFigure
          AbstractFigure provides the functionality for managing listeners for a Figure.
 class AttributedFigure
          A figure that can keep track of an open ended set of attributes.
 class BezierFigure
          A BezierFigure can be used to draw arbitrary shapes using a BezierPath.
 class BorderRectangleFigure
          BorderRectangle2D.DoubleFigure.
 class DiamondFigure
          A diamond with vertices at the midpoints of its enclosing rectangle.
 class EllipseFigure
          EllipseFigure.
 class GraphicalCompositeFigure
          The GraphicalCompositeFigure fills in the gap between a AbstractCompositeFigure and other figures which mainly have a presentation purpose.
 class GroupFigure
          A Figure that groups a collection of figures.
 class LabeledLineConnectionFigure
          A LineConnection with labels.
 class LabelFigure
          LabelFigure.
 class LineConnectionFigure
          A LineConnection is a standard implementation of the ConnectionFigure interface.
 class LineFigure
          LineFigure.
 class ListFigure
          A ListFigure consists of a list of Figures and a RectangleFigure.
 class RectangleFigure
          RectangleFigure.
 class RoundRectangleFigure
          A Rectangle2D.Double with round corners.
 class TextAreaFigure
          A TextAreaFigure contains formatted text.
It automatically rearranges the text to fit its allocated display area, breaking the lines at word boundaries whenever possible.
The text can contain either LF or CRLF sequences to separate paragraphs, as well as tab characters for table like formatting and alignment.
Currently the tabs are distributed at regular intervals as determined by the TabSize property.
 class TextFigure
          A text figure.
 class TriangleFigure
          A triangle with same dimensions as its enclosing rectangle, and apex at any of 8 places
 

Fields in org.jhotdraw.draw declared as Figure
protected  Figure CreationTool.createdFigure
          The created figure.
protected  Figure AbstractFigure.decorator
           
 

Methods in org.jhotdraw.draw that return Figure
 Figure LabeledLineConnectionFigure.basicRemoveChild(int index)
           
 Figure CompositeFigure.basicRemoveChild(int index)
          Removes the child at the specified index without firing events.
 Figure AbstractCompositeFigure.basicRemoveChild(int index)
           
protected  Figure CreationTool.createFigure()
           
 Figure AbstractCompositeFigure.findChild(java.awt.geom.Point2D.Double p)
           
protected  Figure ConnectionTool.findConnectableFigure(java.awt.geom.Point2D.Double p, Drawing drawing)
           
protected  Figure ConnectionTool.findConnectionStart(java.awt.geom.Point2D.Double p, Drawing drawing)
          Finds a connection start figure.
protected  Figure BidirectionalConnectionTool.findConnectionStart(java.awt.geom.Point2D.Double p, Drawing drawing)
          Finds a connection start figure.
 Figure DrawingView.findFigure(java.awt.Point p)
          Finds a figure at the given point.
 Figure DefaultDrawingView.findFigure(java.awt.Point p)
          Finds a figure at a given coordinates.
 Figure QuadTreeDrawing.findFigure(java.awt.geom.Point2D.Double p)
           
 Figure Drawing.findFigure(java.awt.geom.Point2D.Double p)
          Finds a top level Figure.
 Figure DefaultDrawing.findFigure(java.awt.geom.Point2D.Double p)
           
 Figure QuadTreeDrawing.findFigureExcept(java.awt.geom.Point2D.Double p, java.util.Collection ignore)
           
 Figure Drawing.findFigureExcept(java.awt.geom.Point2D.Double p, java.util.Collection<Figure> ignore)
          Finds a top level Figure.
 Figure DefaultDrawing.findFigureExcept(java.awt.geom.Point2D.Double p, java.util.Collection<Figure> ignore)
           
 Figure QuadTreeDrawing.findFigureExcept(java.awt.geom.Point2D.Double p, Figure ignore)
           
 Figure Drawing.findFigureExcept(java.awt.geom.Point2D.Double p, Figure ignore)
          Finds a top level Figure.
 Figure DefaultDrawing.findFigureExcept(java.awt.geom.Point2D.Double p, Figure ignore)
           
 Figure QuadTreeDrawing.findFigureInside(java.awt.geom.Point2D.Double p)
           
 Figure LabeledLineConnectionFigure.findFigureInside(java.awt.geom.Point2D.Double p)
           
 Figure Figure.findFigureInside(java.awt.geom.Point2D.Double p)
          Returns the figure that contains the given point.
 Figure Drawing.findFigureInside(java.awt.geom.Point2D.Double p)
          Finds a figure but descends into a figure's children.
 Figure DefaultDrawing.findFigureInside(java.awt.geom.Point2D.Double p)
           
 Figure AbstractFigure.findFigureInside(java.awt.geom.Point2D.Double p)
           
 Figure AbstractCompositeFigure.findFigureInside(java.awt.geom.Point2D.Double p)
           
protected  Figure ConnectionTool.findSource(java.awt.geom.Point2D.Double p, Drawing drawing)
          Finds a connectable figure target.
protected  Figure BidirectionalConnectionTool.findSource(java.awt.geom.Point2D.Double p, Drawing drawing)
          Finds a connectable figure target.
protected  Figure ConnectionTool.findTarget(java.awt.geom.Point2D.Double p, Drawing drawing)
          Finds a connectable figure target.
protected  Figure BidirectionalConnectionTool.findTarget(java.awt.geom.Point2D.Double p, Drawing drawing)
          Finds a connectable figure target.
protected  Figure CreationTool.getAddedFigure()
           
protected  Figure BezierTool.getAddedFigure()
           
 Figure LabeledLineConnectionFigure.getChild(int index)
           
 Figure CompositeFigure.getChild(int index)
          Returns the child figure at the specified index.
 Figure AbstractCompositeFigure.getChild(int index)
           
protected  Figure AbstractConnector.getConnectorTarget(Figure f)
           
protected  Figure CreationTool.getCreatedFigure()
           
protected  Figure ConnectionTool.getCreatedFigure()
          Gets the figure that was actually added Note, this can be a different figure from the one which has been created.
protected  Figure BidirectionalConnectionTool.getCreatedFigure()
          Gets the figure that was actually added Note, this can be a different figure from the one which has been created.
protected  Figure BezierTool.getCreatedFigure()
           
 Figure Figure.getDecorator()
          Gets the decorator figure.
 Figure AbstractFigure.getDecorator()
           
 Figure LineConnectionFigure.getEndFigure()
           
 Figure ConnectionFigure.getEndFigure()
          Gets the end figure of the connection.
 Figure FigureEvent.getFigure()
          Gets the changed figure
 Figure DrawingEvent.getFigure()
          Gets the changed figure.
 Figure Handle.getOwner()
          Returns the owner of this handle.
 Figure Connector.getOwner()
          Gets the connector's owner.
 Figure AbstractHandle.getOwner()
           
 Figure AbstractConnector.getOwner()
          Gets the connector's owner.
 Figure GraphicalCompositeFigure.getPresentationFigure()
          Get a figure which renders this AbstractCompositeFigure.
 Figure CreationTool.getPrototype()
           
 Figure LineConnectionFigure.getStartFigure()
           
 Figure ConnectionFigure.getStartFigure()
          Gets the start figure of the connection.
protected  Figure ConnectionTool.getTargetFigure()
           
protected  Figure ConnectionHandle.getTargetFigure()
           
protected  Figure ChangeConnectionHandle.getTargetFigure()
           
protected  Figure BidirectionalConnectionTool.getTargetFigure()
           
 Figure LabeledLineConnectionFigure.removeChild(int index)
           
 Figure CompositeFigure.removeChild(int index)
          Removes the child at the specified index.
 Figure AbstractCompositeFigure.removeChild(int index)
           
 

Methods in org.jhotdraw.draw that return types with arguments of type Figure
 java.util.Collection<Figure> DrawingView.findFigures(java.awt.Rectangle r)
          Returns all figures that lie within or intersect the specified bounds.
 java.util.Collection<Figure> DefaultDrawingView.findFigures(java.awt.Rectangle r)
           
 java.util.Collection<Figure> QuadTreeDrawing.findFigures(java.awt.geom.Rectangle2D.Double r)
           
 java.util.Collection<Figure> Drawing.findFigures(java.awt.geom.Rectangle2D.Double bounds)
          Returns all figures that lie within or intersect the specified bounds.
 java.util.Collection<Figure> DefaultDrawing.findFigures(java.awt.geom.Rectangle2D.Double bounds)
           
 java.util.Collection<Figure> DrawingView.findFiguresWithin(java.awt.Rectangle r)
          Returns all figures that lie within the specified bounds.
 java.util.Collection<Figure> DefaultDrawingView.findFiguresWithin(java.awt.Rectangle r)
           
 java.util.Collection<Figure> QuadTreeDrawing.findFiguresWithin(java.awt.geom.Rectangle2D.Double r)
           
 java.util.Collection<Figure> Drawing.findFiguresWithin(java.awt.geom.Rectangle2D.Double bounds)
          Returns all figures that lie within the specified bounds.
 java.util.Collection<Figure> DefaultDrawing.findFiguresWithin(java.awt.geom.Rectangle2D.Double bounds)
           
 java.util.List<Figure> LabeledLineConnectionFigure.getChildren()
           
 java.util.List<Figure> CompositeFigure.getChildren()
          Returns an unchangeable list view on the children.
 java.util.List<Figure> AbstractCompositeFigure.getChildren()
           
 java.util.List<Figure> LabeledLineConnectionFigure.getChildrenFrontToBack()
          Returns an iterator to iterate in Z-order front to back over the children.
 java.util.List<Figure> AbstractCompositeFigure.getChildrenFrontToBack()
          Returns an iterator to iterate in Z-order front to back over the children.
 java.util.Collection<Figure> Figure.getDecomposition()
          Returns a decompositon of a figure into its parts.
 java.util.Collection<Figure> AbstractFigure.getDecomposition()
           
 java.util.Collection<Figure> AbstractCompositeFigure.getDecomposition()
           
 java.util.Collection<Figure> QuadTreeDrawing.getFigures()
           
 java.util.Collection<Figure> Drawing.getFigures()
          Returns the figures of the drawing.
 java.util.Collection<Figure> DefaultDrawing.getFigures()
           
 java.util.Collection<Figure> QuadTreeDrawing.getFigures(java.awt.geom.Rectangle2D.Double bounds)
           
 java.util.List<Figure> QuadTreeDrawing.getFiguresFrontToBack()
          Returns an iterator to iterate in Z-order front to back over the figures.
 java.util.List<Figure> Drawing.getFiguresFrontToBack()
          Returns a list of the figures in Z-Order from front to back.
 java.util.List<Figure> DefaultDrawing.getFiguresFrontToBack()
          Returns an iterator to iterate in Z-order front to back over the figures.
 java.util.Collection<Figure> DrawingView.getSelectedFigures()
          Gets the current selection as a FigureSelection.
 java.util.Collection<Figure> DefaultDrawingView.getSelectedFigures()
          Gets the current selection as a FigureSelection.
 java.util.Collection<Figure> QuadTreeDrawing.sort(java.util.Collection<Figure> c)
          Implementation note: Sorting can not be done for orphaned figures.
 java.util.Collection<Figure> Drawing.sort(java.util.Collection<Figure> figures)
          Returns a copy of the provided collection which is sorted in z order from back to front.
 java.util.Collection<Figure> DefaultDrawing.sort(java.util.Collection<Figure> c)
           
 

Methods in org.jhotdraw.draw with parameters of type Figure
 void LabeledLineConnectionFigure.add(Figure figure)
           
 void Drawing.add(Figure figure)
          Adds a figure to the drawing.
 void CompositeFigure.add(Figure child)
          Adds a child to the figure.
 void AbstractDrawing.add(Figure figure)
          Calls basicAdd and then calls figure.addNotify and firesFigureAdded.
 void AbstractCompositeFigure.add(Figure figure)
           
 void LabeledLineConnectionFigure.add(int index, Figure figure)
           
 void CompositeFigure.add(int index, Figure child)
          Adds a child to the figure at the specified index.
 void AbstractCompositeFigure.add(int index, Figure figure)
           
static void BoxHandleKit.addBoxHandles(Figure f, java.util.Collection<Handle> handles)
          Fills the given Vector with handles at each the north, south, east, and west of the figure.
static void BoxHandleKit.addEdgeHandles(Figure f, java.util.Collection<Handle> handles)
          Fills the given Vector with handles at each the north, south, east, and west of the figure.
static void NullHandle.addLeadHandles(Figure f, java.util.Collection<Handle> handles)
          Creates handles for each lead of a figure and adds them to the provided collection.
static void BoxHandleKit.addLeadHandles(Figure f, java.util.Collection<Handle> handles)
          Creates handles for each lead of a figure and adds them to the provided collection.
static void MoveHandle.addMoveHandles(Figure f, java.util.Collection<Handle> handles)
          Creates handles for each corner of a figure and adds them to the provided collection.
 void DrawingView.addToSelection(Figure figure)
          Adds a figure to the current selection.
 void DefaultDrawingView.addToSelection(Figure figure)
          Adds a figure to the current selection.
protected  void GraphicalCompositeFigure.applyAttributesTo(Figure that)
          Applies all attributes of this figure to that figure.
protected  void AttributedFigure.applyAttributesTo(Figure that)
          Applies all attributes of this figure to that figure.
protected  void AbstractAttributedCompositeFigure.applyAttributesTo(Figure that)
          Applies all attributes of this figure to that figure.
 void DrawingEditor.applyDefaultAttributesTo(Figure f)
          Applies the default attributes to the specified figure.
 void DefaultDrawingEditor.applyDefaultAttributesTo(Figure f)
           
 void LabeledLineConnectionFigure.basicAdd(Figure figure)
           
 void Drawing.basicAdd(Figure figure)
          Reinserts a figure which was temporarily removed using basicRemove.
 void CompositeFigure.basicAdd(Figure child)
          Adds a child to the figure without firing events.
 void AbstractDrawing.basicAdd(Figure figure)
           
 void AbstractCompositeFigure.basicAdd(Figure figure)
           
 void QuadTreeDrawing.basicAdd(int index, Figure figure)
           
 void LabeledLineConnectionFigure.basicAdd(int index, Figure figure)
           
 void Drawing.basicAdd(int index, Figure figure)
          Reinserts a figure which was temporarily removed using basicRemove.
 void DefaultDrawing.basicAdd(int index, Figure figure)
           
 void CompositeFigure.basicAdd(int index, Figure child)
          Adds a child to the figure at the specified index without firing events.
 void AbstractCompositeFigure.basicAdd(int index, Figure figure)
           
 void QuadTreeDrawing.basicRemove(Figure figure)
           
 boolean LabeledLineConnectionFigure.basicRemove(Figure figure)
           
 void Drawing.basicRemove(Figure figure)
          Removes a figure temporarily from the drawing.
 void DefaultDrawing.basicRemove(Figure figure)
           
 boolean CompositeFigure.basicRemove(Figure child)
          Removes the specified child without firing events.
 boolean AbstractCompositeFigure.basicRemove(Figure figure)
           
 void AttributeKey.basicSet(Figure f, T value)
           
 void QuadTreeDrawing.bringToFront(Figure figure)
           
 void Drawing.bringToFront(Figure figure)
          Brings a figure to the front.
 void DefaultDrawing.bringToFront(Figure figure)
           
 boolean LineConnectionFigure.canConnect(Figure start)
           
protected  boolean ConnectionTool.canConnect(Figure start)
           
 boolean ConnectionFigure.canConnect(Figure start)
          Checks if this ConnectionFigure can be attached to the provided start figure.
 boolean LineConnectionFigure.canConnect(Figure start, Figure end)
           
protected  boolean ConnectionTool.canConnect(Figure start, Figure end)
           
 boolean ConnectionFigure.canConnect(Figure start, Figure end)
          Checks if two figures can be connected using this ConnectionFigure.
protected  boolean ChangeConnectionStartHandle.canConnect(Figure existingEnd, Figure targetEnd)
           
protected abstract  boolean ChangeConnectionHandle.canConnect(Figure existingEnd, Figure targetEnd)
           
protected  boolean ChangeConnectionEndHandle.canConnect(Figure existingEnd, Figure targetEnd)
           
protected  java.awt.geom.Point2D.Double StickyChopConnector.chop(Figure target, java.awt.geom.Point2D.Double from)
           
protected  java.awt.geom.Point2D.Double ChopTriangleConnector.chop(Figure target, java.awt.geom.Point2D.Double from)
           
protected  java.awt.geom.Point2D.Double ChopRoundRectConnector.chop(Figure target, java.awt.geom.Point2D.Double from)
           
protected  java.awt.geom.Point2D.Double ChopEllipseConnector.chop(Figure target, java.awt.geom.Point2D.Double from)
           
protected  java.awt.geom.Point2D.Double ChopDiamondConnector.chop(Figure target, java.awt.geom.Point2D.Double from)
          Return an appropriate connection point on the edge of a diamond figure
protected  java.awt.geom.Point2D.Double ChopBoxConnector.chop(Figure target, java.awt.geom.Point2D.Double from)
           
protected  java.awt.geom.Point2D.Double ChopBezierConnector.chop(Figure target, java.awt.geom.Point2D.Double from)
           
 int FigureLayerComparator.compare(Figure f1, Figure f2)
           
 boolean QuadTreeDrawing.contains(Figure f)
           
 boolean Drawing.contains(Figure f)
          Returns true if this drawing contains the specified figure.
 boolean DefaultDrawing.contains(Figure f)
           
protected  Tool SelectionTool.createDragTracker(Figure f)
          Factory method to create a Drag tracker.
 void LineDecoration.draw(java.awt.Graphics2D g, Figure f, java.awt.geom.Point2D.Double p1, java.awt.geom.Point2D.Double p2)
          Draws the decoration in the direction specified by the two Points.
 void AbstractLineDecoration.draw(java.awt.Graphics2D g, Figure f, java.awt.geom.Point2D.Double p1, java.awt.geom.Point2D.Double p2)
          Draws the arrow tip in the direction specified by the given two Points..
static Handle MoveHandle.east(Figure owner)
           
static Handle BoxHandleKit.east(Figure owner)
           
protected  Connector ConnectionTool.findConnector(java.awt.geom.Point2D.Double p, Figure target, ConnectionFigure f)
           
protected  Connector ChangeConnectionHandle.findConnector(java.awt.geom.Point2D.Double p, Figure f, ConnectionFigure prototype)
           
 Figure QuadTreeDrawing.findFigureExcept(java.awt.geom.Point2D.Double p, Figure ignore)
           
 Figure Drawing.findFigureExcept(java.awt.geom.Point2D.Double p, Figure ignore)
          Finds a top level Figure.
 Figure DefaultDrawing.findFigureExcept(java.awt.geom.Point2D.Double p, Figure ignore)
           
protected  void AbstractDrawing.fireFigureAdded(Figure f)
          Notify all listenerList that have registered interest for notification on this event type.
protected  void AbstractDrawing.fireFigureRemoved(Figure f)
          Notify all listenerList that have registered interest for notification on this event type.
 T AttributeKey.get(Figure f)
           
protected  Figure AbstractConnector.getConnectorTarget(Figure f)
           
 double LineDecoration.getDecorationRadius(Figure f)
          Returns the radius of the decorator.
 double AbstractLineDecoration.getDecorationRadius(Figure f)
           
protected  java.awt.geom.GeneralPath GeneralPathTip.getDecoratorPath(Figure f)
           
protected  java.awt.geom.GeneralPath ArrowTip.getDecoratorPath(Figure f)
           
protected abstract  java.awt.geom.GeneralPath AbstractLineDecoration.getDecoratorPath(Figure f)
          Hook method to calculates the path of the decorator.
protected  double GeneralPathTip.getDecoratorPathRadius(Figure f)
           
protected  double ArrowTip.getDecoratorPathRadius(Figure f)
           
protected abstract  double AbstractLineDecoration.getDecoratorPathRadius(Figure f)
          Hook method to calculates the radius of the decorator path.
 java.awt.geom.Rectangle2D.Double LineDecoration.getDrawBounds(Figure f, java.awt.geom.Point2D.Double p1, java.awt.geom.Point2D.Double p2)
          Returns the drawing bounds of the decorator.
 java.awt.geom.Rectangle2D.Double AbstractLineDecoration.getDrawBounds(Figure f, java.awt.geom.Point2D.Double p1, java.awt.geom.Point2D.Double p2)
          Returns the drawing bounds of the decorator.
static java.awt.Font AttributeKeys.getFont(Figure f)
           
static int AttributeKeys.getFontStyle(Figure f)
           
 Insets2DDouble AbstractLayouter.getInsets(Figure child)
           
static double AttributeKeys.getPerpendicularDrawGrowth(Figure f)
          Returns the distance, that a Rectangle needs to grow (or shrink) to draw its shape as specified by the FILL_UNDER_STROKE and STROKE_POSITION attributes of a figure.
static double AttributeKeys.getPerpendicularFillGrowth(Figure f)
          Returns the distance, that a Rectangle needs to grow (or shrink) to fill its shape as specified by the FILL_UNDER_STROKE and STROKE_POSITION attributes of a figure.
static double AttributeKeys.getPerpendicularHitGrowth(Figure f)
          Returns the distance, that a Rectangle needs to grow (or shrink) to make hit detections on a shape as specified by the FILL_UNDER_STROKE and STROKE_POSITION attributes of a figure.
 java.awt.geom.Point2D.Double BezierLabelLocator.getRelativeLabelPoint(BezierFigure owner, Figure label)
          Returns a Point2D.Double on the polyline that is at the provided relative position.
static java.awt.Stroke AttributeKeys.getStroke(Figure f)
           
static double AttributeKeys.getStrokeTotalWidth(Figure f)
          Convenience method for computing the total stroke widht from the STROKE_WIDTH, STROKE_INNER_WIDTH and STROKE_TYPE attributes.
protected  void LineConnectionFigure.handleConnect(Figure start, Figure end)
          Handles the connection of a connection.
protected  void LineConnectionFigure.handleDisconnect(Figure start, Figure end)
          Handles the disconnection of a connection.
 boolean Figure.includes(Figure figure)
          Checks whether the given figure is contained in this figure.
 boolean AbstractFigure.includes(Figure figure)
           
protected  int QuadTreeDrawing.indexOf(Figure figure)
           
protected  int DefaultDrawing.indexOf(Figure figure)
           
protected abstract  int AbstractDrawing.indexOf(Figure figure)
           
 boolean DrawingView.isFigureSelected(Figure checkFigure)
          Test whether a given figure is selected.
 boolean DefaultDrawingView.isFigureSelected(Figure checkFigure)
          Test whether a given figure is selected.
 java.awt.geom.Point2D.Double RelativeLocator.locate(Figure owner)
           
 java.awt.geom.Point2D.Double RelativeDecoratorLocator.locate(Figure owner)
           
 java.awt.geom.Point2D.Double Locator.locate(Figure owner)
          Locates a position on the provided figure.
 java.awt.geom.Point2D.Double FontSizeLocator.locate(Figure owner)
          Locates a position on the provided figure.
 java.awt.geom.Point2D.Double BezierPointLocator.locate(Figure owner)
           
 java.awt.geom.Point2D.Double BezierLabelLocator.locate(Figure owner)
           
 java.awt.geom.Point2D.Double Locator.locate(Figure owner, Figure dependent)
          Locates a position on the provided figure relative to the dependent figure.
 java.awt.geom.Point2D.Double FontSizeLocator.locate(Figure owner, Figure dependent)
           
 java.awt.geom.Point2D.Double BezierLabelLocator.locate(Figure owner, Figure label)
           
 java.awt.geom.Point2D.Double AbstractLocator.locate(Figure owner, Figure dependent)
           
static Handle MoveHandle.north(Figure owner)
           
static Handle BoxHandleKit.north(Figure owner)
           
static Handle MoveHandle.northEast(Figure owner)
           
static Handle BoxHandleKit.northEast(Figure owner)
           
static Handle MoveHandle.northWest(Figure owner)
           
static Handle BoxHandleKit.northWest(Figure owner)
           
 boolean LabeledLineConnectionFigure.remove(Figure figure)
           
 void Drawing.remove(Figure figure)
          Removes a figure from the drawing.
 boolean CompositeFigure.remove(Figure child)
          Removes the specified child.
 void AbstractDrawing.remove(Figure figure)
          Calls basicRemove and then calls figure.addNotify and firesFigureAdded.
 boolean AbstractCompositeFigure.remove(Figure figure)
           
 void DrawingView.removeFromSelection(Figure figure)
          Removes a figure from the selection.
 void DefaultDrawingView.removeFromSelection(Figure figure)
          Removes a figure from the selection.
 void QuadTreeDrawing.sendToBack(Figure figure)
           
 void Drawing.sendToBack(Figure figure)
          Sends a figure to the back of the drawing.
 void DefaultDrawing.sendToBack(Figure figure)
           
 void AbstractCompositeFigure.sendToBack(Figure figure)
          Sends a figure to the back of the composite figure.
 void AbstractCompositeFigure.sendToFront(Figure figure)
          Sends a figure to the front of the drawing.
 void AttributeKey.set(Figure f, T value)
           
 void LabeledLineConnectionFigure.set(int index, Figure child)
           
protected  void ConnectionTool.setCreatedFigure(Figure newCreatedFigure)
           
 void Figure.setDecorator(Figure newValue)
          Sets a decorator figure.
 void AbstractFigure.setDecorator(Figure newValue)
           
protected  void AbstractConnector.setOwner(Figure newValue)
          Sets the connector's owner.
 void GraphicalCompositeFigure.setPresentationFigure(Figure newPresentationFigure)
          Set a figure which renders this AbstractCompositeFigure.
protected  void ConnectionHandle.setTargetFigure(Figure newTargetFigure)
           
protected  void ChangeConnectionHandle.setTargetFigure(Figure newTarget)
           
protected  void DelegationSelectionTool.showPopupMenu(Figure figure, java.awt.Point p, java.awt.Component c)
           
static Handle MoveHandle.south(Figure owner)
           
static Handle BoxHandleKit.south(Figure owner)
           
static Handle MoveHandle.southEast(Figure owner)
           
static Handle BoxHandleKit.southEast(Figure owner)
           
static Handle MoveHandle.southWest(Figure owner)
           
static Handle BoxHandleKit.southWest(Figure owner)
           
 void DrawingView.toggleSelection(Figure figure)
          If a figure isn't selected it is added to the selection.
 void DefaultDrawingView.toggleSelection(Figure figure)
          If a figure isn't selected it is added to the selection.
static Handle MoveHandle.west(Figure owner)
           
static Handle BoxHandleKit.west(Figure owner)
           
 

Method parameters in org.jhotdraw.draw with type arguments of type Figure
 void Drawing.addAll(java.util.Collection<Figure> figures)
          Adds a collection of figures to the drawing.
 void AbstractDrawing.addAll(java.util.Collection<Figure> figures)
           
 void AbstractCompositeFigure.addAll(java.util.Collection<Figure> newFigures)
           
 void DrawingView.addToSelection(java.util.Collection<Figure> figures)
          Adds a collection of figures to the current selection.
 void DefaultDrawingView.addToSelection(java.util.Collection<Figure> figures)
          Adds a collection of figures to the current selection.
 void Drawing.basicAddAll(java.util.Collection<Figure> figures)
          Reinssets the specified figures which were temporarily basicRemoveed from the drawing.
 void AbstractDrawing.basicAddAll(java.util.Collection<Figure> figures)
           
 void AbstractCompositeFigure.basicAddAll(java.util.Collection<Figure> newFigures)
           
 AbstractFigure AbstractFigure.basicClone(java.util.HashMap<Figure,Figure> oldToNew)
           
 AbstractFigure AbstractFigure.basicClone(java.util.HashMap<Figure,Figure> oldToNew)
           
 void Drawing.basicRemoveAll(java.util.Collection<Figure> figures)
          Removes the specified figures temporarily from the drawing.
 void AbstractDrawing.basicRemoveAll(java.util.Collection<Figure> toBeOrphaned)
           
 void QuadTreeDrawing.draw(java.awt.Graphics2D g, java.util.Collection<Figure> c)
           
 void DefaultDrawing.draw(java.awt.Graphics2D g, java.util.Collection<Figure> figures)
           
 Figure Drawing.findFigureExcept(java.awt.geom.Point2D.Double p, java.util.Collection<Figure> ignore)
          Finds a top level Figure.
 Figure DefaultDrawing.findFigureExcept(java.awt.geom.Point2D.Double p, java.util.Collection<Figure> ignore)
           
 boolean Figure.handleDrop(java.awt.geom.Point2D.Double p, java.util.Collection<Figure> droppedFigures, DrawingView view)
          Handles a drop.
 boolean AbstractFigure.handleDrop(java.awt.geom.Point2D.Double p, java.util.Collection<Figure> droppedFigures, DrawingView view)
           
 void LabeledLineConnectionFigure.remap(java.util.HashMap<Figure,Figure> oldToNew)
           
 void LabeledLineConnectionFigure.remap(java.util.HashMap<Figure,Figure> oldToNew)
           
 void GraphicalCompositeFigure.remap(java.util.HashMap<Figure,Figure> oldToNew)
           
 void GraphicalCompositeFigure.remap(java.util.HashMap<Figure,Figure> oldToNew)
           
 void AbstractFigure.remap(java.util.HashMap<Figure,Figure> oldToNew)
           
 void AbstractFigure.remap(java.util.HashMap<Figure,Figure> oldToNew)
           
 void Figure.remap(java.util.Map<Figure,Figure> oldToNew)
          After cloning a collection of figures, the ConnectionFigures contained in this collection still connect to the original figures instead of to the clones.
 void Figure.remap(java.util.Map<Figure,Figure> oldToNew)
          After cloning a collection of figures, the ConnectionFigures contained in this collection still connect to the original figures instead of to the clones.
 void Drawing.removeAll(java.util.Collection<Figure> figures)
          Removes the specified figures from the drawing.
 void AbstractDrawing.removeAll(java.util.Collection<Figure> toBeRemoved)
           
 java.util.Collection<Figure> QuadTreeDrawing.sort(java.util.Collection<Figure> c)
          Implementation note: Sorting can not be done for orphaned figures.
 java.util.Collection<Figure> Drawing.sort(java.util.Collection<Figure> figures)
          Returns a copy of the provided collection which is sorted in z order from back to front.
 java.util.Collection<Figure> DefaultDrawing.sort(java.util.Collection<Figure> c)
           
 

Constructors in org.jhotdraw.draw with parameters of type Figure
AbstractConnector(Figure owner)
          Constructs a connector with the given owner figure.
AbstractHandle(Figure owner)
          Creates a new instance.
AttributeChangeEdit(Figure owner, AttributeKey name, java.lang.Object oldValue, java.lang.Object newValue)
          Creates a new instance.
ChangeConnectionEndHandle(Figure owner)
          Constructs the connection handle for the given start figure.
ChangeConnectionHandle(Figure owner)
          Initializes the change connection handle.
ChangeConnectionStartHandle(Figure owner)
          Constructs the connection handle for the given start figure.
ChopBoxConnector(Figure owner)
           
ChopDiamondConnector(Figure owner)
           
ChopEllipseConnector(Figure owner)
           
ChopRoundRectConnector(Figure owner)
           
CloseHandle(Figure owner)
          Creates a new instance.
ConnectionHandle(Figure owner, Locator locator, ConnectionFigure prototype)
          Creates a new instance.
CreationTool(Figure prototype)
           
CreationTool(Figure prototype, java.util.Map<AttributeKey,java.lang.Object> attributes)
          Creates a new instance.
CreationTool(Figure prototype, java.util.Map<AttributeKey,java.lang.Object> attributes, java.lang.String name)
          Creates a new instance.
DragTracker(Figure figure)
          Creates a new instance.
DrawingEvent(Drawing source, Figure figure, java.awt.geom.Rectangle2D.Double invalidatedArea)
          Constructs an event for the provided Drawing.
FigureEvent(Figure source, AttributeKey attribute, java.lang.Object oldValue, java.lang.Object newValue)
          Constructs an event for the given source Figure.
FigureEvent(Figure source, java.awt.geom.Rectangle2D.Double invalidatedArea)
          Constructs an event for the given source Figure.
GeometryEdit(Figure owner, java.lang.Object oldGeometry, java.lang.Object newGeometry)
          Creates a new instance.
GraphicalCompositeFigure(Figure newPresentationFigure)
          Constructor which creates a GraphicalCompositeFigure with a given graphical figure for presenting it.
ListFigure(Figure presentationFigure)
           
LocatorConnector(Figure owner, Locator l)
           
LocatorHandle(Figure owner, Locator l)
          Initializes the LocatorHandle with the given Locator.
MoveHandle(Figure owner, Locator locator)
          Creates a new instance.
NullHandle(Figure owner, Locator locator)
          Creates a new instance.
RestoreDataEdit(Figure figure, java.lang.Object oldRestoreData)
          Creates a new instance.
RotateHandle(Figure owner)
          Creates a new instance.
RoundRectRadiusHandle(Figure owner)
          Creates a new instance.
StickyChopConnector(Figure owner, java.awt.geom.Point2D.Double p)
           
TextTool(Figure prototype, java.util.Map attributes)
          Creates a new instance.
TransformEdit(Figure figure, java.awt.geom.AffineTransform tx)
          Creates a new instance.
 

Constructor parameters in org.jhotdraw.draw with type arguments of type Figure
TransformEdit(java.util.Collection<Figure> figures, java.awt.geom.AffineTransform tx)
           
 

Uses of Figure in org.jhotdraw.draw.action
 

Methods in org.jhotdraw.draw.action that return types with arguments of type Figure
 java.util.Collection<Figure> UngroupAction.ungroupFigures(DrawingView view, CompositeFigure group)
           
 java.util.Collection<Figure> GroupAction.ungroupFigures(DrawingView view, CompositeFigure group)
           
 

Method parameters in org.jhotdraw.draw.action with type arguments of type Figure
static void MoveToFrontAction.bringToFront(DrawingView view, java.util.Collection<Figure> figures)
           
 void UngroupAction.groupFigures(DrawingView view, CompositeFigure group, java.util.Collection<Figure> figures)
           
 void GroupAction.groupFigures(DrawingView view, CompositeFigure group, java.util.Collection<Figure> figures)
           
 

Uses of Figure in org.jhotdraw.samples.net.figures
 

Classes in org.jhotdraw.samples.net.figures that implement Figure
 class NodeFigure
          NodeFigure.
 

Uses of Figure in org.jhotdraw.samples.pert.figures
 

Classes in org.jhotdraw.samples.pert.figures that implement Figure
 class DependencyFigure
          DependencyFigure.
 class SeparatorLineFigure
          A horizontal line with a preferred size of 1,1.
 class TaskFigure
          TaskFigure.
 

Methods in org.jhotdraw.samples.pert.figures with parameters of type Figure
 boolean DependencyFigure.canConnect(Figure start)
           
 boolean DependencyFigure.canConnect(Figure start, Figure end)
          Checks if two figures can be connected.
protected  void DependencyFigure.handleConnect(Figure start, Figure end)
          Handles the connection of a connection.
protected  void DependencyFigure.handleDisconnect(Figure start, Figure end)
          Handles the disconnection of a connection.
 

Uses of Figure in org.jhotdraw.samples.svg
 

Methods in org.jhotdraw.samples.svg with parameters of type Figure
static void SVGUtil.readAttributes(Figure f, DOMInput in)
          Reads the attributes from the specified DOMInput and assigns them to the figure.
static void SVGUtil.setDefaults(Figure f)
           
static void SVGUtil.writeAttributes(Figure f, DOMOutput out)
          Writes the attributes of the figure into the specified DOMOutput.
 

Uses of Figure in org.jhotdraw.samples.svg.action
 

Methods in org.jhotdraw.samples.svg.action that return types with arguments of type Figure
 java.util.Collection<Figure> SplitAction.ungroupFigures(DrawingView view, CompositeFigure group)
           
 java.util.Collection<Figure> CombineAction.ungroupFigures(DrawingView view, CompositeFigure group)
           
 

Method parameters in org.jhotdraw.samples.svg.action with type arguments of type Figure
 void SplitAction.groupFigures(DrawingView view, CompositeFigure group, java.util.Collection<Figure> figures)
           
 void CombineAction.groupFigures(DrawingView view, CompositeFigure group, java.util.Collection<Figure> figures)
           
 

Uses of Figure in org.jhotdraw.samples.svg.figures
 

Subinterfaces of Figure in org.jhotdraw.samples.svg.figures
 interface SVGFigure
          SVGFigure.
 

Classes in org.jhotdraw.samples.svg.figures that implement Figure
 class SVGEllipse
          SVGEllipse presents a SVG ellipse or a SVG circle element.
 class SVGGroup
          SVGGroup.
 class SVGImage
          SVGImage.
 class SVGLine
          SVGLine.
 class SVGPath
          SVGPath is a composite Figure which contains one or more BezierFigures as its children.
 class SVGRect
          SVGRect.
 class SVGText
          SVGText.
 


Copyright 1996-2006 © JHotDraw.org