Eclipse Draw2d
2.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

calculateInsets() - Method in class org.eclipse.draw2d.SchemeBorder.Scheme
Calculates and returns the Insets for this border Scheme.
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.TitleBarBorder
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(IFigure) - Method in class org.eclipse.draw2d.AbstractLabeledBorder
Calculates insets based on the current font and other attributes.
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.ViewportLayout
Returns the minimum size required by the input viewport figure.
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.StackLayout
Returns the minimum size required by the input container.
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ScrollPaneLayout
 
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.BorderLayout
 
calculateMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.AbstractHintLayout
Calculates the minimum size using the given width and height hints.
calculateOpaque() - Method in class org.eclipse.draw2d.SchemeBorder.Scheme
Calculates and retuns the opaque state of this border scheme.
calculateOpaque() - Method in class org.eclipse.draw2d.ButtonBorder.ButtonScheme
Calculates and returns the opaque state of this border.
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.XYLayout
Calculates and returns the preferred size of the input figure.
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.ToolbarLayout
Calculates 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.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.ScrollBarLayout
 
calculatePreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.FlowLayout
 
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.BorderLayout
 
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.text.FlowFigureLayout
TextFlowLayouts do not calculate a preferred size because it is too expensive.
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.
CENTER - Static variable in interface org.eclipse.draw2d.PositionConstants
Center (Horizontal)
CENTER - Static variable in class org.eclipse.draw2d.BorderLayout
Constant to be used as a constraint for child figures
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
character - Variable in class org.eclipse.draw2d.KeyEvent
The character that was pressed.
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.
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 XOR or the clip region has change, 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.
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.
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.InlineFlowLayout
 
cleanup() - Method in class org.eclipse.draw2d.text.FlowContainerLayout
Flush anything pending and free all temporary data used during layout.
cleanup() - Method in class org.eclipse.draw2d.text.BlockFlowLayout
 
clear() - Method in class org.eclipse.draw2d.text.CompositeBox
Removes all owned fragments and invalidates this CompositeBox.
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.
clipH - Variable in class org.eclipse.draw2d.SWTGraphics.State
Clip values
clipRect(Rectangle) - Method in class org.eclipse.draw2d.ScaledGraphics
 
clipRect(Rectangle) - Method in class org.eclipse.draw2d.SWTGraphics
 
clipRect(Rectangle) - Method in class org.eclipse.draw2d.Graphics
Sets the clip region to the given rectangle.
clipW - Variable in class org.eclipse.draw2d.SWTGraphics.State
Clip values
clipX - Variable in class org.eclipse.draw2d.SWTGraphics.State
Clip values
clipY - Variable in class org.eclipse.draw2d.SWTGraphics.State
Clip values
clone() - Method in class org.eclipse.draw2d.SWTGraphics.State
 
ColorConstants - interface org.eclipse.draw2d.ColorConstants.
A collection of color-related constants.
commit() - Method in class org.eclipse.draw2d.text.LineBox
Committing a LineBox will position its children correctly.
CompositeBox - class org.eclipse.draw2d.text.CompositeBox.
A FlowBox that can contain other BlockInfos.
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.
computeSize(int, int, boolean) - Method in class org.eclipse.draw2d.FigureCanvas
 
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 - Variable in class org.eclipse.draw2d.ConnectionLayer
The ConnectionRouter used to route all connections on this layer.
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.
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.
contains(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
Returns true if the input Dimension fits into this Dimension.
contains(int, int) - Method in class org.eclipse.draw2d.geometry.Rectangle
Returns whether the given coordinates are within the boundaries of this Rectangle.
contains(Point) - Method in class org.eclipse.draw2d.geometry.Rectangle
Returns whether the given point is 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.Polyline
 
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.Layer
Overridden to implement transparent behavior.
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.Figure
 
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.text.InlineFlow
 
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(Point) - Method in interface org.eclipse.draw2d.IFigure
Returns true if the Point p is contained within this IFigure's bounds.
containsPoint(Point) - Method in class org.eclipse.draw2d.Figure
This method is final.
containsProper(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
Returns true if this Dimension properly contains the one specified.
context - Variable in class org.eclipse.draw2d.text.FlowFigureLayout
The flow context in which this LayoutManager exists.
control - Variable in class org.eclipse.draw2d.SWTEventDispatcher
The control this dispatcher is listening to.
control - Variable in class org.eclipse.draw2d.PopUpHelper
The Control this PopUpHelper's tooltip will belong to.
CONTROL - Static variable in class org.eclipse.draw2d.InputEvent
 
controlResized() - Method in class org.eclipse.draw2d.LightweightSystem
Resizes and revalidates the root figure when the control is resized.
copyFrom(SWTGraphics.State) - Method in class org.eclipse.draw2d.SWTGraphics.State
Copies all state information from the given State to this State
corner - Variable in class org.eclipse.draw2d.RoundedRectangle
The width and height radii applied to each corner.
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.TextFlow
 
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.InlineFlow
 
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.FlowPage
 
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.FlowFigure
Creates the default layout manager
createDefaultFlowLayout() - Method in class org.eclipse.draw2d.text.BlockFlow
 
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.LightweightSystem
Returns a new instance of this LightweightSystem's EventHandler.
createEventHandler() - Method in class org.eclipse.draw2d.Clickable
Returns a newly created event handler for this Clickable and its model.
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.InlineFlowLayout
 
createNewLine() - Method in class org.eclipse.draw2d.text.FlowContainerLayout
Used by getCurrentLine().
createNewLine() - Method in class org.eclipse.draw2d.text.BlockFlowLayout
 
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.
createShell() - Method in class org.eclipse.draw2d.PopUpHelper
Creates a new Shell object with the parameters SWT.NO_TRIM | SWT.NO_FOCUS | SWT.ON_TOP.
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.
CROSS - Static variable in class org.eclipse.draw2d.Cursors
 
currentLine - Variable in class org.eclipse.draw2d.text.FlowContainerLayout
the current line
Cursors - class org.eclipse.draw2d.Cursors.
A collection of cursors.
Cursors() - Constructor for class org.eclipse.draw2d.Cursors
 
cyan - Static variable in interface org.eclipse.draw2d.ColorConstants
Misc. colors

Eclipse Draw2d
2.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, 2003. All Rights Reserved.