Uses of Interface
org.jhotdraw.framework.Figure

Packages that use Figure
org.jhotdraw.contrib   
org.jhotdraw.contrib.html   
org.jhotdraw.figures   
org.jhotdraw.framework   
org.jhotdraw.samples.javadraw   
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.
 class TriangleFigure
          A triangle with same dimensions as its enclosing rectangle, and apex at any of 8 places
 

Methods in org.jhotdraw.contrib that return Figure
 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
 void TextAreaFigure.connect(Figure figure)
          Connects the figure to another figure
 void TextAreaFigure.disconnect(Figure disconnectFigure)
          Disconnects a text holder from a connect figure.
 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.
 

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.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.
 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
 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.
 Figure ConnectedTextTool.getConnectedFigure()
           
 Figure ConnectedTextTool.UndoActivity.getConnectedFigure()
           
 Figure ConnectedTextTool.DeleteUndoActivity.getConnectedFigure()
           
 Figure TextFigure.getObservedFigure()
           
 Figure TextFigure.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
 Figure NumberTextFigure.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
 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.
 void TextFigure.connect(Figure figure)
           
 Locator ElbowConnection.connectedTextLocator(Figure f)
           
 void TextFigure.disconnect(Figure disconnectFigure)
          Disconnects a text holder from a connect figure.
 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.
 void ConnectedTextTool.UndoActivity.setConnectedFigure(Figure newConnectedFigure)
           
 void ConnectedTextTool.DeleteUndoActivity.setConnectedFigure(Figure newConnectedFigure)
           
 

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 DrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure Drawing.add(Figure figure)
          Adds a figure and sets its container to refer to this 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 Figure.findFigureInside(int x, int y)
          Returns the figure that contains the given point.
 Figure Drawing.findFigureInside(int x, int y)
          Finds a figure but descends into a figure's children.
 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 Handle.owner()
          Gets the handle's owner.
 Figure Connector.owner()
          Gets the connector's owner.
 Figure DrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure Drawing.remove(Figure figure)
          Removes the figure from the drawing and releases it.
 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 DrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure Drawing.add(Figure figure)
          Adds a figure and sets its container to refer to this 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 Figure.includes(Figure figure)
          Checks whether the given figure is contained in this figure.
 boolean Drawing.includes(Figure figure)
          Checks if the composite figure has the argument as one of its children.
 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 DrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure Drawing.remove(Figure figure)
          Removes the figure from the drawing and releases it.
 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)
           
 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.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.
 

Methods in org.jhotdraw.standard that return Figure
 Figure StandardDrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure StandardDrawing.add(Figure figure)
           
 Figure NullDrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure CompositeFigure.add(Figure figure)
          Adds a figure to the list of figures.
 Figure CompositeFigure.figureAt(int i)
          Gets a figure at the given index.
 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 DecoratorFigure.findFigureInside(int x, int y)
          Forwards findFigureInside to its contained figure.
 Figure CompositeFigure.findFigureInside(int x, int y)
          Finds a figure but descends into a figure's children.
 Figure AbstractFigure.findFigureInside(int x, int y)
          Returns the figure that contains the given point.
 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.
 Figure DragTracker.getAnchorFigure()
           
 Figure DecoratorFigure.getDecoratedFigure()
           
 Figure AbstractFigure.getDecoratedFigure()
           
 Figure CompositeFigure.getFigureFromLayer(int layerNr)
          Gets the figure from a certain layer.
 Figure TextHolder.getRepresentingFigure()
          Usually, a TextHolders is implemented by a Figure subclass.
 Figure SingleFigureEnumerator.nextFigure()
          Returns the next element of the enumeration.
 Figure ReverseFigureEnumerator.nextFigure()
          Returns the next element casted as a figure of the enumeration.
 Figure FigureEnumerator.nextFigure()
          Returns the next element of the enumeration.
 Figure FigureAndEnumerator.nextFigure()
           
 Figure StandardDrawing.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure CompositeFigure.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure AbstractHandle.owner()
          Gets the handle's owner.
 Figure AbstractConnector.owner()
          Gets the connector's owner.
 Figure DecoratorFigure.peelDecoration()
          Removes the decoration from the contained figure.
 Figure StandardDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure NullDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure CompositeFigure.remove(Figure figure)
          Removes a figure from the composite.
 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 StandardDrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure StandardDrawing.add(Figure figure)
           
 Figure NullDrawingView.add(Figure figure)
          Adds a figure to the drawing.
 Figure CompositeFigure.add(Figure figure)
          Adds a figure to the list of figures.
static void BoxHandleKit.addCornerHandles(Figure f, java.util.List handles)
          Fills the given collection with handles at each corner of a figure.
 void DecoratorFigure.addDependendFigure(Figure newDependendFigure)
           
 void AbstractFigure.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.
 void StandardDrawingView.addToSelection(Figure figure)
          Adds a figure to the current selection.
 void NullDrawingView.addToSelection(Figure figure)
          Adds a figure to the current selection.
 void CompositeFigure.bringToFront(Figure figure)
          Brings a figure to the front.
 void TextHolder.connect(Figure connectedFigure)
          Connects a text holder to another figure.
 Locator DecoratorFigure.connectedTextLocator(Figure text)
          Returns the locator used to located connected text.
 Locator AbstractFigure.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.
 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
 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 StandardDrawingView.getConnectionFigures(Figure inFigure)
          Returns a FigureEnumeration of connectionfigures attached to this figure
 FigureEnumeration NullDrawingView.getConnectionFigures(Figure inFigure)
          Returns a FigureEnumeration of connection figures
 int CompositeFigure.getLayer(Figure figure)
          Gets the layer for a certain figure (first occurrence).
 java.awt.Point AlignCommand.UndoActivity.getOriginalPoint(Figure f)
           
 boolean DecoratorFigure.includes(Figure figure)
          Forwards includes to its contained figure.
 boolean CompositeFigure.includes(Figure figure)
          Checks if the composite figure has the argument as one of its children.
 boolean AbstractFigure.includes(Figure figure)
          Checks whether the given figure is contained in this figure.
 boolean StandardDrawingView.isFigureSelected(Figure checkFigure)
          Test whether a given figure is selected.
 boolean NullDrawingView.isFigureSelected(Figure checkFigure)
          Test whether a given figure is selected.
 java.awt.Point RelativeLocator.locate(Figure owner)
           
 java.awt.Point PeripheralLocator.locate(Figure parm1)
           
 java.awt.Point OffsetLocator.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 StandardDrawing.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure CompositeFigure.orphan(Figure figure)
          Removes a figure from the figure list, but doesn't release it.
 Figure StandardDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure NullDrawingView.remove(Figure figure)
          Removes a figure from the drawing.
 Figure CompositeFigure.remove(Figure figure)
          Removes a figure from the composite.
 void DecoratorFigure.removeDependendFigure(Figure oldDependendFigure)
           
 void AbstractFigure.removeDependendFigure(Figure oldDependendFigure)
           
 void StandardDrawingView.removeFromSelection(Figure figure)
          Removes a figure from the selection.
 void NullDrawingView.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.
 void CompositeFigure.sendToLayer(Figure figure, int layerNr)
          Sends a figure to a certain layer within a drawing.
 void DecoratorFigure.setDecoratedFigure(Figure newDecoratedFigure)
           
static Handle BoxHandleKit.south(Figure owner)
           
static Handle BoxHandleKit.southEast(Figure owner)
           
static Handle BoxHandleKit.southWest(Figure owner)
           
 void StandardDrawingView.toggleSelection(Figure figure)
          If a figure isn't selected it is added to the selection.
 void NullDrawingView.toggleSelection(Figure figure)
          If a figure isn't selected it is added to the selection.
 void InsertIntoDrawingVisitor.visitFigure(Figure hostFigure)
           
 void DeleteFromDrawingVisitor.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)