JHotDraw 6.0b1

Uses of Interface
org.jhotdraw.framework.Figure

Packages that use Figure
org.jhotdraw.contrib   
org.jhotdraw.contrib.dnd   
org.jhotdraw.contrib.html   
org.jhotdraw.figures   
org.jhotdraw.framework   
org.jhotdraw.samples.javadraw   
org.jhotdraw.samples.net   
org.jhotdraw.samples.offsetConnectors   
org.jhotdraw.samples.pert   
org.jhotdraw.standard   
org.jhotdraw.util   
 

Uses of Figure in org.jhotdraw.contrib
 

Subinterfaces of Figure in org.jhotdraw.contrib
 interface Layoutable
          A Layoutable is a target for a Layouter who lays out the Layoutable according to its layout algorithm
 

Classes in org.jhotdraw.contrib that implement Figure
 class ComponentFigure
           
 class DiamondFigure
          A diamond with vertices at the midpoints of its enclosing rectangle
 class GraphicalCompositeFigure
          The GraphicalCompositeFigure fills in the gap between a CompositeFigure and other figures which mainly have a presentation purpose.
 class PolygonFigure
          A scalable, rotatable polygon with an arbitrary number of points Based on PolyLineFigure
 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 TriangleFigure
          A triangle with same dimensions as its enclosing rectangle, and apex at any of 8 places
 

Fields in org.jhotdraw.contrib declared as Figure
protected  Figure TextAreaTool.fEditedFigure
          The edited figure
protected  Figure TextAreaFigure.fObservedFigure
          A connected figure
 

Methods in org.jhotdraw.contrib that return Figure
protected  Figure PolygonTool.getAddedFigure()
          Gets the figure that was actually added Note, this can be a different figure from the one which has been created.
protected  Figure TextAreaTool.getEditedFigure()
          Gets the editedFigure attribute of the TextAreaTool
 Figure GraphicalCompositeFigure.getPresentationFigure()
          Get a figure which renders this CompositeFigure.
 Figure TextAreaFigure.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
 Figure PopupMenuFigureSelection.getSelectedFigure()
          Get the figure which was selected when the popup menu was invoked.
 

Methods in org.jhotdraw.contrib with parameters of type Figure
protected  void TextAreaTool.beginEdit(TextHolder figure, Figure selectedFigure)
          Begins editing the figure's text
protected  java.awt.Point ChopDiamondConnector.chop(Figure target, java.awt.Point from)
          Return an appropriate connection point on the edge of a diamond figure
protected  java.awt.Point ChopPolygonConnector.chop(Figure target, java.awt.Point from)
           
 void TextAreaFigure.connect(Figure figure)
          Connects the figure to another figure
 void TextAreaFigure.disconnect(Figure disconnectFigure)
          Disconnects a text holder from a connect figure.
protected  void TextAreaTool.setEditedFigure(Figure figure)
          Sets the editedFigure attribute of the TextAreaTool
 void GraphicalCompositeFigure.setPresentationFigure(Figure newPresentationFigure)
          Set a figure which renders this CompositeFigure.
 void PopupMenuFigureSelection.setSelectedFigure(Figure newSelectedFigure)
          Set the figure which was selected when the popup menu was invoked.
protected  void CustomSelectionTool.showPopupMenu(Figure figure, int x, int y, java.awt.Component comp)
          This method displays a popup menu, if there is one registered with the Figure (the Figure's attributes are queried for FigureAttributeConstant.POPUP_MENU which is used to indicate an association of a popup menu with the Figure).
 

Constructors in org.jhotdraw.contrib with parameters of type Figure
ChopDiamondConnector(Figure owner)
           
ChopPolygonConnector(Figure owner)
           
CompositeFigureCreationTool(DrawingEditor newDrawingEditor, Figure prototype)
           
GraphicalCompositeFigure(Figure newPresentationFigure)
          Constructor which creates a GraphicalCompositeFigure with a given graphical figure for presenting it.
NestedCreationTool(DrawingEditor newDrawingEditor, Figure prototype)
           
TextAreaTool(DrawingEditor newDrawingEditor, Figure prototype)
          Constructor for the TextAreaTool object
 

Uses of Figure in org.jhotdraw.contrib.dnd
 

Methods in org.jhotdraw.contrib.dnd with parameters of type Figure
protected  Tool DragNDropTool.createDragTracker(DrawingEditor editor, Figure f)
          Factory method to create a Drag tracker.
 

Uses of Figure in org.jhotdraw.contrib.html
 

Subinterfaces of Figure in org.jhotdraw.contrib.html
 interface GeometricFigure
          GeometricFigure defines required of figures that can be used as shape providers for other figures.
 

Classes in org.jhotdraw.contrib.html that implement Figure
 class DiamondFigureGeometricAdapter
          Geometric adapter for the DiamondFigure
 class EllipseFigureGeometricAdapter
          Geometric adapter for the EllipseFigure
 class HTMLTextAreaFigure
          An HTMLTextAreaFigure contains HTML formatted text.
Formatting is done internally by a JLabel component, so all display features and constrains that apply for a JLabel apply also for an HTMLTextAreaFigure, including text and images, as in any Web browser, even allowing for contents residing on external Web sources.
 class PolygonFigureGeometricAdapter
          Geometric adapter for the PolygonFigure
 class RoundRectangleGeometricAdapter
          Geometric adapter for the RoundRectangleFigure
 class TriangleFigureGeometricAdapter
          Geometric adapter for the TriangleFigure
 

Methods in org.jhotdraw.contrib.html that return Figure
protected  Figure HTMLTextAreaFigure.getFrameFigure()
          Gets the frameFigure attribute of the HTMLTextAreaFigure object
 Figure HTMLTextAreaFigure.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
 

Methods in org.jhotdraw.contrib.html with parameters of type Figure
 void HTMLTextAreaFigure.setFrameFigure(Figure newFrameFigure)
          Sets the frameFigure attribute of the HTMLTextAreaFigure object
 

Constructors in org.jhotdraw.contrib.html with parameters of type Figure
HTMLTextAreaTool(DrawingEditor newDrawingEditor, Figure prototype)
          Constructor for the TextAreaTool object
 

Uses of Figure in org.jhotdraw.figures
 

Classes in org.jhotdraw.figures that implement Figure
 class AttributeFigure
          A figure that can keep track of an open ended set of attributes.
 class BorderDecorator
          BorderDecorator decorates an arbitrary Figure with a border.
 class ElbowConnection
          A LineConnection that constrains a connection to orthogonal lines.
 class EllipseFigure
          An ellipse figure.
 class GroupFigure
          A Figure that groups a collection of figures.
 class ImageFigure
          A Figure that shows an Image.
 class LineConnection
          A LineConnection is a standard implementation of the ConnectionFigure interface.
 class LineFigure
          A line figure.
 class NullFigure
           
 class NumberTextFigure
          A TextFigure specialized to edit numbers.
 class PolyLineFigure
          A poly line figure consists of a list of points.
 class RectangleFigure
          A rectangle figure.
 class RoundRectangleFigure
          A round rectangle figure.
 class TextFigure
          A text figure.
 

Methods in org.jhotdraw.figures that return Figure
 Figure LineConnection.endFigure()
          Gets the end figure of the connection.
 Figure NullFigure.findFigureInside(int x, int y)
          Returns the figure that contains the given point.
protected  Figure ScribbleTool.getAddedFigure()
          Gets the figure that was actually added Note, this can be a different figure from the one which has been created.
 Figure ConnectedTextTool.getConnectedFigure()
           
 Figure ConnectedTextTool.UndoActivity.getConnectedFigure()
           
 Figure ConnectedTextTool.DeleteUndoActivity.getConnectedFigure()
           
 Figure TextFigure.getObservedFigure()
           
 Figure NumberTextFigure.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
 Figure TextFigure.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
protected  Figure TextTool.getSelectedFigure()
           
 Figure LineConnection.startFigure()
          Gets the start figure of the connection.
 

Methods in org.jhotdraw.figures with parameters of type Figure
 void BorderTool.action(Figure figure)
          Decorates the clicked figure with a border.
 boolean LineConnection.canConnect(Figure start, Figure end)
          Tests whether two figures can be connected.
protected  java.awt.Point ChopEllipseConnector.chop(Figure target, java.awt.Point from)
           
protected  java.awt.Point PolyLineConnector.chop(Figure target, java.awt.Point from)
           
 void TextFigure.connect(Figure figure)
           
 Locator ElbowConnection.connectedTextLocator(Figure f)
           
 void TextFigure.disconnect(Figure disconnectFigure)
          Disconnects a text holder from a connect figure.
protected  void LineConnection.handleConnect(Figure start, Figure end)
          Handles the connection of a connection.
protected  void LineConnection.handleDisconnect(Figure start, Figure end)
          Handles the disconnection of a connection.
 boolean NullFigure.includes(Figure figure)
          Checks whether the given figure is contained in this figure.
 void BorderTool.reverseAction(Figure figure)
          Peels off the border from the clicked figure.
protected  void ConnectedTextTool.setConnectedFigure(Figure pressedFigure)
           
 void ConnectedTextTool.UndoActivity.setConnectedFigure(Figure newConnectedFigure)
           
 void ConnectedTextTool.DeleteUndoActivity.setConnectedFigure(Figure newConnectedFigure)
           
protected  void TextFigure.setObservedFigure(Figure newObservedFigure)
           
 

Constructors in org.jhotdraw.figures with parameters of type Figure
BorderDecorator(Figure figure)
           
ChopEllipseConnector(Figure owner)
           
ConnectedTextTool.DeleteUndoActivity(FigureTransferCommand cmd, Figure newConnectedFigure)
           
ConnectedTextTool(DrawingEditor editor, Figure prototype)
           
FontSizeHandle(Figure owner, Locator l)
           
NullConnector(Figure owner)
           
PolyLineConnector(Figure owner)
          Constructs a connector with the given owner figure.
ShortestDistanceConnector(Figure owner)
           
TextTool(DrawingEditor newDrawingEditor, Figure prototype)
           
 

Uses of Figure in org.jhotdraw.framework
 

Subinterfaces of Figure in org.jhotdraw.framework
 interface ConnectionFigure
          Figures to connect Connectors provided by Figures.
 

Methods in org.jhotdraw.framework that return Figure
 Figure Drawing.add(Figure figure)
          Adds a figure and sets its container to refer to this drawing.
 Figure DrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure ConnectionFigure.endFigure()
          Gets the end figure of the connection.
 Figure Drawing.findFigure(int x, int y)
          Finds a top level Figure.
 Figure Drawing.findFigure(java.awt.Rectangle r)
          Finds a top level Figure that intersects the given rectangle.
 Figure Drawing.findFigure(java.awt.Rectangle r, Figure without)
          Finds a top level Figure that intersects the given rectangle.
 Figure Drawing.findFigureInside(int x, int y)
          Finds a figure but descends into a figure's children.
 Figure Figure.findFigureInside(int x, int y)
          Returns the figure that contains the given point.
 Figure Drawing.findFigureInsideWithout(int x, int y, Figure without)
          Finds a figure but descends into a figure's children.
 Figure Drawing.findFigureWithout(int x, int y, Figure without)
          Finds a top level Figure, but supresses the passed in figure.
 Figure Figure.getDecoratedFigure()
          Get the underlying figure in case the figure has been decorated.
 Figure FigureChangeEvent.getFigure()
          Gets the changed figure
 Figure Drawing.getFigureFromLayer(int layerNr)
          Gets the figure from a certain layer.
 Figure FigureEnumeration.nextFigure()
          Returns the next element of the enumeration.
 Figure Drawing.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure Connector.owner()
          Gets the connector's owner.
 Figure Handle.owner()
          Gets the handle's owner.
 Figure Drawing.remove(Figure figure)
          Removes the figure from the drawing and releases it.
 Figure DrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure Drawing.replace(Figure figure, Figure replacement)
          Replaces a figure in the drawing without removing it from the drawing.
 Figure ConnectionFigure.startFigure()
          Gets the start figure of the connection.
 

Methods in org.jhotdraw.framework with parameters of type Figure
 Figure Drawing.add(Figure figure)
          Adds a figure and sets its container to refer to this drawing.
 Figure DrawingView.add(Figure figure)
          Adds a figure to the drawing.
 void Figure.addDependendFigure(Figure newDependendFigure)
          Add a dependent figure.
 void DrawingView.addToSelection(Figure figure)
          Adds a figure to the current selection.
 void Drawing.bringToFront(Figure figure)
          Brings a figure to the front.
 boolean ConnectionFigure.canConnect(Figure start, Figure end)
          Checks if two figures can be connected.
 Locator Figure.connectedTextLocator(Figure text)
          Returns the locator used to located connected text.
 boolean Drawing.containsFigure(Figure figure)
          Check whether a given figure is a (direct) child figure of this CompositeFigure.
 Figure Drawing.findFigure(java.awt.Rectangle r, Figure without)
          Finds a top level Figure that intersects the given rectangle.
 Figure Drawing.findFigureInsideWithout(int x, int y, Figure without)
          Finds a figure but descends into a figure's children.
 Figure Drawing.findFigureWithout(int x, int y, Figure without)
          Finds a top level Figure, but supresses the passed in figure.
 FigureEnumeration DrawingView.getConnectionFigures(Figure inFigure)
          Returns a FigureEnumeration of connection figures
 int Drawing.getLayer(Figure figure)
          Gets the layer for a certain figure (first occurrence).
 boolean Drawing.includes(Figure figure)
          Checks if the composite figure has the argument as one of its children.
 boolean Figure.includes(Figure figure)
          Checks whether the given figure is contained in this figure.
 boolean DrawingView.isFigureSelected(Figure checkFigure)
          Test whether a given figure is selected.
 java.awt.Point Locator.locate(Figure owner)
          Locates a position on the passed figure.
 Figure Drawing.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure Drawing.remove(Figure figure)
          Removes the figure from the drawing and releases it.
 Figure DrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 void Figure.removeDependendFigure(Figure oldDependendFigure)
          Remove a dependent figure.
 void DrawingView.removeFromSelection(Figure figure)
          Removes a figure from the selection.
 Figure Drawing.replace(Figure figure, Figure replacement)
          Replaces a figure in the drawing without removing it from the drawing.
 void Drawing.sendToBack(Figure figure)
          Sends a figure to the back of the drawing.
 void Drawing.sendToLayer(Figure figure, int layerNr)
          Sends a figure to a certain layer within a drawing.
 void DrawingView.toggleSelection(Figure figure)
          If a figure isn't selected it is added to the selection.
 void FigureVisitor.visitFigure(Figure hostFigure)
           
 

Constructors in org.jhotdraw.framework with parameters of type Figure
FigureChangeEvent(Figure newSource)
           
FigureChangeEvent(Figure newSource, java.awt.Rectangle newRect)
          Constructs an event for the given source Figure.
FigureChangeEvent(Figure newSource, java.awt.Rectangle newRect, FigureChangeEvent nestedEvent)
           
 

Uses of Figure in org.jhotdraw.samples.javadraw
 

Classes in org.jhotdraw.samples.javadraw that implement Figure
 class AnimationDecorator
           
 class BouncingDrawing
           
 

Methods in org.jhotdraw.samples.javadraw that return Figure
 Figure BouncingDrawing.add(Figure figure)
           
 Figure BouncingDrawing.remove(Figure figure)
           
 Figure BouncingDrawing.replace(Figure figure, Figure replacement)
           
 

Methods in org.jhotdraw.samples.javadraw with parameters of type Figure
 Figure BouncingDrawing.add(Figure figure)
           
protected  void MySelectionTool.inspectFigure(Figure f)
           
 Figure BouncingDrawing.remove(Figure figure)
           
 Figure BouncingDrawing.replace(Figure figure, Figure replacement)
           
 

Constructors in org.jhotdraw.samples.javadraw with parameters of type Figure
AnimationDecorator(Figure figure)
           
 

Uses of Figure in org.jhotdraw.samples.net
 

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

Methods in org.jhotdraw.samples.net that return Figure
 Figure NodeFigure.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
 

Uses of Figure in org.jhotdraw.samples.offsetConnectors
 

Classes in org.jhotdraw.samples.offsetConnectors that implement Figure
 class MyEllipseFigure
           
 class MyFigure
           
 

Uses of Figure in org.jhotdraw.samples.pert
 

Classes in org.jhotdraw.samples.pert that implement Figure
 class PertDependency
           
 class PertFigure
           
 

Methods in org.jhotdraw.samples.pert that return Figure
protected  Figure PertFigureCreationTool.createFigure()
          Creates a new PertFigure.
 

Methods in org.jhotdraw.samples.pert with parameters of type Figure
 boolean PertDependency.canConnect(Figure start, Figure end)
           
 void PertDependency.handleConnect(Figure start, Figure end)
           
 void PertDependency.handleDisconnect(Figure start, Figure end)
           
 boolean PertFigure.hasCycle(Figure start)
           
 

Uses of Figure in org.jhotdraw.standard
 

Classes in org.jhotdraw.standard that implement Figure
 class AbstractFigure
          AbstractFigure provides default implementations for the Figure interface.
 class CompositeFigure
          A Figure that is composed of several figures.
 class DecoratorFigure
          DecoratorFigure can be used to decorate other figures with decorations like borders.
 class StandardDrawing
          The standard implementation of the Drawing interface.
 

Fields in org.jhotdraw.standard declared as Figure
protected  Figure AbstractConnector.fOwner
          the owner of the connector
 

Methods in org.jhotdraw.standard that return Figure
 Figure CompositeFigure.add(Figure figure)
          Adds a figure to the list of figures.
 Figure NullDrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure StandardDrawing.add(Figure figure)
           
 Figure StandardDrawingView.add(Figure figure)
          Adds a figure to the drawing.
protected  Figure CreationTool.createFigure()
          Creates a new figure by cloning the prototype.
 Figure CompositeFigure.figureAt(int i)
          Gets a figure at the given index.
protected  Figure ConnectionTool.findConnectableFigure(int x, int y, Drawing drawing)
          Returns the topmost? figure that can connect and is at the current mouse location.
protected  Figure ConnectionTool.findConnectionStart(int x, int y, Drawing drawing)
          Finds a connection start figure.
 Figure CompositeFigure.findFigure(int x, int y)
          Finds a top level Figure.
 Figure CompositeFigure.findFigure(java.awt.Rectangle r)
          Finds a top level Figure that intersects the given rectangle.
 Figure CompositeFigure.findFigure(java.awt.Rectangle r, Figure without)
          Finds a top level Figure that intersects the given rectangle.
 Figure AbstractFigure.findFigureInside(int x, int y)
          Returns the figure that contains the given point.
 Figure CompositeFigure.findFigureInside(int x, int y)
          Finds a figure but descends into a figure's children.
 Figure DecoratorFigure.findFigureInside(int x, int y)
          Forwards findFigureInside to its contained figure.
 Figure CompositeFigure.findFigureInsideWithout(int x, int y, Figure without)
          Finds a figure but descends into a figure's children.
 Figure CompositeFigure.findFigureWithout(int x, int y, Figure without)
          Finds a top level Figure, but supresses the passed in figure.
protected  Figure ConnectionTool.findSource(int x, int y, Drawing drawing)
          Finds a connectable figure target.
protected  Figure ConnectionTool.findTarget(int x, int y, Drawing drawing)
          Finds a connectable figure target at the current mouse location that can 1.
protected  Figure ConnectionTool.getAddedFigure()
          Gets the figure that was actually added Note, this can be a different figure from the one which has been created.
protected  Figure CreationTool.getAddedFigure()
          Gets the figure that was actually added Note, this can be a different figure from the one which has been created.
 Figure DragTracker.getAnchorFigure()
           
protected  Figure CreationTool.getCreatedFigure()
          Gets the currently created figure
 Figure AbstractFigure.getDecoratedFigure()
           
 Figure DecoratorFigure.getDecoratedFigure()
           
 Figure CompositeFigure.getFigureFromLayer(int layerNr)
          Gets the figure from a certain layer.
protected  Figure CreationTool.getPrototypeFigure()
          As the name suggests this CreationTool uses the Prototype design pattern.
 Figure TextHolder.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
protected  Figure ChangeConnectionHandle.getTargetFigure()
           
protected  Figure ConnectionHandle.getTargetFigure()
           
protected  Figure ConnectionTool.getTargetFigure()
           
 Figure FigureAndEnumerator.nextFigure()
           
 Figure FigureEnumerator.nextFigure()
          Returns the next element of the enumeration.
 Figure ReverseFigureEnumerator.nextFigure()
          Returns the next element casted as a figure of the enumeration.
 Figure SingleFigureEnumerator.nextFigure()
          Returns the next element of the enumeration.
 Figure CompositeFigure.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure StandardDrawing.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure AbstractConnector.owner()
          Gets the connector's owner.
 Figure AbstractHandle.owner()
          Gets the handle's owner.
 Figure DecoratorFigure.peelDecoration()
          Removes the decoration from the contained figure.
 Figure CompositeFigure.remove(Figure figure)
          Removes a figure from the composite.
 Figure NullDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure StandardDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure CompositeFigure.replace(Figure figure, Figure replacement)
          Replaces a figure in the drawing without removing it from the drawing.
 

Methods in org.jhotdraw.standard with parameters of type Figure
abstract  void ActionTool.action(Figure figure)
          Performs an action with the touched figure.
 Figure CompositeFigure.add(Figure figure)
          Adds a figure to the list of figures.
 Figure NullDrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure StandardDrawing.add(Figure figure)
           
 Figure StandardDrawingView.add(Figure figure)
          Adds a figure to the drawing.
static void BoxHandleKit.addCornerHandles(Figure f, java.util.List handles)
          Fills the given collection with handles at each corner of a figure.
 void AbstractFigure.addDependendFigure(Figure newDependendFigure)
           
 void DecoratorFigure.addDependendFigure(Figure newDependendFigure)
           
static void BoxHandleKit.addHandles(Figure f, java.util.List handles)
          Fills the given collection with handles at each corner and the north, south, east, and west of the figure.
protected  void SendToBackCommand.UndoActivity.addOriginalLayer(Figure affectedFigure, int newOriginalLayer)
           
protected  void AlignCommand.UndoActivity.addOriginalPoint(Figure f)
           
protected  void ChangeAttributeCommand.UndoActivity.addOriginalValue(Figure affectedFigure, java.lang.Object newOriginalValue)
           
 void NullDrawingView.addToSelection(Figure figure)
          Adds a figure to the current selection.
 void StandardDrawingView.addToSelection(Figure figure)
          Adds a figure to the current selection.
protected  boolean StandardDrawingView.addToSelectionImpl(Figure figure)
           
 void CompositeFigure.bringToFront(Figure figure)
          Brings a figure to the front.
protected  boolean ChangeConnectionEndHandle.canConnectTo(Figure figure)
           
protected abstract  boolean ChangeConnectionHandle.canConnectTo(Figure figure)
          Called to check whether this end of the connection can connect to the given target figure.
protected  boolean ChangeConnectionStartHandle.canConnectTo(Figure figure)
           
protected  java.awt.Point ChopBoxConnector.chop(Figure target, java.awt.Point from)
           
 void TextHolder.connect(Figure connectedFigure)
          Connects a text holder to another figure.
 Locator AbstractFigure.connectedTextLocator(Figure text)
          Returns the locator used to located connected text.
 Locator DecoratorFigure.connectedTextLocator(Figure text)
          Returns the locator used to located connected text.
 boolean CompositeFigure.containsFigure(Figure checkFigure)
          Check whether a given figure is a child figure of this CompositeFigure.
protected  Tool SelectionTool.createDragTracker(Figure f)
          Factory method to create a Drag tracker.
 void DecoratorFigure.decorate(Figure figure)
          Decorates the given figure.
 void TextHolder.disconnect(Figure disconnectFigure)
          Disconnects a text holder from a connect figure.
static Handle BoxHandleKit.east(Figure owner)
           
 boolean StandardDrawingView.figureExists(Figure inf, FigureEnumeration fe)
          Check existance of figure in the drawing
protected  Connector ChangeConnectionHandle.findConnector(int x, int y, Figure f)
           
protected  Connector ConnectionHandle.findConnector(int x, int y, Figure f)
           
protected  Connector ConnectionTool.findConnector(int x, int y, Figure f)
           
 Figure CompositeFigure.findFigure(java.awt.Rectangle r, Figure without)
          Finds a top level Figure that intersects the given rectangle.
 Figure CompositeFigure.findFigureInsideWithout(int x, int y, Figure without)
          Finds a figure but descends into a figure's children.
 Figure CompositeFigure.findFigureWithout(int x, int y, Figure without)
          Finds a top level Figure, but supresses the passed in figure.
 FigureEnumeration NullDrawingView.getConnectionFigures(Figure inFigure)
          Returns a FigureEnumeration of connection figures
 FigureEnumeration StandardDrawingView.getConnectionFigures(Figure inFigure)
          Returns a FigureEnumeration of connectionfigures attached to this figure
 int CompositeFigure.getLayer(Figure figure)
          Gets the layer for a certain figure (first occurrence).
protected  int SendToBackCommand.UndoActivity.getOriginalLayer(Figure lookupAffectedFigure)
           
 java.awt.Point AlignCommand.UndoActivity.getOriginalPoint(Figure f)
           
protected  java.lang.Object ChangeAttributeCommand.UndoActivity.getOriginalValue(Figure lookupAffectedFigure)
           
 boolean AbstractFigure.includes(Figure figure)
          Checks whether the given figure is contained in this figure.
 boolean CompositeFigure.includes(Figure figure)
          Checks if the composite figure has the argument as one of its children.
 boolean DecoratorFigure.includes(Figure figure)
          Forwards includes to its contained figure.
 boolean NullDrawingView.isFigureSelected(Figure checkFigure)
          Test whether a given figure is selected.
 boolean StandardDrawingView.isFigureSelected(Figure checkFigure)
          Test whether a given figure is selected.
 java.awt.Point OffsetLocator.locate(Figure owner)
           
 java.awt.Point PeripheralLocator.locate(Figure parm1)
           
 java.awt.Point RelativeLocator.locate(Figure owner)
           
abstract  void AlignCommand.Alignment.moveBy(Figure f, java.awt.Rectangle anchor)
           
static Handle BoxHandleKit.north(Figure owner)
           
static Handle BoxHandleKit.northEast(Figure owner)
           
static Handle BoxHandleKit.northWest(Figure owner)
           
 Figure CompositeFigure.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure StandardDrawing.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure CompositeFigure.remove(Figure figure)
          Removes a figure from the composite.
 Figure NullDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure StandardDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 void AbstractFigure.removeDependendFigure(Figure oldDependendFigure)
           
 void DecoratorFigure.removeDependendFigure(Figure oldDependendFigure)
           
 void NullDrawingView.removeFromSelection(Figure figure)
          Removes a figure from the selection.
 void StandardDrawingView.removeFromSelection(Figure figure)
          Removes a figure from the selection.
 Figure CompositeFigure.replace(Figure figure, Figure replacement)
          Replaces a figure in the drawing without removing it from the drawing.
 void CompositeFigure.sendToBack(Figure figure)
          Sends a figure to the back of the drawing.
protected  void BringToFrontCommand.UndoActivity.sendToCommand(Figure f)
           
protected  void SendToBackCommand.UndoActivity.sendToCommand(Figure f)
           
 void CompositeFigure.sendToLayer(Figure figure, int layerNr)
          Sends a figure to a certain layer within a drawing.
protected  void ConnectionTool.setAddedFigure(Figure newAddedFigure)
           
protected  void CreationTool.setAddedFigure(Figure newAddedFigure)
          Sets the addedFigure attribute of the CreationTool object
protected  void DragTracker.setAnchorFigure(Figure newAnchorFigure)
           
protected  void CreationTool.setCreatedFigure(Figure newCreatedFigure)
          Sets the createdFigure attribute of the CreationTool object
 void DecoratorFigure.setDecoratedFigure(Figure newDecoratedFigure)
           
protected  void CreationTool.setPrototypeFigure(Figure newPrototypeFigure)
          As the name suggests this CreationTool uses the Prototype design pattern.
protected  void ChangeConnectionHandle.setTargetFigure(Figure newTarget)
           
protected  void ConnectionHandle.setTargetFigure(Figure newTargetFigure)
           
protected  void ConnectionTool.setTargetFigure(Figure newTarget)
           
 void StandardDrawingView.setToolTipFigure(Figure f)
          Calls setToolTipLocation(Point p) with a standard position relative to the given figure.
static Handle BoxHandleKit.south(Figure owner)
           
static Handle BoxHandleKit.southEast(Figure owner)
           
static Handle BoxHandleKit.southWest(Figure owner)
           
 void NullDrawingView.toggleSelection(Figure figure)
          If a figure isn't selected it is added to the selection.
 void StandardDrawingView.toggleSelection(Figure figure)
          If a figure isn't selected it is added to the selection.
static OffsetConnector OffsetConnector.trackConnector(Figure owner, int x, int y)
          Use this method to create new OffsetConnectors.
 void DeleteFromDrawingVisitor.visitFigure(Figure hostFigure)
           
 void InsertIntoDrawingVisitor.visitFigure(Figure hostFigure)
           
static Handle BoxHandleKit.west(Figure owner)
           
 

Constructors in org.jhotdraw.standard with parameters of type Figure
AbstractConnector(Figure owner)
          Constructs a connector with the given owner figure.
AbstractHandle(Figure owner)
          Constructor for AbstractHandle.
ChopBoxConnector(Figure owner)
           
ConnectionHandle(Figure owner, Locator l, ConnectionFigure prototype)
          Constructs a handle with the given owner, locator, and connection prototype
CreationTool(DrawingEditor newDrawingEditor, Figure prototype)
          Initializes a CreationTool with the given prototype.
DecoratorFigure(Figure figure)
          Constructs a DecoratorFigure and decorates the passed in figure.
DragTracker(DrawingEditor newDrawingEditor, Figure anchor)
           
LocatorConnector(Figure owner, Locator l)
           
LocatorHandle(Figure owner, Locator l)
          Initializes the LocatorHandle with the given Locator.
NullHandle(Figure owner, Locator locator)
           
SingleFigureEnumerator(Figure newSingleFigure)
           
 

Uses of Figure in org.jhotdraw.util
 

Methods in org.jhotdraw.util that return Figure
 Figure UndoableHandle.owner()
          Gets the handle's owner.
 

Methods in org.jhotdraw.util with parameters of type Figure
 void GraphLayout.addNode(Figure node)
           
 


JHotDraw 6.0b1