# Uses of Package
org.eclipse.draw2d

Packages that use org.eclipse.draw2d
Package
Description
org.eclipse.draw2d
Primary package containing general interfaces and implementation classes.
org.eclipse.draw2d.parts
This package contains some complex parts used with Draw2d.
org.eclipse.draw2d.text
Figures and support classes related to the layout and rendering of rich text.
org.eclipse.draw2d.widgets
Custom SWT Controls which use figures internally.

Classes in org.eclipse.draw2d used by org.eclipse.draw2d
Class
Description
AbstractBorder
Provides generic support for borders.
AbstractConnectionAnchor
Provides support for anchors which depend on a figure for thier location.
AbstractConstraintLayout
Common base class for layouts working on a constraint per figure.
AbstractHintLayout
The foundation for layout managers which are sensitive to width and/or height hints.
AbstractImageFigure
Abstract implementation of the image figure.
AbstractLabeledBorder
Provides support for a border with a label describing the contents of which it is surrounding.
AbstractLayout
Provides generic support for LayoutManagers.
AbstractLocator
Places a figure relative to a point determined by the subclass.
AbstractPointListShape
Base superclass for all polylines/polygons
AbstractRouter
Base class for implementing a connection router.
ActionEvent
An event that occurs as a result of an action being performed.
ActionListener
A Listener interface for receiving `ActionEvents`.
AncestorListener
Classes which implement this interface provide methods to respond to changes in the ancestor properties of a Figure.
AnchorListener
Classes which implement this interface provide a method to notify that an anchor has moved.
Animator
Animates some aspect of a figure.
AutomaticRouter
An abstract router implementation which detects when multiple connections are overlapping.
Bendpoint
A helper used to calculate the point at which a `Connection` should bend.
Border
A decoration on a Figure.
Button
A Button usually has a border and appears to move up and down in response to being pressed.
ButtonBorder.ButtonScheme
Provides for a scheme to represent the borders of clickable figures like buttons.
ButtonGroup
A ButtonGroup holds a group of `Clickable's` models and provides unique selection in them.
ButtonModel
A model for buttons containing several properties, including enabled, pressed, selected, rollover enabled and mouseover.
ChangeEvent
An event for property changes.
ChangeListener
A generic state listener
ChopboxAnchor
The ChopboxAnchor's location is found by calculating the intersection of a line drawn from the center point of its owner's box to a reference point on that box.
Clickable
A Clickable responds to mouse clicks in some way (determined by a ClickBehavior) and fires action events.
ColorConstants
A collection of color-related constants.
ColorProvider
A collection of color-related constants.
CompoundBorder
CompoundBorder allows for the nesting of two borders.
Connection
A Connection is a figure that connects two objects.
ConnectionAnchor
An object to which a `Connection` will be anchored.
ConnectionAnchorBase
Provides support for a ConnectionAnchor.
ConnectionLayer
Layer designed specifically to handle the presence of connections.
ConnectionLocator
Repositions a `Figure` attached to a `Connection` when the Connection is moved.
ConnectionRouter
Routes a `Connection`, possibly using a constraint.
CoordinateListener
EventDispatcher
Listens to various SWT events and dispatches these events to interested Draw2d objects.
EventDispatcher.AccessibilityDispatcher
Combines `AccessibleControlListener` and `AccessibleListener` .
Figure
The base implementation for graphical figures.
Figure.FigureIterator
Deprecated, for removal: This API element is subject to removal in a future version.
use ReverseFigureChildrenIterator instead.
FigureListener
A listener interface for receiving notification that an IFigure has moved.
FlowLayout.WorkingData
Holds the necessary information for layout calculations.
FocusEvent
An event that occurs when an `IFigure` gains or loses focus.
FocusListener
A listener interface for receiving `FocusEvents`.
FocusTraverseManager
This class is a helper to the `SWTEventDispatcher`.
FreeformFigure
A figure that allows its children to extend into negative coordinates.
FreeformLayer
A Layer that can extend in all 4 directions.
FreeformLayeredPane
A LayeredPane that contains `FreeformLayers`.
FreeformListener
Listens for extent changes in `FreeformFigures`.
FreeformViewport
A viewport for `FreeformFigures`.
Graphics
The Graphics class allows you to draw to a surface.
GraphicsSource
Provides a `Graphics` object for painting.
IClippingStrategy
A clipping strategy used to specify the clipping region for child figures.
IFigure
A lightweight graphical object.
IImageFigure
Interface for image figures
IImageFigure.ImageChangedListener
Listener to the image figure to track changes to the containede SWT Image
InputEvent
The base class for Draw2d events.
IScalablePane
Interface for scaleable panes which provides the default functionality for deciding if a scaled graphics or the given graphics should be used for drawing.
KeyEvent
An event caused by the user interacting with the keyboard.
KeyListener
A listener interface for receiving `KeyEvents` from the keyboard.
Label
A figure that can display text and/or an image.
LabeledBorder
LabeledBorders have a text message somewhere on them.
Layer
A transparent figure intended to be added exclusively to a `LayeredPane`, who has the responsibilty of managing its layers.
LayeredPane
A figure capable of holding any number of layers.
LayoutAnimator
Animates the layout of a figure's children.
LayoutListener
Classes which implement this interface provide callback hooks for various layout related events.
LayoutManager
A helper for positioning child figures and determining the ideal size for a figure with children.
LightweightSystem
The LightweightSystem is the link between SWT and Draw2d.
LightweightSystem.EventHandler
Listener used to get all necessary events from the Canvas and pass them on to the `EventDispatcher`.
LightweightSystem.RootFigure
The figure at the root of the LightweightSystem.
Locator
Controls the location of an IFigure.
MarginBorder
A border that provides blank padding.
MouseEvent
An event caused by the user interacting with the mouse.
MouseListener
A listener interface for receiving mouse button events.
MouseMotionListener
A listener interface for receiving mouse motion events.
MouseMotionListener.Stub
An empty implementation of MouseMotionListener for convenience.
MouseWheelListener
A listener interface for receiving mouse wheel events.
OrderedLayout
Abstract superclass for layout managers that arrange their children in columns/rows.
Orientable
An interface for objects that can be either horizontally or vertically oriented.
Polygon
Renders a `PointList` as a polygonal shape.
Polyline
Renders a `PointList` as a series of line segments.
PopUpHelper
Provides abstract support for classes that manage popups.
PositionConstants
Constants representing cardinal directions and relative positions.
PrinterGraphics
A scalable graphics object used to print to a printer.
PrintOperation
Implementation of draw2d's printing capabilities.
RangeModel
This interface represents a range of possible values as well as the current values.
RotatableDecoration
An IFigure that can be rotated.
RoundedRectangle
Draws a Rectangle whose corners are rounded in appearance.
RoutingAnimator
Animates the routing of a connection.
RoutingListener
Classes which implement this interface provide callback hooks for various routing related events.
ScalableFigure
A figure that can be scaled.
ScaledGraphics
A Graphics object able to scale all operations based on the current scale factor.
SchemeBorder
SchemeBorder allows the creation of borders based on `Schemes`.
SchemeBorder.Scheme
Holds a set of information about a border, which can be changed to create a wide range of schemes.
ScrollBar
Provides for the scrollbars used by the `ScrollPane`.
ScrollBar.ThumbDragger
ScrollPane
A class which implements automatic horizontal and/or vertical scrolling for a single IFigure child.
ScrollPaneSolver.Result
Container class for the results of ScrollPaneSolver's solve method
Shape
Provides abstract support for a variety of shapes.
SWTGraphics
A concrete implementation of `Graphics` using an SWT `GC`.
TextUtilities
Provides miscellaneous text operations.
Toggle
Basic Rule for Toggle: Whoever creates the toggle is reponsible for response changes for it (selection, rollover, etc).
ToolTipHelper
This class is used by SWTEventDispatcher as support to display Figure tooltips on a mouse hover event.
TreeSearch
A helper used in depth-first searches of a figure subgraph.
UpdateListener
An interface used to notify listeners that the listened to object is updating.
UpdateManager
Update managers handle the job of laying out and repainting figures.
Viewport
A Viewport is a flexible window onto a `ScrollPane` and represents the visible portion of the ScrollPane.
XYLayout
This class implements the `LayoutManager` interface using the XY Layout algorithm.
Classes in org.eclipse.draw2d used by org.eclipse.draw2d.parts
Class
Description
Figure
The base implementation for graphical figures.
Graphics
The Graphics class allows you to draw to a surface.
IFigure
A lightweight graphical object.
UpdateListener
An interface used to notify listeners that the listened to object is updating.
Viewport
A Viewport is a flexible window onto a `ScrollPane` and represents the visible portion of the ScrollPane.
Classes in org.eclipse.draw2d used by org.eclipse.draw2d.text
Class
Description
AbstractBorder
Provides generic support for borders.
Border
A decoration on a Figure.
Figure
The base implementation for graphical figures.
Graphics
The Graphics class allows you to draw to a surface.
IFigure
A lightweight graphical object.
LayoutManager
A helper for positioning child figures and determining the ideal size for a figure with children.
TextUtilities
Provides miscellaneous text operations.
Classes in org.eclipse.draw2d used by org.eclipse.draw2d.widgets
Class
Description
FigureCanvas
A scrolling Canvas that contains `Figures` viewed through a `Viewport`.