Uses of Interface
org.eclipse.draw2d.IFigure
Packages that use IFigure
Package
Description
Primary package containing general interfaces and implementation classes.
This package contains some complex parts used with Draw2d.
Figures and support classes related to the layout and rendering of rich text.
-
Uses of IFigure in org.eclipse.draw2d
Subinterfaces of IFigure in org.eclipse.draw2dModifier and TypeInterfaceDescriptioninterface
A Connection is a figure that connects two objects.interface
A figure that allows its children to extend into negative coordinates.interface
Interface for image figuresinterface
Interface for scaleable panes which provides the default functionality for deciding if a scaled graphics or the given graphics should be used for drawing.interface
Interface to stereotype those figures that contain a ScrollPane with a nested Viewport.interface
An interface for objects that can be either horizontally or vertically oriented.interface
An IFigure that can be rotated.interface
A figure that can be scaled.Classes in org.eclipse.draw2d that implement IFigureModifier and TypeClassDescriptionclass
Abstract implementation of the image figure.class
Base superclass for all polylines/polygonsclass
A Button which displays a triangle pointing in a specified direction.class
A Button usually has a border and appears to move up and down in response to being pressed.final class
A Checkbox is a toggle figure which toggles between the checked and unchecked figures to simulate a check box.class
A Clickable responds to mouse clicks in some way (determined by a ClickBehavior) and fires action events.class
Layer designed specifically to handle the presence of connections.class
Lightweight Container which just draws the children according to the given layout.class
An figure that draws an ellipse filling its bounds.class
The base implementation for graphical figures.class
A Layer that can extend in all 4 directions.class
A LayeredPane that containsFreeformLayers
.class
A viewport forFreeformFigures
.class
A figure used to render a partly transparent copy of an original source figure.class
A Figure that simply contains an Image.class
A figure that can display text and/or an image.class
A Container with a title bar describing the contents of the container.class
A transparent figure intended to be added exclusively to aLayeredPane
, who has the responsibilty of managing its layers.class
A figure capable of holding any number of layers.protected class
The figure at the root of the LightweightSystem.class
A General purpose Container.class
Renders aPointList
as a polygonal shape.class
A rotatable, polygon shaped decoration most commonly used for decorating the ends ofpolylines
.class
Renders aPointList
as a polygonal shape.class
Renders aPointList
as a series of line segments.class
An implementation ofConnection
based on Polyline.class
A decorative Figure intended to be placed on aPolyline
.class
Renders aPointList
as a series of line segments.class
AScrollPane
with transparentScrollBar
s.class
AScrollBar
with no thumb and non-opaque buttons.class
Draws a rectangle whose size is determined by the bounds set to it.class
Draws a Rectangle whose corners are rounded in appearance.class
class
A non-freeform, scalable layered pane.class
Renders aPointList
as a polygonal shape scaled in accordance with bounds to fill whole figure.class
Provides for the scrollbars used by theScrollPane
.class
A class which implements automatic horizontal and/or vertical scrolling for a single IFigure child.class
Provides abstract support for a variety of shapes.class
Basic Rule for Toggle: Whoever creates the toggle is reponsible for response changes for it (selection, rollover, etc).class
A Toggle that appears like a 3-dimensional button.final class
A triangular graphical figure.class
A Viewport is a flexible window onto aScrollPane
and represents the visible portion of the ScrollPane.Fields in org.eclipse.draw2d declared as IFigureModifier and TypeFieldDescriptionFocusEvent.gainer
The figure gaining focusFocusEvent.loser
The figure losing focusprotected IFigure
SubordinateUpdateManager.root
Deprecated.A root figure.IFigure[]
FlowLayout.WorkingData.row
protected IFigure
Figure.toolTip
Deprecated.Fields in org.eclipse.draw2d with type parameters of type IFigureModifier and TypeFieldDescriptionAbstractConstraintLayout.constraints
The layout constraintsGridLayout.constraints
The layout contraintsMethods in org.eclipse.draw2d that return IFigureModifier and TypeMethodDescriptionprotected IFigure
PuristicScrollPane.PuristicScrollBar.createDefaultThumb()
protected IFigure
ScrollBar.createDefaultThumb()
Creates the Scrollbar's "thumb", the draggable Figure that indicates the Scrollbar's position.static IFigure
FigureUtilities.findCommonAncestor
(IFigure l, IFigure r) Returns the figure which is the nearest common ancestor of both figures, ornull
if there is no common ancestor.protected IFigure
Figure.findDescendantAtExcluding
(int x, int y, TreeSearch search) Returns a descendant of this Figure such that the Figure returned contains the point (x, y), and is accepted by the given TreeSearch.final IFigure
Figure.findFigureAt
(int x, int y) Figure.findFigureAt
(int x, int y, TreeSearch search) final IFigure
Figure.findFigureAt
(Point pt) IFigure.findFigureAt
(int x, int y) Returns the IFigure at the specified location.IFigure.findFigureAt
(int x, int y, TreeSearch search) Returns the IFigure at the specified location based on the conditional TreeSearch.IFigure.findFigureAt
(Point p) Returns the IFigure at the specified location.Layer.findFigureAt
(int x, int y, TreeSearch search) Overridden to implement transparency.final IFigure
Figure.findFigureAtExcluding
(int x, int y, Collection<IFigure> c) IFigure.findFigureAtExcluding
(int x, int y, Collection<IFigure> collection) Returns the IFigure at the specified location, excluding any IFigures incollection
.Figure.findMouseEventTargetAt
(int x, int y) Returns the deepest descendant for whichFigure.isMouseEventTarget()
returnstrue
ornull
if none found.IFigure.findMouseEventTargetAt
(int x, int y) Returns the IFigure located at the given location which will accept mouse events.protected IFigure
Figure.findMouseEventTargetInDescendantsAt
(int x, int y) Searches this Figure's children for the deepest descendant for whichFigure.isMouseEventTarget()
returnstrue
and returns that descendant ornull
if none found.protected IFigure
ScrollBar.getButtonDown()
Returns the figure used as the down button.protected IFigure
ScrollBar.getButtonUp()
Returns the figure used as the up button.ShortestPathConnectionRouter.getContainer()
FigureCanvas.getContents()
ScrollPane.getContents()
Returns the contents of the viewport.Viewport.getContents()
Returns the view, which is the contents of theScrollPane
associated with this Viewport.FocusTraverseManager.getCurrentFocusOwner()
protected IFigure
SWTEventDispatcher.getCursorTarget()
Returns the figure that the cursor is over.abstract IFigure
EventDispatcher.getFocusOwner()
Returns the IFigure that currently has focus.SWTEventDispatcher.getFocusOwner()
protected abstract IFigure
SubordinateUpdateManager.getHost()
Deprecated.Returns the host figure.protected IFigure
SWTEventDispatcher.getMouseTarget()
Returns the figure that is the target of mouse events.FocusTraverseManager.getNextFocusableFigure
(IFigure root, IFigure prevFocus) Returns the IFigure that will receive focus upon a 'tab' traverse event.AbstractConnectionAnchor.getOwner()
Returns the owner Figure on which this anchor's location is dependent.ConnectionAnchor.getOwner()
Returns the IFigure that contains this ConnectionAnchor.XYAnchor.getOwner()
Returnsnull
as these anchors inherently do not depend on other figures for their location.protected IFigure
ScrollBar.getPageDown()
Returns the figure used for page down.protected IFigure
ScrollBar.getPageUp()
Returns the figure used for page up.Figure.getParent()
IFigure.getParent()
Returns the IFigure that is the current parent of this IFigure ornull
if there is no parent.FocusTraverseManager.getPreviousFocusableFigure
(IFigure root, IFigure prevFocus) Returns the IFigure that will receive focus upon a 'shift-tab' traverse event.protected IFigure
PrintFigureOperation.getPrintSource()
Returns the printSource.protected IFigure
RelativeLocator.getReferenceFigure()
Returns the Figure this locator is relative to.static IFigure
Returns the highest ancestor for the given figureprotected IFigure
SWTEventDispatcher.getRoot()
Returns the root figure for this dispatcher.LightweightSystem.getRootFigure()
Returns this LightweightSystem's root figure.protected IFigure
ScrollBar.getThumb()
Returns the figure used as the scrollbar's thumb.Figure.getToolTip()
IFigure.getToolTip()
Returns a IFigure that is the tooltip for this IFigure.ScrollPane.getView()
Deprecated.use getContents()Figure.ReverseFigureChildrenIterator.next()
Figure.FigureIterator.nextFigure()
Deprecated.Returns the next Figure.Methods in org.eclipse.draw2d that return types with arguments of type IFigureModifier and TypeMethodDescriptionFigure.getChildren()
IFigure.getChildren()
Returns an unmodifiable list of children by reference.Figure.getChildrenRevIterable()
Provide an iterable that will iterate in reverse over all children of this figure.Methods in org.eclipse.draw2d with parameters of type IFigureModifier and TypeMethodDescriptionboolean
boolean
Always returnstrue
.boolean
Returnstrue
if the given figure is accepted by the search.void
Adds the given figure with the given contraint at the given index.final void
CallsFigure.add(IFigure, Object, int)
withnull
as the constraint and -1 as the index.final void
CallsFigure.add(IFigure, Object, int)
withnull
as the constraint.final void
CallsFigure.add(IFigure, Object, int)
with -1 as the index.void
void
void
void
Adds the given IFigure as a child of this IFigure.void
Adds the given IFigure as a child of this IFigure at the given index.void
Adds the given IFigure as a child of this IFigure with the given constraint.void
Adds the child with the specified index and constraint.void
Adds the given layer figure, identifiable with the given key, at the specified index.void
DeferredUpdateManager.addDirtyRegion
(IFigure figure, int x, int y, int w, int h) Adds a dirty region (defined by the rectangle x, y, w, h) to the update queue.void
SubordinateUpdateManager.addDirtyRegion
(IFigure f, int x, int y, int w, int h) Deprecated.abstract void
UpdateManager.addDirtyRegion
(IFigure figure, int x, int y, int w, int h) Adds the dirty region defined by the coordinates on the IFigure figure.void
UpdateManager.addDirtyRegion
(IFigure figure, Rectangle rect) void
DeferredUpdateManager.addInvalidFigure
(IFigure f) Adds the given figure to the update queue.void
SubordinateUpdateManager.addInvalidFigure
(IFigure f) Deprecated.abstract void
UpdateManager.addInvalidFigure
(IFigure figure) The receiver should call validate() on the IFigure figure in a timely fashion.void
AbstractConnectionAnchor.ancestorAdded
(IFigure ancestor) void
AncestorListener.ancestorAdded
(IFigure ancestor) Called when an ancestor has been added into the listening figure's hierarchy.void
AncestorListener.Stub.ancestorAdded
(IFigure ancestor) void
AbstractConnectionAnchor.ancestorMoved
(IFigure figure) Notifies all the listeners of this anchor's location change.void
AncestorListener.ancestorMoved
(IFigure ancestor) Called when an ancestor has moved to a new location.void
AncestorListener.Stub.ancestorMoved
(IFigure ancestor) void
AbstractConnectionAnchor.ancestorRemoved
(IFigure ancestor) void
AncestorListener.ancestorRemoved
(IFigure ancestor) Called when an ancestor has been removed from the listening figure's hierarchy.void
AncestorListener.Stub.ancestorRemoved
(IFigure ancestor) protected abstract Insets
AbstractLabeledBorder.calculateInsets
(IFigure figure) Calculates insets based on the current font and other attributes.protected Insets
GroupBoxBorder.calculateInsets
(IFigure figure) Calculates and returns the Insets for this GroupBoxBorder.protected Insets
TitleBarBorder.calculateInsets
(IFigure figure) Calculates and returns the Insets for this border.protected Dimension
AbstractHintLayout.calculateMinimumSize
(IFigure container, int wHint, int hHint) Calculates the minimum size using the given width and height hints.protected Dimension
BorderLayout.calculateMinimumSize
(IFigure container, int wHint, int hHint) ScrollPaneLayout.calculateMinimumSize
(IFigure figure, int w, int h) protected Dimension
StackLayout.calculateMinimumSize
(IFigure figure, int wHint, int hHint) Returns the minimum size required by the input container.protected Dimension
ToolbarLayout.calculateMinimumSize
(IFigure container, int wHint, int hHint) Calculates the minimum size of the container based on the given hints.protected Dimension
ViewportLayout.calculateMinimumSize
(IFigure figure, int wHint, int hHint) Returns the minimum size required by the input viewport figure.protected final void
AbstractLayout.calculatePreferredSize
(IFigure container) This method is nowAbstractLayout.calculatePreferredSize(IFigure, int, int)
.protected abstract Dimension
AbstractLayout.calculatePreferredSize
(IFigure container, int wHint, int hHint) Calculates the preferred size of the given figure, using width and height hints.protected Dimension
BorderLayout.calculatePreferredSize
(IFigure figure, int wHint, int hHint) protected Dimension
DelegatingLayout.calculatePreferredSize
(IFigure parent, int wHint, int hHint) Calculates the preferred size of the given Figure.protected Dimension
FlowLayout.calculatePreferredSize
(IFigure container, int wHint, int hHint) protected Dimension
GridLayout.calculatePreferredSize
(IFigure container, int wHint, int hHint) protected Dimension
ScrollBarLayout.calculatePreferredSize
(IFigure parent, int w, int h) protected Dimension
ScrollPaneLayout.calculatePreferredSize
(IFigure container, int wHint, int hHint) Calculates and returns the preferred size of the container based on the given hints.protected Dimension
StackLayout.calculatePreferredSize
(IFigure figure, int wHint, int hHint) Calculates and returns the preferred size of the given figure.protected Dimension
ToolbarLayout.calculatePreferredSize
(IFigure container, int wHint, int hHint) Calculates the preferred size of the container based on the given hints.protected Dimension
ViewportLayout.calculatePreferredSize
(IFigure parent, int wHint, int hHint) Calculates and returns the preferred size of the figure based on the given hints.protected Dimension
XYLayout.calculatePreferredSize
(IFigure f, int wHint, int hHint) Calculates and returns the preferred size of the input figure.void
Captures the final state of the given figure.void
CoordinateListener.coordinateSystemChanged
(IFigure source) Indicates that the coordinate system has changed in a way that affects the absolute locations of contained figures.void
ToolTipHelper.displayToolTipNear
(IFigure hoverSource, IFigure tip, int eventX, int eventY) Sets the LightWeightSystem's contents to the passed tooltip, and displays the tip.void
FigureListener.figureMoved
(IFigure source) Called when the given IFigure has moved.static IFigure
FigureUtilities.findCommonAncestor
(IFigure l, IFigure r) Returns the figure which is the nearest common ancestor of both figures, ornull
if there is no common ancestor.protected Rectangle
ViewportAwareConnectionLayerClippingStrategy.getAbsoluteBoundsAsCopy
(IFigure figure) Returns the figure's bounds in absolute coordinates.protected Rectangle
ViewportAwareConnectionLayerClippingStrategy.getAbsoluteClientAreaAsCopy
(IFigure figure) Returns the viewport's client area in absolute coordinates.protected Dimension
AbstractLayout.getBorderPreferredSize
(IFigure container) Returns the preferred size of the figure's border.protected Dimension
ToolbarLayout.getChildMinimumSize
(IFigure child, int wHint, int hHint) protected Dimension
ToolbarLayout.getChildPreferredSize
(IFigure child, int wHint, int hHint) protected Dimension
FlowLayout.getChildSize
(IFigure child, int wHint, int hHint) Provides the given child's preferred size.protected Dimension
GridLayout.getChildSize
(IFigure child, int wHint, int hHint) Specifies the clipping region for the given child figure.AbstractConstraintLayout.getConstraint
(IFigure figure) AbstractLayout.getConstraint
(IFigure child) Returns the constraint for the given figure.GridLayout.getConstraint
(IFigure child) LayoutManager.getConstraint
(IFigure child) Returns the constraint for the given figure.protected abstract Object
Animator.getCurrentState
(IFigure figure) Returns an object encapsulating the current state of the figure.protected Object
LayoutAnimator.getCurrentState
(IFigure container) Returns an object encapsulating the placement of children in a container.protected Object
RoutingAnimator.getCurrentState
(IFigure connection) Returns the current state of the connection.ViewportUtilities.getEnclosingViewportsPath
(IFigure figure) static Object
Animation.getFinalState
(Animator animator, IFigure figure) Returns the final animation state for the given figure.protected Font
Returns the font that this border will use.static Object
Animation.getInitialState
(Animator animator, IFigure figure) Returns the initial animation state for the given animator and figure.Returns the Insets for this Border for the given Figure.Returns the insets, or space associated for this border.Returns the Insets for this Border for the given Figure.Returns the total insets required to hold both the inner and outer borders of this CompoundBorder.Returns the space used by the border for the figure provided as input.Returns the Insets used by this border.AbstractHintLayout.getMinimumSize
(IFigure container, int w, int h) final void
AbstractLayout.getMinimumSize
(IFigure container) This method is nowAbstractLayout.getMinimumSize(IFigure, int, int)
.AbstractLayout.getMinimumSize
(IFigure container, int wHint, int hHint) LayoutManager.getMinimumSize
(IFigure container, int wHint, int hHint) Returns the minimum size of the given figure.static Viewport
ViewportUtilities.getNearestCommonViewport
(IFigure firstFigure, IFigure secondFigure) static Viewport
ViewportUtilities.getNearestEnclosingViewport
(IFigure figure) static Viewport
ViewportUtilities.getNearestViewport
(IFigure figure) FocusTraverseManager.getNextFocusableFigure
(IFigure root, IFigure prevFocus) Returns the IFigure that will receive focus upon a 'tab' traverse event.protected Rectangle
ViewportAwareConnectionLayerClippingStrategy.getNodeClippingRectangle
(IFigure figure) Computes clipping rectangle for a given (node) figure.Returns the point (0,0) as the origin.Returns the origin for the given figure.protected static final Rectangle
AbstractBorder.getPaintRectangle
(IFigure figure, Insets insets) Returns a temporary rectangle representing the figure's bounds cropped by the specified insets.AbstractBorder.getPreferredSize
(IFigure f) final Dimension
AbstractHintLayout.getPreferredSize
(IFigure container, int w, int h) AbstractLabeledBorder.getPreferredSize
(IFigure fig) final void
AbstractLayout.getPreferredSize
(IFigure container) This method is nowAbstractLayout.getPreferredSize(IFigure, int, int)
.AbstractLayout.getPreferredSize
(IFigure container, int wHint, int hHint) Returns the preferred size of the given figure, using width and height hints.Border.getPreferredSize
(IFigure figure) Returns the preferred width and height that this border would like to display itself properly.CompoundBorder.getPreferredSize
(IFigure fig) GroupBoxBorder.getPreferredSize
(IFigure fig) LayoutManager.getPreferredSize
(IFigure container, int wHint, int hHint) Returns the preferred size of the given figure, using width and height hints.TitleBarBorder.getPreferredSize
(IFigure fig) Overwritten to handle padding appropriately.FocusTraverseManager.getPreviousFocusableFigure
(IFigure root, IFigure prevFocus) Returns the IFigure that will receive focus upon a 'shift-tab' traverse event.static IFigure
Returns the highest ancestor for the given figurestatic Viewport
ViewportUtilities.getRootViewport
(IFigure figure) protected Dimension
AbstractLabeledBorder.getTextExtents
(IFigure f) Calculates and returns the size required by this border's label.void
Sets up the animator for the given figure to be animated.protected void
FlowLayout.initVariables
(IFigure parent) Initializes state data for laying out children, based on the Figure given as input.protected void
AbstractLayout.invalidate
(IFigure child) Removes any cached information about the given figure.final void
LayoutAnimator.invalidate
(IFigure container) Hooks invalidation in case animation is in progress.void
LayoutListener.invalidate
(IFigure container) Called when a container has been invalidated.void
LayoutListener.Stub.invalidate
(IFigure container) Stub which does nothing.static boolean
FigureUtilities.isAncestor
(IFigure ancestor, IFigure descendant) Returnstrue
if the ancestor contains the descendant, or is the ancestor of the descendant's parent.static boolean
FigureUtilities.isNotFullyClipped
(IFigure figure) Determines whether the given figure is showing and not (completely) clipped.protected boolean
AbstractHintLayout.isSensitiveHorizontally
(IFigure container) Returns whether this layout manager is sensitive to changes in the horizontal hint.protected boolean
FlowLayout.isSensitiveHorizontally
(IFigure parent) protected boolean
ToolbarLayout.isSensitiveHorizontally
(IFigure parent) protected boolean
ViewportLayout.isSensitiveHorizontally
(IFigure parent) protected boolean
AbstractHintLayout.isSensitiveVertically
(IFigure container) Returns whether this layout manager is sensitive to changes in the vertical hint.protected boolean
FlowLayout.isSensitiveVertically
(IFigure parent) protected boolean
ToolbarLayout.isSensitiveVertically
(IFigure parent) protected boolean
ViewportLayout.isSensitiveVertically
(IFigure parent) void
void
Lays out the given figure's children based on theirLocator
constraint.void
void
final boolean
Hooks layout in case animation is in progress.boolean
Called prior to layout occurring.boolean
Stub which does nothing.void
Lays out the given figure.void
void
void
void
void
void
Implements the algorithm to layout the components of the given container figure.protected void
Layouts one row of components.void
Paints the border.void
Paints the border.void
Paints this border with the help of the set scheme, the model of the clickable figure, and other inputs.void
void
Paints a focus rectangle.void
void
void
This method does nothing, since this border is just for spacing.protected void
Paints the border using the information in the set Scheme and the inputs given.void
void
void
void
void
AbstractBackground.paintBackground
(IFigure figure, Graphics graphics, Insets insets) Called when this Background should paint.static void
Helper method to paint a grid.protected boolean
Plays back the animation for the given figure and returnstrue
if successful.protected boolean
Plays back the animated layout.protected boolean
Plays back the interpolated state.void
Animator.playbackStarting
(IFigure figure) Sent as playback is starting for a given figure.void
RoutingAnimator.playbackStarting
(IFigure connection) Overridden to sync initial and final states.final void
LayoutAnimator.postLayout
(IFigure container) Hooks post layout in case animation is in progress.void
LayoutListener.postLayout
(IFigure container) Called after layout has occurred.void
LayoutListener.Stub.postLayout
(IFigure container) Stub which does nothing.boolean
Returnstrue
if the figure is a member of the Collection.boolean
Always returnsfalse
.boolean
Returnstrue
if the figure and all of its contained figures should be pruned from the search.protected void
Animator.recordFinalState
(IFigure figure) Records the final state information for a figure.protected void
Animator.recordInitialState
(IFigure figure) Records initial state information for the given figure.void
Recalculates the position of the figure and returns the updated bounds.void
Relocates the passed in figure (which must be aRotatableDecoration
) at either the start or end of the connection.void
Relocates the given IFigure at either the source or target end of the Connection, based on theboolean
given in the constructorConnectionEndpointLocator(Connection, boolean)
.void
Relocates the given IFigure.void
Relocates the target using the relative offset locations.void
void
Removes the given figure from this LayoutManager's list of figures.void
void
Removes the figure from this Layer.void
Removes the locator for the given figure.void
Removes the given child Figure from this Figure's hierarchy and revalidates this Figure.void
void
void
Removes the given child from this figure's children.void
final void
This callback is unused.void
Called when a child is about to be removed from its parent.void
Stub which does nothing.void
Removes the given child from this layout.void
void
LayeredPane.removeLayer
(IFigure layer) Deprecated.callremove(IFigure)
insteadabstract void
EventDispatcher.requestFocus
(IFigure fig) Requests focus for the given figure.void
SWTEventDispatcher.requestFocus
(IFigure fig) abstract void
EventDispatcher.requestRemoveFocus
(IFigure fig) Requests focus to be removed from the given figure.void
SWTEventDispatcher.requestRemoveFocus
(IFigure fig) protected void
FlowLayout.setBoundsOfChild
(IFigure parent, IFigure child, Rectangle bounds) Sets the given bounds for the child figure input.protected abstract void
EventDispatcher.setCapture
(IFigure figure) Sets capture to the given figure.protected void
SWTEventDispatcher.setCapture
(IFigure figure) void
AbstractConstraintLayout.setConstraint
(IFigure figure, Object newConstraint) Sets the layout constraint of the given figure.void
AbstractLayout.setConstraint
(IFigure child, Object constraint) Sets the constraint for the given figure.void
BorderLayout.setConstraint
(IFigure child, Object constraint) Sets the location of hte given child in this layout.void
Figure.setConstraint
(IFigure child, Object constraint) void
GridLayout.setConstraint
(IFigure figure, Object newConstraint) Sets the layout constraint of the given figure.void
IFigure.setConstraint
(IFigure child, Object constraint) Convenience method to set the constraint of the specified child in the current LayoutManager.final void
LayoutAnimator.setConstraint
(IFigure child, Object constraint) This callback is unused.void
LayoutListener.setConstraint
(IFigure child, Object constraint) Called when a child's constraint is initialized or updated.void
LayoutListener.Stub.setConstraint
(IFigure child, Object constraint) Stub which does nothing.void
LayoutManager.setConstraint
(IFigure child, Object constraint) Sets the constraint for the given child.void
ScrollBarLayout.setConstraint
(IFigure figure, Object constraint) void
XYLayout.setConstraint
(IFigure figure, Object newConstraint) Sets the layout constraint of the given figure.protected void
Clickable.setContents
(IFigure contents) Sets the Figure which is the contents of this Clickable.void
FigureCanvas.setContents
(IFigure figure) Sets the contents of theViewport
.void
LightweightSystem.setContents
(IFigure figure) Sets the contents of the LightweightSystem to the passed figure.void
ScrollPane.setContents
(IFigure figure) Sets the contents of the current viewport.void
Viewport.setContents
(IFigure figure) Sets this Viewport to be associated with the passed Figure.void
FocusTraverseManager.setCurrentFocusOwner
(IFigure fig) Sets the currently focused figure.protected void
SWTEventDispatcher.setFigureUnderCursor
(IFigure f) Sets the figure under the mouse cursor.protected void
Sets the focus figure.protected void
SWTEventDispatcher.setMouseTarget
(IFigure figure) Sets the given figure to be the target of future mouse events.void
Sets the owner of this anchor, on whom this anchors location is dependent.void
void
Sets this IFigure's parent.protected void
PrintFigureOperation.setPrintSource
(IFigure printSource) Sets the printSource.void
RelativeLocator.setReferenceFigure
(IFigure reference) Sets the reference figure this locator uses to place the target figure.void
Sets the root figure.abstract void
Sets the root figure for this dispatcher.void
Deprecated.void
abstract void
Sets the root figure.void
Sets the ScrollBar's thumb to the passed Figure.void
Figure.setToolTip
(IFigure f) void
IFigure.setToolTip
(IFigure figure) Sets a tooltip that is displayed when the mouse hovers over this IFigure.protected void
PrintFigureOperation.setupPrinterGraphicsFor
(Graphics graphics, IFigure figure) Sets up Graphics object for the given IFigure.void
Deprecated.call setContents(IFigure) insteadvoid
Reverts any temporary changes made to the figure during animation.void
ToolTipHelper.updateToolTip
(IFigure figureUnderMouse, IFigure tip, int eventX, int eventY) Displays the hover source's tooltip if a tooltip of another source is currently being displayed.Method parameters in org.eclipse.draw2d with type arguments of type IFigureModifier and TypeMethodDescriptionfinal IFigure
Figure.findFigureAtExcluding
(int x, int y, Collection<IFigure> c) IFigure.findFigureAtExcluding
(int x, int y, Collection<IFigure> collection) Returns the IFigure at the specified location, excluding any IFigures incollection
.protected void
UpdateManager.firePainting
(Rectangle damage, Map<IFigure, Rectangle> dirtyRegions) Notifies listeners that painting is about to occur, passing them the damaged rectangle and the map of dirty regions.void
UpdateListener.notifyPainting
(Rectangle damage, Map<IFigure, Rectangle> dirtyRegions) Notifies the listener that the listened to object is painting.void
UpdateListener.Stub.notifyPainting
(Rectangle damage, Map<IFigure, Rectangle> dirtyRegions) Constructors in org.eclipse.draw2d with parameters of type IFigureModifierConstructorDescriptionAbstractConnectionAnchor
(IFigure owner) Constructs an AbstractConnectionAnchor with the owner supplied as input.ChopboxAnchor
(IFigure owner) Constructs a ChopboxAnchor with the given owner figure.Constructs a Clickable whose contents are provided as input.Constructs a Clickable whose contents are provided as input.EllipseAnchor
(IFigure owner) FigureIterator
(IFigure figure) Deprecated.Constructs a new FigureIterator for the given Figure.FocusEvent
(IFigure loser, IFigure gainer) Constructs a new FocusEvent.GhostImageFigure
(IFigure source, int alpha, RGB transparency) The single constructor.InputEvent
(EventDispatcher dispatcher, IFigure source, int state) Constructs a new InputEvent.KeyEvent
(EventDispatcher dispatcher, IFigure source, KeyEvent ke) Constructs a new KeyEvent.MouseEvent
(int x, int y, EventDispatcher dispatcher, IFigure f, int button, int stateMask) Deprecated.MouseEvent
(EventDispatcher dispatcher, IFigure source, MouseEvent me) Constructs a new MouseEvent.PrintFigureOperation
(Printer p, IFigure srcFigure) Constructor for PrintFigureOperation.RelativeLocator
(IFigure reference, double relativeX, double relativeY) Constructs a RelativeLocator with the given reference Figure and offset ratios.RelativeLocator
(IFigure reference, int location) Constructs a RelativeLocator with the given reference figure and relative location.ReverseFigureChildrenIterator
(IFigure figure) ShortestPathConnectionRouter
(IFigure container) Creates a new shortest path router with the given container.Constructs a Toggle with passed IFigure as its contents.Constructs a Toggle with the passed figure as its contents and the given style.ToggleButton
(IFigure contents) Constructs a ToggleButton with the passed IFigure as its contents.Constructor parameters in org.eclipse.draw2d with type arguments of type IFigureModifierConstructorDescriptionExclusionSearch
(Collection<IFigure> collection) Constructs an Exclusion search using the given collection. -
Uses of IFigure in org.eclipse.draw2d.parts
Classes in org.eclipse.draw2d.parts that implement IFigureModifier and TypeClassDescriptionclass
A scaled image representation of a Figure.class
A Thumbnail is a Figure that displays an image of its source Figure at a smaller size.Methods in org.eclipse.draw2d.parts that return IFigureModifier and TypeMethodDescriptionprotected IFigure
Thumbnail.getSource()
Returns the source figure being used to generate a thumbnail.Methods in org.eclipse.draw2d.parts with parameters of type IFigureMethod parameters in org.eclipse.draw2d.parts with type arguments of type IFigureModifier and TypeMethodDescriptionvoid
Thumbnail.notifyPainting
(Rectangle damage, Map<IFigure, Rectangle> dirtyRegions) Constructors in org.eclipse.draw2d.parts with parameters of type IFigure -
Uses of IFigure in org.eclipse.draw2d.text
Classes in org.eclipse.draw2d.text that implement IFigureModifier and TypeClassDescriptionclass
AFlowFigure
represented by a singleBlockBox
containing one or more lines.class
Adapts non-flow figures for use within a parent hierarchy requiring flow figures.class
The base implementation for text flow figures.class
The root of a Flow hierarchy.class
AFlowFigure
represented by multipleLineBox
fragments.class
An inline flow figure that renders a string of text across one or more lines.Methods in org.eclipse.draw2d.text with parameters of type IFigureModifier and TypeMethodDescriptionvoid
If the child is aFlowFigure
, its FlowContext is passed to it.FlowFigureLayout.getConstraint
(IFigure child) Not applicable.FlowFigureLayout.getMinimumSize
(IFigure container, int wHint, int hHint) Not applicable.FlowFigureLayout.getPreferredSize
(IFigure container, int wHint, int hHint) Not applicable.final void
final void
This method is not called on FlowBorders.void
Overridden to revalidateBidi when fragments are removed.void
Not applicable.protected void
BlockFlow.revalidateBidi
(IFigure origin) A Block will invalidate the Bidi state of all its children, so that it is re-evaluated when this block is next validated.protected void
FlowFigure.revalidateBidi
(IFigure origin) This method should be invoked whenever a change that can potentially affect the Bidi evaluation is made (eg., adding or removing children, changing text, etc.).void
FlowFigureLayout.setConstraint
(IFigure child, Object constraint) Not applicable.
Figure.getToolTip()