Eclipse Draw2d
3.1
A B C D E F G H I K L M N O P Q R S T U V W X Y

C

CENTER - Static variable in class org.eclipse.draw2d.BorderLayout
Constant to be used as a constraint for child figures
CENTER - Static variable in interface org.eclipse.draw2d.PositionConstants
Center (Horizontal)
CONTROL - Static variable in class org.eclipse.draw2d.InputEvent
 
CROSS - Static variable in class org.eclipse.draw2d.Cursors
 
CaretInfo - class org.eclipse.draw2d.text.CaretInfo.
Stores positional information about where a caret should be placed.
CaretInfo(int, int, int, int, int, int) - Constructor for class org.eclipse.draw2d.text.CaretInfo
Constructor for use by TextFlow.
ChangeEvent - class org.eclipse.draw2d.ChangeEvent.
An event for property changes.
ChangeEvent(Object) - Constructor for class org.eclipse.draw2d.ChangeEvent
Constructs a new ChangeEvent with the given object as the source of the event.
ChangeEvent(Object, String) - Constructor for class org.eclipse.draw2d.ChangeEvent
Constructs a new ChangeEvent with the given source object and property name.
ChangeListener - interface org.eclipse.draw2d.ChangeListener.
A generic state listener
CheckBox - class org.eclipse.draw2d.CheckBox.
A Checkbox is a toggle figure which toggles between the checked and unchecked figures to simulate a check box.
CheckBox() - Constructor for class org.eclipse.draw2d.CheckBox
Constructs a CheckBox with no text.
CheckBox(String) - Constructor for class org.eclipse.draw2d.CheckBox
Constructs a CheckBox with the passed text in its label.
ChopboxAnchor - class org.eclipse.draw2d.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.
ChopboxAnchor() - Constructor for class org.eclipse.draw2d.ChopboxAnchor
Constructs a new ChopboxAnchor.
ChopboxAnchor(IFigure) - Constructor for class org.eclipse.draw2d.ChopboxAnchor
Constructs a ChopboxAnchor with the given owner figure.
Clickable - class org.eclipse.draw2d.Clickable.
A Clickable responds to mouse clicks in some way (determined by a ClickBehavior) and fires action events.
Clickable() - Constructor for class org.eclipse.draw2d.Clickable
Constructs a Clickable with no contents.
Clickable(IFigure) - Constructor for class org.eclipse.draw2d.Clickable
Constructs a Clickable whose contents are provided as input.
Clickable(IFigure, int) - Constructor for class org.eclipse.draw2d.Clickable
Constructs a Clickable whose contents are provided as input.
ColorConstants - interface org.eclipse.draw2d.ColorConstants.
A collection of color-related constants.
CompositeBox - class org.eclipse.draw2d.text.CompositeBox.
A FlowBox that can contain other FlowBoxes.
CompositeBox() - Constructor for class org.eclipse.draw2d.text.CompositeBox
 
CompoundBorder - class org.eclipse.draw2d.CompoundBorder.
CompoundBorder allows for the nesting of two borders.
CompoundBorder() - Constructor for class org.eclipse.draw2d.CompoundBorder
Constructs a default CompoundBorder with no borders under it.
CompoundBorder(Border, Border) - Constructor for class org.eclipse.draw2d.CompoundBorder
Constructs a CompoundBorder with the two borders specified as input.
CompoundBreakCycles - class org.eclipse.draw2d.internal.graph.CompoundBreakCycles.
This visitor eliminates cycles in the graph via a modified implementation of the greedy cycle removal algorithm for directed graphs.
CompoundBreakCycles() - Constructor for class org.eclipse.draw2d.internal.graph.CompoundBreakCycles
 
CompoundDirectedGraph - class org.eclipse.draw2d.graph.CompoundDirectedGraph.
A DirectedGraph whose Nodes may be compound Subgraphs, which may contain other nodes.
CompoundDirectedGraph() - Constructor for class org.eclipse.draw2d.graph.CompoundDirectedGraph
 
CompoundDirectedGraphLayout - class org.eclipse.draw2d.graph.CompoundDirectedGraphLayout.
Performs a graph layout on a CompoundDirectedGraph.
CompoundDirectedGraphLayout() - Constructor for class org.eclipse.draw2d.graph.CompoundDirectedGraphLayout
 
CompoundHorizontalPlacement - class org.eclipse.draw2d.internal.graph.CompoundHorizontalPlacement.
Calculates the X-coordinates for nodes in a compound directed graph.
CompoundHorizontalPlacement() - Constructor for class org.eclipse.draw2d.internal.graph.CompoundHorizontalPlacement
 
CompoundPopulateRanks - class org.eclipse.draw2d.internal.graph.CompoundPopulateRanks.
Places nodes into ranks for a compound directed graph.
CompoundPopulateRanks() - Constructor for class org.eclipse.draw2d.internal.graph.CompoundPopulateRanks
 
CompoundRankSorter - class org.eclipse.draw2d.internal.graph.CompoundRankSorter.
Sorts nodes in a compound directed graph.
CompoundRankSorter() - Constructor for class org.eclipse.draw2d.internal.graph.CompoundRankSorter
 
CompoundVerticalPlacement - class org.eclipse.draw2d.internal.graph.CompoundVerticalPlacement.
calculates the height and y-coordinates for nodes and subgraphs in a compound directed graph.
CompoundVerticalPlacement() - Constructor for class org.eclipse.draw2d.internal.graph.CompoundVerticalPlacement
 
Connection - interface org.eclipse.draw2d.Connection.
A Connection is a figure that connects two objects.
ConnectionAnchor - interface org.eclipse.draw2d.ConnectionAnchor.
An object to which a Connection will be anchored.
ConnectionAnchorBase - class org.eclipse.draw2d.ConnectionAnchorBase.
Provides support for a ConnectionAnchor.
ConnectionAnchorBase() - Constructor for class org.eclipse.draw2d.ConnectionAnchorBase
 
ConnectionEndpointLocator - class org.eclipse.draw2d.ConnectionEndpointLocator.
Used to place IFigures along the endpoint or starting point of a Connection.
ConnectionEndpointLocator(Connection, boolean) - Constructor for class org.eclipse.draw2d.ConnectionEndpointLocator
Constructs a ConnectionEndpointLocator using the given Connection.
ConnectionLayer - class org.eclipse.draw2d.ConnectionLayer.
Layer designed specifically to handle the presence of connections.
ConnectionLayer() - Constructor for class org.eclipse.draw2d.ConnectionLayer
 
ConnectionLocator - class org.eclipse.draw2d.ConnectionLocator.
Repositions a Figure attached to a Connection when the Connection is moved.
ConnectionLocator(Connection) - Constructor for class org.eclipse.draw2d.ConnectionLocator
Constructs a ConnectionLocator with the passed connection and ConnectionLocator.MIDDLE alignment.
ConnectionLocator(Connection, int) - Constructor for class org.eclipse.draw2d.ConnectionLocator
Constructs a ConnectionLocator with the passed Connection and alignment.
ConnectionRouter - interface org.eclipse.draw2d.ConnectionRouter.
Routes a Connection, possibly using a constraint.
ConnectionRouter.NullConnectionRouter - class org.eclipse.draw2d.ConnectionRouter.NullConnectionRouter.
Routes Connections directly from the source anchor to the target anchor with no bendpoints in between.
ContentBox - class org.eclipse.draw2d.text.ContentBox.
FlowBoxes that are leaf nodes.
ContentBox() - Constructor for class org.eclipse.draw2d.text.ContentBox
 
ConvertCompoundGraph - class org.eclipse.draw2d.internal.graph.ConvertCompoundGraph.
Converts a compound directed graph into a simple directed graph.
ConvertCompoundGraph() - Constructor for class org.eclipse.draw2d.internal.graph.ConvertCompoundGraph
 
CoordinateListener - interface org.eclipse.draw2d.CoordinateListener.
 
Cursors - class org.eclipse.draw2d.Cursors.
A collection of cursors.
Cursors() - Constructor for class org.eclipse.draw2d.Cursors
 
calculateInsets(IFigure) - Method in class org.eclipse.draw2d.AbstractLabeledBorder
Calculates insets based on the current font and other attributes.
calculateInsets() - Method in class org.eclipse.draw2d.ButtonBorder.ButtonScheme
Calculates and returns the Insets for this border.
calculateInsets(IFigure) - Method in class org.eclipse.draw2d.GroupBoxBorder
Calculates and returns the Insets for this GroupBoxBorder.
calculateInsets() - Method in class org.eclipse.draw2d.SchemeBorder.Scheme
Calculates and returns the Insets for this border Scheme.
calculateInsets(IFigure) - Method in class org.eclipse.draw2d.TitleBarBorder
Calculates and returns the Insets for this border.
calculateLabelSize(Dimension) - Method in class org.eclipse.draw2d.Label
Calculates the size of the Label using the passed Dimension as the size of the Label's text.
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.AbstractHintLayout
Calculates the minimum size using the given width and height hints.
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.BorderLayout
 
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ScrollPaneLayout
 
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.StackLayout
Returns the minimum size required by the input container.
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ToolbarLayout
Calculates the minimum size of the container based on the given hints.
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ViewportLayout
Returns the minimum size required by the input viewport figure.
calculateOpaque() - Method in class org.eclipse.draw2d.ButtonBorder.ButtonScheme
Calculates and returns the opaque state of this border.
calculateOpaque() - Method in class org.eclipse.draw2d.SchemeBorder.Scheme
Calculates and retuns the opaque state of this border scheme.
calculatePreferredSize(IFigure) - Method in class org.eclipse.draw2d.AbstractLayout
This method is now AbstractLayout.calculatePreferredSize(IFigure, int, int).
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.AbstractLayout
Calculates the preferred size of the given figure, using width and height hints.
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.BorderLayout
 
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.DelegatingLayout
Calculates the preferred size of the given Figure.
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.FlowLayout
 
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ScrollBarLayout
 
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ScrollPaneLayout
Calculates and returns the preferred size of the container based on the given hints.
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.StackLayout
Calculates and returns the preferred size of the given figure.
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ToolbarLayout
Calculates the preferred size of the container based on the given hints.
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ViewportLayout
Calculates and returns the preferred size of the figure based on the given hints.
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.XYLayout
Calculates and returns the preferred size of the input figure.
calculateRank() - Method in class org.eclipse.draw2d.graph.EdgeList
For internal use only.
calculateSubStringTextSize() - Method in class org.eclipse.draw2d.Label
Calculates the size of the Label's text size.
calculateTextSize() - Method in class org.eclipse.draw2d.Label
Calculates and returns the size of the Label's text.
candidates - Variable in class org.eclipse.draw2d.internal.graph.InitialRankSolver
 
candidates - Variable in class org.eclipse.draw2d.internal.graph.TightSpanningTreeSolver
 
character - Variable in class org.eclipse.draw2d.KeyEvent
The character that was pressed.
checkFill() - Method in class org.eclipse.draw2d.SWTGraphics
If the background color has changed, this change will be pushed to the GC.
checkGC() - Method in class org.eclipse.draw2d.SWTGraphics
If the rendering hints or the clip region has changed, these changes will be pushed to the GC.
checkPaint() - Method in class org.eclipse.draw2d.SWTGraphics
If the line width, line style, foreground or background colors have changed, these changes will be pushed to the GC.
checkText() - Method in class org.eclipse.draw2d.SWTGraphics
If the font has changed, this change will be pushed to the GC.
cleanup() - Method in class org.eclipse.draw2d.PrintOperation
Disposes the PrinterGraphics and GC objects associated with this PrintOperation.
cleanup() - Method in class org.eclipse.draw2d.text.BlockFlowLayout
 
cleanup() - Method in class org.eclipse.draw2d.text.FlowContainerLayout
Flush anything pending and free all temporary data used during layout.
clipRect(Rectangle) - Method in class org.eclipse.draw2d.Graphics
Sets the clip region to the given rectangle.
clipRect(Rectangle) - Method in class org.eclipse.draw2d.SWTGraphics
 
clipRect(Rectangle) - Method in class org.eclipse.draw2d.ScaledGraphics
 
commit() - Method in class org.eclipse.draw2d.text.LineRoot
Committing a LineRoot will position its children correctly.
computeSize(int, int, boolean) - Method in class org.eclipse.draw2d.FigureCanvas
 
connectionRouter - Variable in class org.eclipse.draw2d.ConnectionLayer
The ConnectionRouter used to route all connections on this layer.
constraints - Variable in class org.eclipse.draw2d.XYLayout
The layout contraints
consume() - Method in class org.eclipse.draw2d.InputEvent
Marks this event as consumed so that it doesn't get passed on to other listeners.
containment - Variable in class org.eclipse.draw2d.graph.CompoundDirectedGraph
For internal use only.
contains(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
Returns true if the input Dimension fits into this Dimension.
contains(Point) - Method in class org.eclipse.draw2d.geometry.Rectangle
Returns whether the given point is within the boundaries of this Rectangle.
contains(Rectangle) - Method in class org.eclipse.draw2d.geometry.Rectangle
Returns true if the given rectangle is contained within the boundaries of this Rectangle.
contains(int, int) - Method in class org.eclipse.draw2d.geometry.Rectangle
Returns whether the given coordinates are within the boundaries of this Rectangle.
containsListener(Class) - Method in class org.eclipse.draw2d.EventListenerList
Returns true if this list of listeners contains a listener of type c.
containsPoint(int, int) - Method in class org.eclipse.draw2d.Ellipse
Returns true if the given point (x,y) is contained within this ellipse.
containsPoint(Point) - Method in class org.eclipse.draw2d.Figure
This method is final.
containsPoint(int, int) - Method in class org.eclipse.draw2d.Figure
 
containsPoint(int, int) - Method in interface org.eclipse.draw2d.IFigure
Returns true if the point (x, y) is contained within this IFigure's bounds.
containsPoint(Point) - Method in interface org.eclipse.draw2d.IFigure
Returns true if the Point p is contained within this IFigure's bounds.
containsPoint(int, int) - Method in class org.eclipse.draw2d.Layer
Overridden to implement transparent behavior.
containsPoint(int, int) - Method in class org.eclipse.draw2d.Polygon
Returns whether the point (x,y) is contained inside this polygon.
containsPoint(int, int) - Method in class org.eclipse.draw2d.Polyline
 
containsPoint(int, int) - Method in class org.eclipse.draw2d.text.BlockBox
 
containsPoint(int, int) - Method in class org.eclipse.draw2d.text.FlowBox
This method must be called on a block that is completely positioned and committed.
containsPoint(int, int) - Method in class org.eclipse.draw2d.text.InlineFlow
Extended to return false if the point is not also contained by at least one fragment.
containsPoint(int, int) - Method in class org.eclipse.draw2d.text.LineRoot
A LineRoot cannot be targetted.
containsPoint(int, int) - Method in class org.eclipse.draw2d.text.NestedLine
 
containsPoint(int, int) - Method in class org.eclipse.draw2d.text.TextFragmentBox
 
containsProper(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
Returns true if this Dimension properly contains the one specified.
contributeBidi(BidiProcessor) - Method in class org.eclipse.draw2d.text.BlockFlow
BlockFlows contribute a paragraph separator so as to keep the Bidi state of the text on either side of this block from affecting each other.
contributeBidi(BidiProcessor) - Method in class org.eclipse.draw2d.text.FlowAdapter
This FlowFigure contributes an Object Replacement Character.
contributeBidi(BidiProcessor) - Method in class org.eclipse.draw2d.text.FlowFigure
FlowFigures can contribute text for their block to the given BidiProcessor, which will process the contributions to determine Bidi levels and shaping requirements.
contributeBidi(BidiProcessor) - Method in class org.eclipse.draw2d.text.TextFlow
A TextFlow contributes its text.
control - Variable in class org.eclipse.draw2d.PopUpHelper
The Control this PopUpHelper's tooltip will belong to.
control - Variable in class org.eclipse.draw2d.SWTEventDispatcher
The control this dispatcher is listening to.
controlResized() - Method in class org.eclipse.draw2d.LightweightSystem
Resizes and revalidates the root figure when the control is resized.
coordinateSystemChanged(IFigure) - Method in interface org.eclipse.draw2d.CoordinateListener
Indicates that the coordinate system has changed in a way that affects the absolute locations of contained figures.
corner - Variable in class org.eclipse.draw2d.RoundedRectangle
The width and height radii applied to each corner.
count() - Method in class org.eclipse.draw2d.graph.Rank
Returns the number of nodes in this rank.
createBorders() - Method in class org.eclipse.draw2d.FrameBorder
Creates the necessary borders for this FrameBorder.
createDefaultDownButton() - Method in class org.eclipse.draw2d.ScrollBar
Creates the default 'Down' ArrowButton for the ScrollBar.
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.BlockFlow
 
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.FlowAdapter
 
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.FlowFigure
Creates the default layout manager
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.FlowPage
 
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.InlineFlow
 
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.TextFlow
 
createDefaultModel() - Method in class org.eclipse.draw2d.Clickable
Returns a newly created ButtonModel as the default model to be used by this Clickable based on the button style.
createDefaultThumb() - Method in class org.eclipse.draw2d.ScrollBar
Creates the Scrollbar's "thumb", the draggable Figure that indicates the Scrollbar's position.
createDefaultUpButton() - Method in class org.eclipse.draw2d.ScrollBar
Creates the default 'Up' ArrowButton for the ScrollBar.
createEventHandler() - Method in class org.eclipse.draw2d.Clickable
Returns a newly created event handler for this Clickable and its model.
createEventHandler() - Method in class org.eclipse.draw2d.LightweightSystem
Returns a new instance of this LightweightSystem's EventHandler.
createHorizontalScrollBar() - Method in class org.eclipse.draw2d.ScrollPane
Creates a new horizontally oriented ScrollBar and adds it to this ScrollPane.
createLightweightSystem() - Method in class org.eclipse.draw2d.PopUpHelper
Creates and returns the LightweightSystem object used by PopUpHelper to draw upon.
createModelObserver() - Method in class org.eclipse.draw2d.Clickable
Returns a newly created model observer which listens to the model, and fires any action or state changes.
createNewLine() - Method in class org.eclipse.draw2d.text.BlockFlowLayout
 
createNewLine() - Method in class org.eclipse.draw2d.text.FlowContainerLayout
Used by getCurrentLine().
createNewLine() - Method in class org.eclipse.draw2d.text.InlineFlowLayout
 
createPageDown() - Method in class org.eclipse.draw2d.ScrollBar
Creates the pagedown Figure for the Scrollbar.
createPageUp() - Method in class org.eclipse.draw2d.ScrollBar
Creates the pageup Figure for the Scrollbar.
createRootFigure() - Method in class org.eclipse.draw2d.LightweightSystem
Creates and returns the root figure.
createRotatedImage(Image) - Static method in class org.eclipse.draw2d.ImageUtilities
Returns a new Image that is the given Image rotated left by 90 degrees.
createRotatedImageOfString(String, Font, Color, Color) - Static method in class org.eclipse.draw2d.ImageUtilities
Returns a new Image with the given String rotated left (by 90 degrees).
createShadedImage(Image, Color) - Static method in class org.eclipse.draw2d.ImageUtilities
Creates an ImageData representing the given Image shaded with the given Color.
createShell() - Method in class org.eclipse.draw2d.PopUpHelper
Creates a new Shell object with the style specified for this helper.
createTriangle() - Method in class org.eclipse.draw2d.ArrowButton
Contructs a triangle with a black background pointing north, and sets it as the contents of the button.
createVerticalScrollBar() - Method in class org.eclipse.draw2d.ScrollPane
Creates a new vertically oriented ScrollBar and adds it to this ScrollPane.
createViewport() - Method in class org.eclipse.draw2d.ScrollPane
Creates a new Viewport and adds it to this ScrollPane.
crop(Insets) - Method in class org.eclipse.draw2d.geometry.Rectangle
Crops this rectangle by the amount specified in insets.
cut - Variable in class org.eclipse.draw2d.graph.Edge
For internal use only.
cyan - Static variable in interface org.eclipse.draw2d.ColorConstants
One of the pre-defined colors

Eclipse Draw2d
3.1
A B C D E F G H I K L M N O P Q R S T U V W X Y
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.