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.draw2dSubinterfaces of IFigure in org.eclipse.draw2dModifier and TypeInterfaceDescriptioninterfaceA Connection is a figure that connects two objects.interfaceA figure that allows its children to extend into negative coordinates.interfaceInterface for image figuresinterfaceInterface for scaleable panes which provides the default functionality for deciding if a scaled graphics or the given graphics should be used for drawing.interfaceInterface to stereotype those figures that contain a ScrollPane with a nested Viewport.interfaceAn interface for objects that can be either horizontally or vertically oriented.interfaceAn IFigure that can be rotated.interfaceA figure that can be scaled.Classes in org.eclipse.draw2d that implement IFigureModifier and TypeClassDescriptionclassAbstract implementation of the image figure.classBase superclass for all polylines/polygonsclassA Button which displays a triangle pointing in a specified direction.classA Button usually has a border and appears to move up and down in response to being pressed.final classA Checkbox is a toggle figure which toggles between the checked and unchecked figures to simulate a check box.classA Clickable responds to mouse clicks in some way (determined by a ClickBehavior) and fires action events.classLayer designed specifically to handle the presence of connections.classLightweight Container which just draws the children according to the given layout.classAn figure that draws an ellipse filling its bounds.classThe base implementation for graphical figures.classA Layer that can extend in all 4 directions.classA LayeredPane that containsFreeformLayers.classA viewport forFreeformFigures.classA figure used to render a partly transparent copy of an original source figure.classA Figure that simply contains an Image.classA figure that can display text and/or an image.classA Container with a title bar describing the contents of the container.classA transparent figure intended to be added exclusively to aLayeredPane, who has the responsibilty of managing its layers.classA figure capable of holding any number of layers.protected classThe figure at the root of the LightweightSystem.classA General purpose Container.classRenders aPointListas a polygonal shape.classA rotatable, polygon shaped decoration most commonly used for decorating the ends ofpolylines.classRenders aPointListas a polygonal shape.classRenders aPointListas a series of line segments.classAn implementation ofConnectionbased on Polyline.classA decorative Figure intended to be placed on aPolyline.classRenders aPointListas a series of line segments.classAScrollPanewith transparentScrollBars.classAScrollBarwith no thumb and non-opaque buttons.classDraws a rectangle whose size is determined by the bounds set to it.classDraws a Rectangle whose corners are rounded in appearance.classclassA non-freeform, scalable layered pane.classRenders aPointListas a polygonal shape scaled in accordance with bounds to fill whole figure.classProvides for the scrollbars used by theScrollPane.classA class which implements automatic horizontal and/or vertical scrolling for a single IFigure child.classProvides abstract support for a variety of shapes.classBasic Rule for Toggle: Whoever creates the toggle is reponsible for response changes for it (selection, rollover, etc).classA Toggle that appears like a 3-dimensional button.final classA triangular graphical figure.classA Viewport is a flexible window onto aScrollPaneand represents the visible portion of the ScrollPane.Fields in org.eclipse.draw2d declared as IFigureModifier and TypeFieldDescriptionFocusEvent.gainerThe figure gaining focusFocusEvent.loserThe figure losing focusprotected IFigureSubordinateUpdateManager.rootDeprecated.A root figure.IFigure[]FlowLayout.WorkingData.rowprotected IFigureFigure.toolTipDeprecated.Fields in org.eclipse.draw2d with type parameters of type IFigureModifier and TypeFieldDescriptionAbstractConstraintLayout.constraintsThe layout constraintsGridLayout.constraintsThe layout contraintsMethods in org.eclipse.draw2d that return IFigureModifier and TypeMethodDescriptionprotected IFigurePuristicScrollPane.PuristicScrollBar.createDefaultThumb()protected IFigureScrollBar.createDefaultThumb()Creates the Scrollbar's "thumb", the draggable Figure that indicates the Scrollbar's position.static IFigureFigureUtilities.findCommonAncestor(IFigure l, IFigure r) Returns the figure which is the nearest common ancestor of both figures, ornullif there is no common ancestor.protected IFigureFigure.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 IFigureFigure.findFigureAt(int x, int y) Figure.findFigureAt(int x, int y, TreeSearch search) final IFigureFigure.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 IFigureFigure.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()returnstrueornullif none found.IFigure.findMouseEventTargetAt(int x, int y) Returns the IFigure located at the given location which will accept mouse events.protected IFigureFigure.findMouseEventTargetInDescendantsAt(int x, int y) Searches this Figure's children for the deepest descendant for whichFigure.isMouseEventTarget()returnstrueand returns that descendant ornullif none found.protected IFigureScrollBar.getButtonDown()Returns the figure used as the down button.protected IFigureScrollBar.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 theScrollPaneassociated with this Viewport.FocusTraverseManager.getCurrentFocusOwner()protected IFigureSWTEventDispatcher.getCursorTarget()Returns the figure that the cursor is over.abstract IFigureEventDispatcher.getFocusOwner()Returns the IFigure that currently has focus.SWTEventDispatcher.getFocusOwner()protected abstract IFigureSubordinateUpdateManager.getHost()Deprecated.Returns the host figure.protected IFigureSWTEventDispatcher.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()Returnsnullas these anchors inherently do not depend on other figures for their location.protected IFigureScrollBar.getPageDown()Returns the figure used for page down.protected IFigureScrollBar.getPageUp()Returns the figure used for page up.Figure.getParent()IFigure.getParent()Returns the IFigure that is the current parent of this IFigure ornullif there is no parent.FocusTraverseManager.getPreviousFocusableFigure(IFigure root, IFigure prevFocus) Returns the IFigure that will receive focus upon a 'shift-tab' traverse event.protected IFigurePrintFigureOperation.getPrintSource()Returns the printSource.protected IFigureRelativeLocator.getReferenceFigure()Returns the Figure this locator is relative to.static IFigureReturns the highest ancestor for the given figureprotected IFigureSWTEventDispatcher.getRoot()Returns the root figure for this dispatcher.LightweightSystem.getRootFigure()Returns this LightweightSystem's root figure.protected IFigureScrollBar.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 TypeMethodDescriptionbooleanbooleanAlways returnstrue.booleanReturnstrueif the given figure is accepted by the search.voidAdds the given figure with the given contraint at the given index.final voidCallsFigure.add(IFigure, Object, int)withnullas the constraint and -1 as the index.final voidCallsFigure.add(IFigure, Object, int)withnullas the constraint.final voidCallsFigure.add(IFigure, Object, int)with -1 as the index.voidvoidvoidvoidAdds the given IFigure as a child of this IFigure.voidAdds the given IFigure as a child of this IFigure at the given index.voidAdds the given IFigure as a child of this IFigure with the given constraint.voidAdds the child with the specified index and constraint.voidAdds the given layer figure, identifiable with the given key, at the specified index.voidDeferredUpdateManager.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.voidSubordinateUpdateManager.addDirtyRegion(IFigure f, int x, int y, int w, int h) Deprecated.abstract voidUpdateManager.addDirtyRegion(IFigure figure, int x, int y, int w, int h) Adds the dirty region defined by the coordinates on the IFigure figure.voidUpdateManager.addDirtyRegion(IFigure figure, Rectangle rect) voidDeferredUpdateManager.addInvalidFigure(IFigure f) Adds the given figure to the update queue.voidSubordinateUpdateManager.addInvalidFigure(IFigure f) Deprecated.abstract voidUpdateManager.addInvalidFigure(IFigure figure) The receiver should call validate() on the IFigure figure in a timely fashion.voidAbstractConnectionAnchor.ancestorAdded(IFigure ancestor) voidAncestorListener.ancestorAdded(IFigure ancestor) Called when an ancestor has been added into the listening figure's hierarchy.voidAncestorListener.Stub.ancestorAdded(IFigure ancestor) voidAbstractConnectionAnchor.ancestorMoved(IFigure figure) Notifies all the listeners of this anchor's location change.voidAncestorListener.ancestorMoved(IFigure ancestor) Called when an ancestor has moved to a new location.voidAncestorListener.Stub.ancestorMoved(IFigure ancestor) voidAbstractConnectionAnchor.ancestorRemoved(IFigure ancestor) voidAncestorListener.ancestorRemoved(IFigure ancestor) Called when an ancestor has been removed from the listening figure's hierarchy.voidAncestorListener.Stub.ancestorRemoved(IFigure ancestor) protected abstract InsetsAbstractLabeledBorder.calculateInsets(IFigure figure) Calculates insets based on the current font and other attributes.protected InsetsGroupBoxBorder.calculateInsets(IFigure figure) Calculates and returns the Insets for this GroupBoxBorder.protected InsetsTitleBarBorder.calculateInsets(IFigure figure) Calculates and returns the Insets for this border.protected DimensionAbstractHintLayout.calculateMinimumSize(IFigure container, int wHint, int hHint) Calculates the minimum size using the given width and height hints.protected DimensionBorderLayout.calculateMinimumSize(IFigure container, int wHint, int hHint) ScrollPaneLayout.calculateMinimumSize(IFigure figure, int w, int h) protected DimensionStackLayout.calculateMinimumSize(IFigure figure, int wHint, int hHint) Returns the minimum size required by the input container.protected DimensionToolbarLayout.calculateMinimumSize(IFigure container, int wHint, int hHint) Calculates the minimum size of the container based on the given hints.protected DimensionViewportLayout.calculateMinimumSize(IFigure figure, int wHint, int hHint) Returns the minimum size required by the input viewport figure.protected final voidAbstractLayout.calculatePreferredSize(IFigure container) This method is nowAbstractLayout.calculatePreferredSize(IFigure, int, int).protected abstract DimensionAbstractLayout.calculatePreferredSize(IFigure container, int wHint, int hHint) Calculates the preferred size of the given figure, using width and height hints.protected DimensionBorderLayout.calculatePreferredSize(IFigure figure, int wHint, int hHint) protected DimensionDelegatingLayout.calculatePreferredSize(IFigure parent, int wHint, int hHint) Calculates the preferred size of the given Figure.protected DimensionFlowLayout.calculatePreferredSize(IFigure container, int wHint, int hHint) protected DimensionGridLayout.calculatePreferredSize(IFigure container, int wHint, int hHint) protected DimensionScrollBarLayout.calculatePreferredSize(IFigure parent, int w, int h) protected DimensionScrollPaneLayout.calculatePreferredSize(IFigure container, int wHint, int hHint) Calculates and returns the preferred size of the container based on the given hints.protected DimensionStackLayout.calculatePreferredSize(IFigure figure, int wHint, int hHint) Calculates and returns the preferred size of the given figure.protected DimensionToolbarLayout.calculatePreferredSize(IFigure container, int wHint, int hHint) Calculates the preferred size of the container based on the given hints.protected DimensionViewportLayout.calculatePreferredSize(IFigure parent, int wHint, int hHint) Calculates and returns the preferred size of the figure based on the given hints.protected DimensionXYLayout.calculatePreferredSize(IFigure f, int wHint, int hHint) Calculates and returns the preferred size of the input figure.voidCaptures the final state of the given figure.voidCoordinateListener.coordinateSystemChanged(IFigure source) Indicates that the coordinate system has changed in a way that affects the absolute locations of contained figures.voidToolTipHelper.displayToolTipNear(IFigure hoverSource, IFigure tip, int eventX, int eventY) Sets the LightWeightSystem's contents to the passed tooltip, and displays the tip.voidFigureListener.figureMoved(IFigure source) Called when the given IFigure has moved.static IFigureFigureUtilities.findCommonAncestor(IFigure l, IFigure r) Returns the figure which is the nearest common ancestor of both figures, ornullif there is no common ancestor.protected RectangleViewportAwareConnectionLayerClippingStrategy.getAbsoluteBoundsAsCopy(IFigure figure) Returns the figure's bounds in absolute coordinates.protected RectangleViewportAwareConnectionLayerClippingStrategy.getAbsoluteClientAreaAsCopy(IFigure figure) Returns the viewport's client area in absolute coordinates.protected DimensionAbstractLayout.getBorderPreferredSize(IFigure container) Returns the preferred size of the figure's border.protected DimensionToolbarLayout.getChildMinimumSize(IFigure child, int wHint, int hHint) protected DimensionToolbarLayout.getChildPreferredSize(IFigure child, int wHint, int hHint) protected DimensionFlowLayout.getChildSize(IFigure child, int wHint, int hHint) Provides the given child's preferred size.protected DimensionGridLayout.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 ObjectAnimator.getCurrentState(IFigure figure) Returns an object encapsulating the current state of the figure.protected ObjectLayoutAnimator.getCurrentState(IFigure container) Returns an object encapsulating the placement of children in a container.protected ObjectRoutingAnimator.getCurrentState(IFigure connection) Returns the current state of the connection.ViewportUtilities.getEnclosingViewportsPath(IFigure figure) static ObjectAnimation.getFinalState(Animator animator, IFigure figure) Returns the final animation state for the given figure.protected FontReturns the font that this border will use.static ObjectAnimation.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 voidAbstractLayout.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 ViewportViewportUtilities.getNearestCommonViewport(IFigure firstFigure, IFigure secondFigure) static ViewportViewportUtilities.getNearestEnclosingViewport(IFigure figure) static ViewportViewportUtilities.getNearestViewport(IFigure figure) FocusTraverseManager.getNextFocusableFigure(IFigure root, IFigure prevFocus) Returns the IFigure that will receive focus upon a 'tab' traverse event.protected RectangleViewportAwareConnectionLayerClippingStrategy.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 RectangleAbstractBorder.getPaintRectangle(IFigure figure, Insets insets) Returns a temporary rectangle representing the figure's bounds cropped by the specified insets.AbstractBorder.getPreferredSize(IFigure f) final DimensionAbstractHintLayout.getPreferredSize(IFigure container, int w, int h) AbstractLabeledBorder.getPreferredSize(IFigure fig) final voidAbstractLayout.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 IFigureReturns the highest ancestor for the given figurestatic ViewportViewportUtilities.getRootViewport(IFigure figure) protected DimensionAbstractLabeledBorder.getTextExtents(IFigure f) Calculates and returns the size required by this border's label.voidSets up the animator for the given figure to be animated.protected voidFlowLayout.initVariables(IFigure parent) Initializes state data for laying out children, based on the Figure given as input.protected voidAbstractLayout.invalidate(IFigure child) Removes any cached information about the given figure.final voidLayoutAnimator.invalidate(IFigure container) Hooks invalidation in case animation is in progress.voidLayoutListener.invalidate(IFigure container) Called when a container has been invalidated.voidLayoutListener.Stub.invalidate(IFigure container) Stub which does nothing.static booleanFigureUtilities.isAncestor(IFigure ancestor, IFigure descendant) Returnstrueif the ancestor contains the descendant, or is the ancestor of the descendant's parent.static booleanFigureUtilities.isNotFullyClipped(IFigure figure) Determines whether the given figure is showing and not (completely) clipped.protected booleanAbstractHintLayout.isSensitiveHorizontally(IFigure container) Returns whether this layout manager is sensitive to changes in the horizontal hint.protected booleanFlowLayout.isSensitiveHorizontally(IFigure parent) protected booleanToolbarLayout.isSensitiveHorizontally(IFigure parent) protected booleanViewportLayout.isSensitiveHorizontally(IFigure parent) protected booleanAbstractHintLayout.isSensitiveVertically(IFigure container) Returns whether this layout manager is sensitive to changes in the vertical hint.protected booleanFlowLayout.isSensitiveVertically(IFigure parent) protected booleanToolbarLayout.isSensitiveVertically(IFigure parent) protected booleanViewportLayout.isSensitiveVertically(IFigure parent) voidvoidLays out the given figure's children based on theirLocatorconstraint.voidvoidfinal booleanHooks layout in case animation is in progress.booleanCalled prior to layout occurring.booleanStub which does nothing.voidLays out the given figure.voidvoidvoidvoidvoidvoidImplements the algorithm to layout the components of the given container figure.protected voidLayouts one row of components.voidPaints the border.voidPaints the border.voidPaints this border with the help of the set scheme, the model of the clickable figure, and other inputs.voidvoidPaints a focus rectangle.voidvoidvoidThis method does nothing, since this border is just for spacing.protected voidPaints the border using the information in the set Scheme and the inputs given.voidvoidvoidvoidvoidAbstractBackground.paintBackground(IFigure figure, Graphics graphics, Insets insets) Called when this Background should paint.static voidHelper method to paint a grid.protected booleanPlays back the animation for the given figure and returnstrueif successful.protected booleanPlays back the animated layout.protected booleanPlays back the interpolated state.voidAnimator.playbackStarting(IFigure figure) Sent as playback is starting for a given figure.voidRoutingAnimator.playbackStarting(IFigure connection) Overridden to sync initial and final states.final voidLayoutAnimator.postLayout(IFigure container) Hooks post layout in case animation is in progress.voidLayoutListener.postLayout(IFigure container) Called after layout has occurred.voidLayoutListener.Stub.postLayout(IFigure container) Stub which does nothing.booleanReturnstrueif the figure is a member of the Collection.booleanAlways returnsfalse.booleanReturnstrueif the figure and all of its contained figures should be pruned from the search.protected voidAnimator.recordFinalState(IFigure figure) Records the final state information for a figure.protected voidAnimator.recordInitialState(IFigure figure) Records initial state information for the given figure.voidRecalculates the position of the figure and returns the updated bounds.voidRelocates the passed in figure (which must be aRotatableDecoration) at either the start or end of the connection.voidRelocates the given IFigure at either the source or target end of the Connection, based on thebooleangiven in the constructorConnectionEndpointLocator(Connection, boolean).voidRelocates the given IFigure.voidRelocates the target using the relative offset locations.voidvoidRemoves the given figure from this LayoutManager's list of figures.voidvoidRemoves the figure from this Layer.voidRemoves the locator for the given figure.voidRemoves the given child Figure from this Figure's hierarchy and revalidates this Figure.voidvoidvoidRemoves the given child from this figure's children.voidfinal voidThis callback is unused.voidCalled when a child is about to be removed from its parent.voidStub which does nothing.voidRemoves the given child from this layout.voidvoidLayeredPane.removeLayer(IFigure layer) Deprecated.callremove(IFigure)insteadabstract voidEventDispatcher.requestFocus(IFigure fig) Requests focus for the given figure.voidSWTEventDispatcher.requestFocus(IFigure fig) abstract voidEventDispatcher.requestRemoveFocus(IFigure fig) Requests focus to be removed from the given figure.voidSWTEventDispatcher.requestRemoveFocus(IFigure fig) protected voidFlowLayout.setBoundsOfChild(IFigure parent, IFigure child, Rectangle bounds) Sets the given bounds for the child figure input.protected abstract voidEventDispatcher.setCapture(IFigure figure) Sets capture to the given figure.protected voidSWTEventDispatcher.setCapture(IFigure figure) voidAbstractConstraintLayout.setConstraint(IFigure figure, Object newConstraint) Sets the layout constraint of the given figure.voidAbstractLayout.setConstraint(IFigure child, Object constraint) Sets the constraint for the given figure.voidBorderLayout.setConstraint(IFigure child, Object constraint) Sets the location of hte given child in this layout.voidFigure.setConstraint(IFigure child, Object constraint) voidGridLayout.setConstraint(IFigure figure, Object newConstraint) Sets the layout constraint of the given figure.voidIFigure.setConstraint(IFigure child, Object constraint) Convenience method to set the constraint of the specified child in the current LayoutManager.final voidLayoutAnimator.setConstraint(IFigure child, Object constraint) This callback is unused.voidLayoutListener.setConstraint(IFigure child, Object constraint) Called when a child's constraint is initialized or updated.voidLayoutListener.Stub.setConstraint(IFigure child, Object constraint) Stub which does nothing.voidLayoutManager.setConstraint(IFigure child, Object constraint) Sets the constraint for the given child.voidScrollBarLayout.setConstraint(IFigure figure, Object constraint) voidXYLayout.setConstraint(IFigure figure, Object newConstraint) Sets the layout constraint of the given figure.protected voidClickable.setContents(IFigure contents) Sets the Figure which is the contents of this Clickable.voidFigureCanvas.setContents(IFigure figure) Sets the contents of theViewport.voidLightweightSystem.setContents(IFigure figure) Sets the contents of the LightweightSystem to the passed figure.voidScrollPane.setContents(IFigure figure) Sets the contents of the current viewport.voidViewport.setContents(IFigure figure) Sets this Viewport to be associated with the passed Figure.voidFocusTraverseManager.setCurrentFocusOwner(IFigure fig) Sets the currently focused figure.protected voidSWTEventDispatcher.setFigureUnderCursor(IFigure f) Sets the figure under the mouse cursor.protected voidSets the focus figure.protected voidSWTEventDispatcher.setMouseTarget(IFigure figure) Sets the given figure to be the target of future mouse events.voidSets the owner of this anchor, on whom this anchors location is dependent.voidvoidSets this IFigure's parent.protected voidPrintFigureOperation.setPrintSource(IFigure printSource) Sets the printSource.voidRelativeLocator.setReferenceFigure(IFigure reference) Sets the reference figure this locator uses to place the target figure.voidSets the root figure.abstract voidSets the root figure for this dispatcher.voidDeprecated.voidabstract voidSets the root figure.voidSets the ScrollBar's thumb to the passed Figure.voidFigure.setToolTip(IFigure f) voidIFigure.setToolTip(IFigure figure) Sets a tooltip that is displayed when the mouse hovers over this IFigure.protected voidPrintFigureOperation.setupPrinterGraphicsFor(Graphics graphics, IFigure figure) Sets up Graphics object for the given IFigure.voidDeprecated.call setContents(IFigure) insteadvoidReverts any temporary changes made to the figure during animation.voidToolTipHelper.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 IFigureFigure.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 voidUpdateManager.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.voidUpdateListener.notifyPainting(Rectangle damage, Map<IFigure, Rectangle> dirtyRegions) Notifies the listener that the listened to object is painting.voidUpdateListener.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.partsClasses in org.eclipse.draw2d.parts that implement IFigureModifier and TypeClassDescriptionclassA scaled image representation of a Figure.classA 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 IFigureThumbnail.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 TypeMethodDescriptionvoidThumbnail.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.textClasses in org.eclipse.draw2d.text that implement IFigureModifier and TypeClassDescriptionclassAFlowFigurerepresented by a singleBlockBoxcontaining one or more lines.classAdapts non-flow figures for use within a parent hierarchy requiring flow figures.classThe base implementation for text flow figures.classThe root of a Flow hierarchy.classAFlowFigurerepresented by multipleLineBoxfragments.classAn 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 TypeMethodDescriptionvoidIf 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 voidfinal voidThis method is not called on FlowBorders.voidOverridden to revalidateBidi when fragments are removed.voidNot applicable.protected voidBlockFlow.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 voidFlowFigure.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.).voidFlowFigureLayout.setConstraint(IFigure child, Object constraint) Not applicable.
Figure.getToolTip()