@DefaultAnnotation(value=NonNull.class)
Package org.jhotdraw.draw
Defines a framework for structured drawing editors and provides default
implementations.
See: Description
-
Interface Summary Interface Description CompositeFigure A composite figure is composed of several childFigures.ConnectionFigure A connection figure connects two figures with aBezierPath.Constrainer DecoratedFigure A decorated figure can be decorated with anotherFigure, for example to draw a border around the decorated figure.Drawing A drawing is a container forFigures.DrawingEditor A drawing editor coordinates drawing tools and drawing views.DrawingView A drawing view paints aDrawingon aJComponent.Figure A figure is a graphical element of aDrawing.ImageHolderFigure The interface of aFigurewhich has some editable image contents.TextHolderFigure The interface of aFigurethat has some editable text contents. -
Class Summary Class Description AbstractAttributedCompositeFigure This abstract class can be extended to implement aCompositeFigurewhich has its own attribute set.AbstractAttributedDecoratedFigure This abstract class can be extended to implement aDecoratedFigurewhich has an attribute set.AbstractAttributedFigure This abstract class can be extended to implement aFigurewhich has its own attribute set.AbstractCompositeFigure This abstract class can be extended to implement aCompositeFigure.AbstractConstrainer This abstract class can be extended to implement aConstrainer.AbstractDrawing This abstract class can be extended to implement aDrawing.AbstractFigure This abstract class can be extended to implement aFigure.AttributeKey<T> An attribute key provides typesafe access to an attribute of aFigure.AttributeKeys Defines a put of well knownFigureattributes.BezierFigure AFigurewhich draws an opened or a closed bezier path.DefaultDrawing A default implementation ofDrawinguseful for drawings which contain only a few figures.DefaultDrawingEditor A default implementation ofDrawingEditor.DefaultDrawingView A default implementation ofDrawingViewsuited for viewing drawings with a small number of figures.DefaultDrawingViewBeanInfo DefaultDrawingViewTransferHandler Default TransferHandler for DrawingView objects.DiamondFigure AFigurewith a diamond shape.DrawingEditorProxy DrawingEditorProxy.EllipseFigure AFigurewith an elliptic shape.FigureLayerComparator AComparatorused to sort figures by their layer property.GraphicalCompositeFigure The GraphicalCompositeFigure fills in the gap between a CompositeFigure and other figures which mainly have a presentation purpose.GridConstrainer Constrains a point such that it falls on a grid.GroupFigure AFigurewhich groups a collection of figures.ImageFigure A default implementation ofImageHolderFigurewhich can hold a buffered image.LabeledLineConnectionFigure A LineConnection with labels.LabelFigure A LabelFigure can be used to provide more double clickable area for a TextHolderFigure.LineConnectionFigure AConnectionFigurewhich connects two figures using a bezier path.LineFigure AFigurewhich draws a continuous bezier path between two points.ListFigure A ListFigure consists of a list of Figures and a RectangleFigure.QuadTreeCompositeFigure QuadTreeCompositeFigure.QuadTreeDrawing RectangleFigure AFigurewith a rectangular shape.RoundRectangleFigure AFigurewith a rounded rectangular shape.TextAreaFigure ATextHolderFigurewhich holds multiple lines of text in a rectangular area.TextFigure ATextHolderFigurewhich holds a single line of text.TriangleFigure Implements aFigurewith a triangular shape. -
Enum Summary Enum Description AttributeKeys.Alignment AttributeKeys.Orientation AttributeKeys.StrokePlacement AttributeKeys.StrokeType AttributeKeys.Underfill AttributeKeys.WindingRule RotationDirection Specifies the possible directions for rotations on a two-dimensional plane.TranslationDirection Specifies the possible directions for translations on a two-dimensional plane.
Package org.jhotdraw.draw Description
Defines a framework for structured drawing editors and provides default implementations.
Package Contents
All key contracts of the framework are defined by Java interfaces. For each interface exists an abstract class, which implements the event handling contract of the interface. And finally, there is at least one default implementation of each interface.
The key interfaces for the representation of a drawing are:
The key interface for displaying a drawing on screen is:
The key interfaces for editing a drawing are:
DrawingEditorTool(in sub-package "tool")Handle(in sub-package "handle")
DataMelt 3.0 © DataMelt by jWork.ORG