|
JHotDraw 7.1 | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
CompositeFigure | A CompositeFigure is composed of several child Figures. |
CompositeFigureListener | Listener interested in changes in a CompositeFigure. |
ConnectionFigure | A ConnectionFigure draws a connection between two Connector s. |
Connector | A Connector knows how to locate a connection point on a figure. |
Constrainer | Interface to constrain points and figures on a Drawing. |
DecoratedFigure | This interface is implemented by Figures that can be Decorated with another Figure. |
Drawing | A drawing holds figures. |
DrawingEditor | DrawingEditor defines the interface for coordinating the different objects that participate in a drawing editor. |
DrawingView | A DrawingView paints a Drawing on a JComponent. |
Figure | A Figure knows its bounds and it can draw itself. |
FigureListener | Listener interested in Figure changes. |
FigureSelectionListener | FigureSelectionListener. |
Handle | Handles are used to change a figure by direct manipulation. |
HandleListener | HandleListener. |
ImageHolderFigure | The interface of a figure that has some editable image contents. |
InputFormat | Interface to define an input format for a Drawing. |
Layouter | A Layouter encapsulates a algorithm to layout a CompositeFigure. |
LineDecoration | Decorate the start or end Point2D.Double of a line or poly line figure. |
Liner | A Liner encapsulates an algorithm to lineout a ConnectionFigure. |
Locator | Locators can be used to locate a position on a figure. |
OutputFormat | Interface to define an output format. |
TextHolderFigure | The interface of a figure that has some editable text contents. |
Tool | A tool defines a mode of the drawing view. |
ToolListener | Change event passed to ToolListener's. |
Class Summary | |
---|---|
AbstractAttributedCompositeFigure | An AbstractAttributedCompositeFigure is a CompositeFigure which has its own attribute set. |
AbstractAttributedDecoratedFigure | AbstractAttributedDecoratedFigure. |
AbstractAttributedFigure | A figure that can keep track of an open ended set of attributes. |
AbstractCompositeFigure | AbstractCompositeFigure. |
AbstractConnectionHandle | AbstractConnectionHandle factors the common code for handles that can be used to change the connection of a ConnectionFigure. |
AbstractConnector | AbstractConnector provides default implementation for the Connector interface. |
AbstractConstrainer | AbstractConstrainer. |
AbstractDrawing | AbstractDrawing. |
AbstractFigure | AbstractFigure provides the functionality for managing listeners for a Figure. |
AbstractHandle | AbstractHandle. |
AbstractLayouter | AbstractLayouter. |
AbstractLineDecoration | An standard implementation of a line decoration. |
AbstractLocator | AbstractLocator provides default implementations for the Locator interface. |
AbstractRotateHandle | AbstractRotateHandle. |
AbstractTool | AbstractTool. |
ArrowTip | An arrow tip line decoration. |
AttributeChangeEdit | AttributeChangeEdit. |
AttributeKey<T> | AttributeKey provides typesafe access to figure attributes. |
AttributeKeys | Defines AttributeKeys used by the Figures in this package as well as some helper methods. |
BezierControlPointHandle | BezierControlPointHandle. |
BezierFigure | A BezierFigure can be used to draw arbitrary shapes using a BezierPath . |
BezierLabelLocator | This locator locates a position relative to a polyline. |
BezierNodeHandle | BezierNodeHandle. |
BezierOutlineHandle | Draws the outlines of a BezierFigure to make adjustment easier. |
BezierPointLocator | BezierPointLocator. |
BezierScaleHandle | A Handle to scale and rotate a BezierFigure. |
BezierTool | Tool to scribble a BezierFigure |
BidirectionalConnectionTool | A tool that can be used to connect figures, to split connections, and to join two segments of a connection. |
BorderRectangleFigure | Deprecated. This class should be in one of the samples package |
BoundsOutlineHandle | Draws the outline of the Figure bounds to make adjustment easier. |
ChopBezierConnector | ChopBezierConnector. |
ChopDiamondConnector | A ChopDiamondConnector locates connection points by choping the connection between the centers of the two figures at the edge of a diamond figure. |
ChopEllipseConnector | A ChopEllipseConnector locates a connection Point2D.Double by chopping the connection at the ellipse defined by the figure's display box. |
ChopRectangleConnector | A ChopRectangleConnector locates connection points by choping the connection between the centers of the two figures at the display box. |
ChopRoundRectangleConnector | A ChopRoundRectangleConnector locates a connection Point2D.Double by chopping the connection at the horizontal and vertica lines defined by the display box of a RoundRectangleFigure. |
ChopTriangleConnector | ChopTriangleConnector. |
CloseHandle | CloseHandle. |
CompositeFigureEvent | Change event passed to CompositeFigureListeners. |
CompositeLineDecoration | An composite implementation of a line decoration. |
CompositeTransformEdit | CompositeTransformEdit. |
ConnectionEndHandle | Handle to reconnect the end of a connection to another figure. |
ConnectionStartHandle | Handle to reconnect the start of a connection to another figure. |
ConnectionTool | A tool to create a connection between two figures. |
ConnectorHandle | A ConnectorHandle allows to create a ConnectionFigure by dragging the connector handle to a connector. |
CreationTool | A tool to create new figures. |
DefaultDrawing | DefaultDrawing to be used for drawings that contain only a few children. |
DefaultDrawingEditor | DefaultDrawingEditor. |
DefaultDrawingView | The DefaultDrawingView is suited for viewing drawings with a small number of Figures. |
DefaultDrawingViewBeanInfo | |
DefaultDrawingViewTransferHandler | Default TransferHandler for DrawingView objects. |
DelegationSelectionTool | A SelectionTool, which recognizes double clicks and popup menu triggers. |
DiamondFigure | A diamond with vertices at the midpoints of its enclosing rectangle. |
DOMStorableInputOutputFormat | An OutputFormat that can write Drawings with DOMStorable Figure's. |
DragHandle | A handle that changes the location of the owning figure, the handle covers all visible points of the figure. |
DragTracker | DragTracker implements interactions with the content area of a
Figure . |
DrawingPageable | DrawingPageable can be used to print a Drawing using the java.awt.print API. |
ElbowLiner | A Liner that constrains a connection to orthogonal lines. |
EllipseFigure | EllipseFigure. |
FigureAdapter | FigureAdapter implements the FigureListener interface with empty methods. |
FigureEvent | Change event passed to FigureListeners. |
FigureLayerComparator | FigureLayerComparator. |
FigureSelectionEvent | FigureSelectionEvent. |
FloatingTextArea | A FloatingTextArea overlays an editor on top of an area in a drawing. |
FloatingTextField | A text field overlay that is used to edit a TextFigure. |
FontSizeHandle | FontSizeHandle. |
FontSizeLocator | FontSizeLocator. |
GeneralPathTip | GeneralPathLineDecoration. |
GeometryEdit | GeometryEdit. |
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 | A Figure that groups a collection of figures. |
HandleEvent | HandleEvent. |
HandleMulticaster | Forwards events to one or many handles. |
HandleTracker | HandleTracker implements interactions with the handles of a Figure. |
HorizontalLayouter | A layouter which lays out all children of a CompositeFigure in vertical direction. |
ImageFigure | A Figure that shows an Image. |
ImageInputFormat | An input format for importing drawings using one of the image formats supported by javax.imageio. |
ImageOutputFormat | An output format for exporting drawings using one of the image formats supported by javax.imageio. |
ImageTool | A tool to create new figures that implement the ImageHolderFigure interface, such as ImageFigure. |
LabeledLineConnectionFigure | A LineConnection with labels. |
LabelFigure | A LabelFigure can be used to provide more double clickable area for a TextHolderFigure. |
LineConnectionFigure | A LineConnection is a standard implementation of the ConnectionFigure interface. |
LineFigure | LineFigure. |
ListFigure | A ListFigure consists of a list of Figures and a RectangleFigure. |
LocatorConnector | A LocatorConnector locates connection points with the help of a Locator. |
LocatorHandle | A LocatorHandle implements a Handle by delegating the location requests to a Locator object. |
LocatorLayouter | A layouter which lays out all children of a CompositeFigure according to their LayoutLocator property.. |
MoveHandle | A handle that changes the location of the owning figure, if the figure is transformable. |
NullHandle | A handle that doesn't change the owned figure. |
Options | Options. |
PerpendicularBar | A perpendicular line decoration. |
PictImageInputFormat | An input format for importing drawings using the image/x-pict format from the Mac OS X clipboard. |
QuadTreeCompositeFigure | QuadTreeCompositeFigure. |
QuadTreeDrawing | QuadTreeDrawing uses a QuadTree2DDouble to improve responsiveness of drawings which contain many children. |
RectangleFigure | RectangleFigure. |
RelativeDecoratorLocator | A locator that specfies a point that is relative to the bounds of a figures decorator. |
RelativeLocator | A locator that specfies a point that is relative to the bounds of a figure. |
ResizeHandleKit | A set of utility methods to create handles which resize a Figure by
using its setBounds method, if the Figure is transformable. |
RestoreDataEdit | RestoreDataEdit. |
RotateHandle | A Handle to rotate a Figure. |
RoundRectangleFigure | A Rectangle2D.Double with round corners. |
RoundRectangleRadiusHandle | A Handle to manipulate the radius of a round lead rectangle. |
SelectAreaTracker | SelectAreaTracker implements interactions with the background
area of a Drawing . |
SelectionTool | Tool to select and manipulate figures. |
SetBoundsEdit | SetBoundsEdit. |
SlantedLiner | SlantedLiner. |
StickyRectangleConnector | A StickyRectangleConnector locates connection Points by choping the connection between the centers of the two figures at the display box. |
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. |
TextAreaTool | A tool to create new or edit existing figures that implement the TextHolderFigure interface, such as TextAreaFigure. |
TextFigure | A text figure. |
TextInputFormat | An input format for importing text into a drawing. |
TextOverflowHandle | The TextOverflowHandle indicates when the text does not fit into the bounds of a TextAreaFigure. |
TextTool | A tool to create new or edit existing figures that implement the TextHolderFigure interface, such as TextFigure. |
ToolEvent | An event sent to ToolListener's. |
TransformEdit | TransformEdit. |
TransformHandleKit | A set of utility methods to create Handles which transform a Figure by using
its transform method. |
TriangleFigure | A triangle with same dimensions as its enclosing rectangle, and apex at any of 8 places |
TriangleRotationHandler | A Handle to rotate a TriangleFigure Based on RadiusHandle |
VerticalLayouter | A layouter which lays out all children of a CompositeFigure in vertical direction. |
Enum Summary | |
---|---|
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. |
Defines a framework for structured drawing editors and provides default implementations.
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:
The key interfaces for loading and saving a drawing, and for providing copy and paste functionality are:
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |