# Index

A B C D E F G H I K L M N O P Q R S T U V W X Y
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## C

calculateInsets() - Method in class org.eclipse.draw2d.ButtonBorder.ButtonScheme
  Calculates and returns the Insets for this border.
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.AbstractLabeledBorder
  Calculates insets based on the current font and other attributes.
calculateInsets(IFigure) - Method in class org.eclipse.draw2d.GroupBoxBorder
  Calculates and returns the Insets for this GroupBoxBorder.
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.GridLayout
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.
calculateSelectorBounds() - Method in class org.eclipse.draw2d.parts.ScrollableThumbnail
  Calculate the size and position of the selector Subclasses may override if they only want to show parts of the overall viewport.
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.
capture(IFigure) - Method in class org.eclipse.draw2d.Animator
  Captures the final state of the given figure.
CaretInfo - Class in org.eclipse.draw2d.text
  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.
CaretInfo(CaretInfo) - Constructor for class org.eclipse.draw2d.text.CaretInfo
  Constructs a CaretInfo object by copying the values from another instance.
Cell - Class in org.eclipse.draw2d.graph
Cell(int, int) - Constructor for class org.eclipse.draw2d.graph.Cell
center() - Method in record class org.eclipse.draw2d.geometry.Interval
  Returns the center of this Interval.
CENTER - Static variable in class org.eclipse.draw2d.BorderLayout
  Constant to be used as a constraint for child figures
CENTER - Static variable in class org.eclipse.draw2d.GridData
  Value for horizontalAlignment or verticalAlignment.
CENTER - Static variable in interface org.eclipse.draw2d.PositionConstants
  Center (Horizontal)
ChangeEvent - Class in org.eclipse.draw2d
  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 in org.eclipse.draw2d
  A generic state listener
character - Variable in class org.eclipse.draw2d.KeyEvent
  The character that was pressed.
CheckBox - Class in org.eclipse.draw2d
  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.
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.
childrenContainsPoint(int, int) - Method in class org.eclipse.draw2d.AbstractPointListShape
  Returns `true` if the point `(x, y)` is contained within one of the child figures.
ChopboxAnchor - Class in org.eclipse.draw2d
  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.
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.
Clickable - Class in org.eclipse.draw2d
  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.
clipAtViewports(Rectangle, List<Viewport>) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
  Clips the given clipRect at all given viewports.
clipPath(Path) - Method in class org.eclipse.draw2d.Graphics
  Sets the clip region to the given rectangle.
clipPath(Path) - Method in class org.eclipse.draw2d.ScaledGraphics
clipPath(Path) - Method in class org.eclipse.draw2d.SWTGraphics
  Simple implementation of clipping a Path within the context of current clipping rectangle for now (not region) Note that this method wipes out the clipping rectangle area, hence if clients need to reset it call `SWTGraphics.restoreState()`
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.ScaledGraphics
clipRect(Rectangle) - Method in class org.eclipse.draw2d.SWTGraphics
clone(LineAttributes) - Static method in class org.eclipse.draw2d.SWTGraphics
  Countermeasure against LineAttributes class not having its own clone() method.
ColorConstants - Interface in org.eclipse.draw2d
  A collection of color-related constants.
ColorConstants.SystemColorFactory - Class in org.eclipse.draw2d
  This utility class is used to create a system `Color` using any of the supported `SWT` constants.
ColorProvider - Interface in org.eclipse.draw2d
  A collection of color-related constants.
ColorProvider.SystemColorFactory - Class in org.eclipse.draw2d
commit() - Method in class org.eclipse.draw2d.text.LineRoot
  Committing a LineRoot will position its children correctly.
CompositeBox - Class in org.eclipse.draw2d.text
  A FlowBox that can contain other FlowBoxes.
CompositeBox() - Constructor for class org.eclipse.draw2d.text.CompositeBox
CompoundBorder - Class in org.eclipse.draw2d
  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.
CompoundDirectedGraph - Class in org.eclipse.draw2d.graph
  A `DirectedGraph` whose Nodes may be compound `Subgraph`s, which may contain other nodes.
CompoundDirectedGraph() - Constructor for class org.eclipse.draw2d.graph.CompoundDirectedGraph
CompoundDirectedGraphLayout - Class in org.eclipse.draw2d.graph
  Performs a graph layout on a `CompoundDirectedGraph`.
CompoundDirectedGraphLayout() - Constructor for class org.eclipse.draw2d.graph.CompoundDirectedGraphLayout
computeSize(int, int, boolean) - Method in class org.eclipse.draw2d.FigureCanvas
Connection - Interface in org.eclipse.draw2d
  A Connection is a figure that connects two objects.
ConnectionAnchor - Interface in org.eclipse.draw2d
  An object to which a `Connection` will be anchored.
ConnectionAnchorBase - Class in org.eclipse.draw2d
  Provides support for a ConnectionAnchor.
ConnectionAnchorBase() - Constructor for class org.eclipse.draw2d.ConnectionAnchorBase
ConnectionEndpointLocator - Class in org.eclipse.draw2d
  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 in org.eclipse.draw2d
  Layer designed specifically to handle the presence of connections.
ConnectionLayer() - Constructor for class org.eclipse.draw2d.ConnectionLayer
ConnectionLocator - Class in org.eclipse.draw2d
  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 - Variable in class org.eclipse.draw2d.ConnectionLayer
  The ConnectionRouter used to route all connections on this layer.
ConnectionRouter - Interface in org.eclipse.draw2d
  Routes a `Connection`, possibly using a constraint.
ConnectionRouter.NullConnectionRouter - Class in org.eclipse.draw2d
  Routes Connections directly from the source anchor to the target anchor with no bendpoints in between.
constraints - Variable in class org.eclipse.draw2d.GridLayout
  The layout contraints
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(double, double) - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
contains(double, double) - Method in class org.eclipse.draw2d.geometry.Rectangle
  Returns whether the given coordinates are within the boundaries of this Rectangle.
contains(int) - Method in record class org.eclipse.draw2d.geometry.Interval
  Returns whether the given value is within [begin, begin + length).
contains(int, int) - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
contains(int, int) - Method in class org.eclipse.draw2d.geometry.Rectangle
  Returns whether the given coordinates are within the boundaries of this Rectangle.
contains(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
  Returns `true` if the input Dimension fits into this Dimension.
contains(Dimension) - Method in class org.eclipse.draw2d.geometry.PrecisionDimension
contains(Point) - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
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.PrecisionRectangle
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(Vector) - Method in class org.eclipse.draw2d.geometry.Straight
  Calculates whether the point indicated by the provided Vector is a point on this Straight.
containsConnection(Connection) - Method in class org.eclipse.draw2d.ShortestPathConnectionRouter
  Returns true if the given connection is routed by this router, false otherwise
containsListener(Class<T>) - 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.AbstractPointListShape
containsPoint(int, int) - Method in class org.eclipse.draw2d.Ellipse
  Returns `true` if the given point (x,y) is contained within this ellipse.
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(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
containsPoint(Point) - Method in class org.eclipse.draw2d.Figure
  This method is final.
containsPoint(Point) - Method in interface org.eclipse.draw2d.IFigure
  Returns `true` if the Point p is contained within this IFigure's bounds.
containsProper(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
  Returns `true` if this Dimension properly contains the one specified.
containsProper(Dimension) - Method in class org.eclipse.draw2d.geometry.PrecisionDimension
containsWithinSegment(Vector, Vector, Vector) - Method in class org.eclipse.draw2d.geometry.Straight
  Calculates whether the point indicated by the provided Vector is a point on the straight segment between the given start and end points.
ContentBox - Class in org.eclipse.draw2d.text
  FlowBoxes that are leaf nodes.
ContentBox() - Constructor for class org.eclipse.draw2d.text.ContentBox
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.
CONTROL - Static variable in class org.eclipse.draw2d.InputEvent
  Deprecated.
  Use `SWT.CONTROL` instead.
controlResized() - Method in class org.eclipse.draw2d.LightweightSystem
  Resizes and revalidates the root figure when the control is resized.
CoordinateListener - Interface in org.eclipse.draw2d
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.
copyLineAttributes(LineAttributes, LineAttributes) - Static method in class org.eclipse.draw2d.SWTGraphics
  Countermeasure against LineAttributes class not having a copy by value function.
corner - Variable in class org.eclipse.draw2d.RoundedRectangle
  Deprecated.
  Use `RoundedRectangle.getCornerDimensions()` instead.
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.PuristicScrollPane.PuristicScrollBar
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.PuristicScrollPane.PuristicScrollBar
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.PuristicScrollPane.PuristicScrollBar
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.PuristicScrollPane
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.PuristicScrollPane.PuristicScrollBar
createPageDown() - Method in class org.eclipse.draw2d.ScrollBar
  Creates the pagedown Figure for the Scrollbar.
createPageUp() - Method in class org.eclipse.draw2d.PuristicScrollPane.PuristicScrollBar
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.PuristicScrollPane
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
  Deprecated.
  Use `Rectangle.shrink(Insets)` instead.
CROSS - Static variable in class org.eclipse.draw2d.Cursors
Cursors - Class in org.eclipse.draw2d
  A collection of cursors.
Cursors() - Constructor for class org.eclipse.draw2d.Cursors
cyan - Static variable in interface org.eclipse.draw2d.ColorConstants
  One of the pre-defined colors

A B C D E F G H I K L M N O P Q R S T U V W X Y
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form