Eclipse Draw2d
2.1

Package org.eclipse.draw2d

Most of the Draw2d classes and interfaces reside in this base package.

See:
          Description

Interface Summary
ActionListener A Listener interface for receiving ActionEvents.
AncestorListener A listener interface for receiving changes in the ancestor hierarchy of the listening IFigure.
AnchorListener A listener interface for receiving notification that an anchor has moved.
Bendpoint A helper used to calculate the point at which a Connection should bend.
Border A Border is a graphical decoration that is painted just inside the outer edge of a Figure.
ButtonBorder.SCHEMES Interface defining commonly used schemes for the ButtonBorder.
ChangeListener A generic state listener
ColorConstants A collection of color-related constants.
Connection A Connection is a figure that connects two objects.
ConnectionAnchor An object to which a Connection will be anchored.
ConnectionRouter Routes a Connection, possibly using a constraint.
FigureListener A listener interface for receiving notification that an IFigure has moved.
FocusListener A listener interface for receiving FocusEvents.
FreeformFigure A figure that allows its children to extend into negative coordinates.
FreeformListener Listens for extent changes in FreeformFigures.
GraphicsSource Provides a Graphics object for painting.
IFigure A lightweight graphical representation.
KeyListener A listener interface for receiving KeyEvents from the keyboard.
LabeledBorder LabeledBorders have a text message somewhere on them.
LayoutManager Lays out figures, using a constraint if necessary.
Locator Controls the location of an IFigure.
MouseListener A listener interface for receiving mouse button events.
MouseMotionListener A listener interface for receiving mouse motion events.
Orientable An interface for objects that can be either horizontally or vertically oriented.
PositionConstants Constants representing cardinal directions and relative positions.
RangeModel This interface represents a range of possible values as well as the current values.
RotatableDecoration An IFigure that can be rotated.
ScalableFigure A figure that can be scaled.
SchemeBorder.SCHEMES Interface which defines some commonly used schemes for the border.
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.
 

Class Summary
AbsoluteBendpoint AbsoluteBendpoint is a Bendpoint that defines its location simply as its X and Y coordinates.
AbstractBorder Provides generic support for borders.
AbstractConnectionAnchor Provides support for anchors which depend on a figure for thier location.
AbstractHintLayout The foundation for layout managers which are sensitive to width and/or height hints.
AbstractLabeledBorder Provides support for a border with a label describing the contents of which it is surrounding.
AbstractLayout Provides generic support for LayoutManagers.
AbstractLocator Repositions a Figure attached to a Connection when the Connection is moved.
AbstractRouter Generic support for ConnectionRouters.
AccessibleBase The base class for accessible objects.
ActionEvent An event that occurs as a result of an action being performed.
AncestorListener.Stub An empty implementation of AncestorListener for convenience.
ArrowButton A Button containing an arrow in it, and providing directional support for the arrow.
ArrowLocator Repositions a Figure attached to a Connection when the Connection is moved.
AutomaticRouter The AutomaticRouter provides the facility to prevent Connections from overlapping.
BendpointConnectionRouter A Router that routes a Connection that has manual Bendpoints.
BendpointLocator Repositions a Bendpoint attached to a Connection when the Connection is moved.
BorderLayout  
Button A Button usually has a border and appears to move up and down in response to being pressed.
ButtonBorder Creates a border for a clickable type of figure, which works in conjunction with the Figure and its model.
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.
CheckBox A Checkbox is a toggle figure which toggles between the checked and unchecked figures to simulate a check box.
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.
CompoundBorder CompoundBorder allows for the nesting of two borders.
ConnectionAnchorBase Provides support for a ConnectionAnchor.
ConnectionEndpointLocator Used to place IFigures along the endpoint or starting point of a Connection.
ConnectionLayer Layer designed specifically to handle the presence of connections.
ConnectionLocator Repositions a Figure attached to a Connection when the Connection is moved.
ConnectionRouter.NullConnectionRouter Routes Connections directly from the source anchor to the target anchor with no bendpoints in between.
Cursors A collection of cursors.
DefaultRangeModel Generic implementation for a RangeModel.
DeferredUpdateManager An UpdateManager that asynchronously updates the affected figures.
DelegatingLayout Figures using a DelegatingLayout as their layout manager give location responsibilities to their children.
Ellipse An figure that draws an ellipse filling its bounds.
EllipseAnchor Similar to a ChopboxAnchor, except this anchor is located on the ellipse defined by the owners bounding box.
EventDispatcher Listens to various SWT events and dispatches these events to interested Draw2d objects.
EventDispatcher.AccessibilityDispatcher Combines AccessibleControlListener and AccessibleListener.
EventListenerList This class is intended for internal use only.
ExclusionSearch A TreeSearch that excludes figures contained in a Collection.
FanRouter Automatic router that spreads its Connections in a fan-like fashion upon collision.
Figure The base implementation for graphical figures.
Figure.FigureIterator Iterates over a Figure's children.
FigureCanvas A Canvas that contains Figures.
FigureUtilities Provides miscellaneous Figure operations.
FlowLayout Lays out children in rows or columns, wrapping when the current row/column is filled.
FocusBorder A Border that looks like the system's focus rectangle.
FocusEvent An event that occurs when an IFigure gains or loses focus.
FocusListener.Stub An empty implementation of FocusListener for convenience.
FocusTraverseManager This class is a helper to the SWTEventDispatcher.
FrameBorder Provides for a frame-like border which contains a title bar for holding the title of a Figure.
FreeformLayer A Layer that can extend in all 4 directions.
FreeformLayeredPane A LayeredPane that contains FreeformLayers.
FreeformLayout A layout for FreeformFigures.
FreeformViewport A viewport for FreeformFigures.
Graphics The Graphics class allows you to draw to a surface.
GroupBoxBorder A labeled border intended to house a Figure with a group of children.
IFigure.NoInsets Insets that are all 0.
ImageFigure A Figure that simply contains an Image.
InputEvent The base class for Draw2d events.
KeyEvent An event caused by the user interacting with the keyboard.
KeyListener.Stub An empty implementation of KeyListener for convenience.
Label A figure that can display text and/or an image.
LabelAnchor LabelAnchors must have an owner of type Label.
LabeledContainer A Container with a title bar describing the contents of the container.
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.
LightweightSystem The LightweightSystem is the link between SWT and Draw2d.
LineBorder Provides for a line border with sides of equal widths.
ManhattanConnectionRouter Provides a Connection with an orthogonal route between the Connection's source and target anchors.
MarginBorder A border that provides blank padding.
MidpointLocator A ConnectionLocator that is used to place figures at the midpoint between two points on a Connection.
MouseEvent An event caused by the user interacting with the mouse.
MouseListener.Stub An empty implementation of MouseListener for convenience.
MouseMotionListener.Stub An empty implementation of MouseMotionListener for convenience.
Panel A General purpose Container.
Polygon Draws a polygon which encloses all of its Points.
PolygonDecoration A rotatable, polygon shaped decoration most commonly used for decorating the ends of polylines.
Polyline Provides for graphical lines comprised of Points.
PolylineConnection Connection based on polyline.
PolylineDecoration A decorative Figure intended to be placed on a Polyline.
PopUpHelper Provides abstract support for classes that manage popups.
PrinterGraphics A scalable graphics object used to print to a printer.
PrintFigureOperation Class responsible for printing Figures.
PrintOperation Implementation of draw2d's printing capabilities.
RectangleFigure Draws a rectangle whose size is determined by the bounds set to it.
RelativeBendpoint RelativeBendpoint is a Bendpoint that calculates its location based on its distance from the start and end points of the Connection, as well as its weight.
RelativeLocator Places a handle relative to a figure's bounds.
RoundedRectangle Draws a Rectangle whose corners are rounded in appearance.
ScalableFreeformLayeredPane  
ScalableLayeredPane A non-freeform, scalable layered pane.
ScaledGraphics A Graphics object able to scale all operations based on the current scale factor.
ScaledGraphics.State The internal state of the scaled graphics.
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.
ScrollBarLayout Lays out the Figures that make up a ScrollBar.
ScrollPane A class which implements automatic horizontal and/or vertical scrolling for a single IFigure child.
ScrollPaneLayout The ScrollPaneLayout is responsible for laying out the Viewport and ScrollBars of a ScrollPane.
ScrollPaneSolver This class handles the calculation of solving for the area of a ScrollPane's viewport and insets.
ScrollPaneSolver.Result Container class for the results of ScrollPaneSolver's solve method
Shape Provides abstract support for a variety of shapes.
SimpleEtchedBorder Provides a two pixel wide constant sized border, having an etched look.
SimpleLoweredBorder Provides a lowered border.
SimpleRaisedBorder Provides a raised border.
StackLayout Figures using the StackLayout as their layout manager have their children placed on top of one another.
SubordinateUpdateManager  
SWTEventDispatcher The SWTEventDispatcher provides draw2d with the ability to dispatch SWT Events.
SWTGraphics Implementation of providing the drawing capabilities of SWT's GC class in Draw2d.
SWTGraphics.State Contains the state variables of this SWTGraphics object
TitleBarBorder Border provides a title bar on the Figure for which this is the border of.
Toggle Basic Rule for Toggle: Whoever creates the toggle is reponsible for response changes for it (selection, rollover, etc).
ToggleButton A Toggle that appears like a 3-dimensional button.
ToggleModel ButtonModel that supports toggle buttons.
ToolbarLayout Arranges figures in a single row or column.
ToolTipHelper This class is used by SWTEventDispatcher as support to display Figure tooltips on a mouse hover event.
Triangle A triangular graphical figure.
UpdateManager Update managers handle the job of repainting and laying out figures.
Viewport A Viewport is a flexible window onto a ScrollPane and represents the visible portion of the ScrollPane.
ViewportLayout Layout for a viewport.
XYAnchor Supports an anchor in the XY layout.
XYLayout This class implements the LayoutManager interface using the XY Layout algorithm.
 

Package org.eclipse.draw2d Description

Most of the Draw2d classes and interfaces reside in this base package.


Eclipse Draw2d
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.