Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- gainer - Variable in class org.eclipse.draw2d.FocusEvent
-
The figure gaining focus
- Geometry - Class in org.eclipse.draw2d.geometry
-
A Utilities class for geometry operations.
- Geometry() - Constructor for class org.eclipse.draw2d.geometry.Geometry
- getAbsoluteBoundsAsCopy(IFigure) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-
Returns the figure's bounds in absolute coordinates.
- getAbsoluteClientAreaAsCopy(IFigure) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-
Returns the viewport's client area in absolute coordinates.
- getAbsolutePointsAsCopy(Connection) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-
Returns the connection's points in absolute coordinates.
- getAbsoluteScale() - Method in class org.eclipse.draw2d.Graphics
-
Returns the current absolute scaling which will be applied to the underlying Device when painting to this Graphics.
- getAbsoluteScale() - Method in class org.eclipse.draw2d.ScaledGraphics
- getAbsoluteViewportAreaAsCopy(Viewport) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-
Returns the area covered by the viewport in absolute coordinates.
- getAccessibilityDispatcher() - Method in class org.eclipse.draw2d.EventDispatcher
-
Returns the AccessibilityDispatcher.
- getAccessibilityDispatcher() - Method in class org.eclipse.draw2d.SWTEventDispatcher
- getAccessibleID() - Method in class org.eclipse.draw2d.AccessibleBase
-
Returns the id of this accessible object using
Object.hashCode()
. - getActionName() - Method in class org.eclipse.draw2d.ActionEvent
-
Returns the name of the action that was performed.
- getAdded(Insets) - Method in class org.eclipse.draw2d.geometry.Insets
-
Creates an Insets representing the sum of this Insets with the specified Insets.
- getAdded(Ray) - Method in class org.eclipse.draw2d.geometry.Ray
-
Deprecated.Creates a new Ray which is the sum of this Ray with another.
- getAdded(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Creates a new Vector which is the sum of this Vector with another.
- getAdvanced() - Method in class org.eclipse.draw2d.Graphics
- getAdvanced() - Method in class org.eclipse.draw2d.ScaledGraphics
- getAdvanced() - Method in class org.eclipse.draw2d.SWTGraphics
- getAlignment() - Method in class org.eclipse.draw2d.ConnectionLocator
-
Returns the alignment of ConnectionLocator.
- getAlpha() - Method in class org.eclipse.draw2d.Graphics
-
Returns the current alpha value of the graphics.
- getAlpha() - Method in class org.eclipse.draw2d.ScaledGraphics
- getAlpha() - Method in class org.eclipse.draw2d.Shape
- getAlpha() - Method in class org.eclipse.draw2d.SWTGraphics
- getAngle(Straight) - Method in class org.eclipse.draw2d.geometry.Straight
-
Returns the (smallest) angle between this Straight and the provided one.
- getAngle(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Returns the angle (in degrees) between this Vector and the provided Vector.
- getAntialias() - Method in class org.eclipse.draw2d.Graphics
-
Returns the anti-aliasing setting value, which will be one of
SWT.DEFAULT
,SWT.OFF
orSWT.ON
. - getAntialias() - Method in class org.eclipse.draw2d.ScaledGraphics
- getAntialias() - Method in class org.eclipse.draw2d.Shape
- getAntialias() - Method in class org.eclipse.draw2d.SWTGraphics
- getArea() - Method in class org.eclipse.draw2d.geometry.Dimension
-
Returns the area of this Dimension.
- getAscent() - Method in class org.eclipse.draw2d.text.BlockBox
- getAscent() - Method in class org.eclipse.draw2d.text.FlowBox
-
Returns the amount of line content in pixels which is above the baseline.
- getAscent() - Method in class org.eclipse.draw2d.text.LineBox
- getAscent() - Method in class org.eclipse.draw2d.text.TextFragmentBox
-
Returns the textflow's font's ascent.
- getAscent(Font) - Method in class org.eclipse.draw2d.TextUtilities
-
Gets the font's ascent.
- getAverageCharWidth(TextFragmentBox, Font) - Method in class org.eclipse.draw2d.text.FlowUtilities
-
Gets the average character width.
- getAveraged(Ray) - Method in class org.eclipse.draw2d.geometry.Ray
-
Deprecated.Creates a new Ray which represents the average of this Ray with another.
- getAveraged(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Creates a new Vector which represents the average of this Vector with another.
- getBackgroundColor() - Method in class org.eclipse.draw2d.Figure
-
Returns this Figure's background color.
- getBackgroundColor() - Method in class org.eclipse.draw2d.Graphics
-
Returns the background color used for filling.
- getBackgroundColor() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the background color.
- getBackgroundColor() - Method in class org.eclipse.draw2d.LightweightSystem.RootFigure
- getBackgroundColor() - Method in class org.eclipse.draw2d.ScaledGraphics
- getBackgroundColor() - Method in class org.eclipse.draw2d.SWTGraphics
- getBackgroundColor() - Method in class org.eclipse.draw2d.TitleBarBorder
-
Returns the background Color of this TitleBarBorder.
- getBaseline() - Method in class org.eclipse.draw2d.text.BlockBox
- getBaseline() - Method in class org.eclipse.draw2d.text.CaretInfo
-
Returns the y location of the baseline.
- getBaseline() - Method in class org.eclipse.draw2d.text.ContentBox
- getBaseline() - Method in class org.eclipse.draw2d.text.FlowBox
-
Returns y coordinate for the box's baseline.
- getBaseline() - Method in class org.eclipse.draw2d.text.LineRoot
- getBaseline() - Method in class org.eclipse.draw2d.text.NestedLine
- getBendPoints() - Method in class org.eclipse.draw2d.graph.Path
-
Returns the list of constrained points through which this path must pass or
null
. - getBidiInfo() - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the BidiInfo for this figure or
null
. - getBidiLevel() - Method in class org.eclipse.draw2d.text.ContentBox
- getBidiSubstring(TextFragmentBox, int) - Method in class org.eclipse.draw2d.text.TextFlow
- getBlockBox() - Method in class org.eclipse.draw2d.text.BlockFlow
-
Returns the BlockBox associated with this.
- getBlockFlow() - Method in class org.eclipse.draw2d.text.BlockFlowLayout
-
Returns the BlockFlow associated with this BlockFlowLayout
- getBorder() - Method in class org.eclipse.draw2d.Figure
- getBorder() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the current border by reference.
- getBorderPreferredSize(IFigure) - Method in class org.eclipse.draw2d.AbstractLayout
-
Returns the preferred size of the figure's border.
- getBottom() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getBottom() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point representing the middle point of the bottom side of this Rectangle.
- getBottomLeft() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getBottomLeft() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point representing the bottom left point of this Rectangle.
- getBottomMargin() - Method in class org.eclipse.draw2d.text.AbstractFlowBorder
- getBottomMargin() - Method in interface org.eclipse.draw2d.text.FlowBorder
-
Returns the collapsable bottom margin in pixels.
- getBottomRight() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getBottomRight() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point representing the bottom right point of this Rectangle.
- getBounds() - Method in class org.eclipse.draw2d.Figure
-
Returns the smallest rectangle completely enclosing the figure.
- getBounds() - Method in class org.eclipse.draw2d.geometry.PointList
-
Returns the smallest Rectangle which contains all Points.
- getBounds() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the smallest rectangle completely enclosing the IFigure.
- getBounds() - Method in class org.eclipse.draw2d.Polyline
- getBounds() - Method in class org.eclipse.draw2d.PolylineConnection
-
Returns the bounds which holds all the points in this polyline connection.
- getBox() - Method in class org.eclipse.draw2d.ChopboxAnchor
-
Returns the bounds of this ChopboxAnchor's owner.
- getBox() - Method in class org.eclipse.draw2d.LabelAnchor
-
Returns the bounds of this LabelAnchor's owning Label icon.
- getButton() - Method in class org.eclipse.draw2d.BasicColorProvider
- getButton() - Method in interface org.eclipse.draw2d.ColorProvider
- getButtonDarker() - Method in class org.eclipse.draw2d.BasicColorProvider
- getButtonDarker() - Method in interface org.eclipse.draw2d.ColorProvider
- getButtonDarkest() - Method in class org.eclipse.draw2d.BasicColorProvider
- getButtonDarkest() - Method in interface org.eclipse.draw2d.ColorProvider
- getButtonDown() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the figure used as the down button.
- getButtonLightest() - Method in class org.eclipse.draw2d.BasicColorProvider
- getButtonLightest() - Method in interface org.eclipse.draw2d.ColorProvider
- getButtonUp() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the figure used as the up button.
- getCaretPlacement(int, boolean) - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the CaretInfo in absolute coordinates.
- getCenter() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getCenter() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new point representing the center of this Rectangle.
- getChild(AccessibleControlEvent) - Method in class org.eclipse.draw2d.EventDispatcher.AccessibilityDispatcher
- getChild(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getChildAtPoint(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getChildAtPoint(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getChildCount(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getChildCount(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getChildMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ToolbarLayout
- getChildPreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.ToolbarLayout
- getChildren() - Method in class org.eclipse.draw2d.Figure
- getChildren() - Method in interface org.eclipse.draw2d.IFigure
-
Returns an unmodifiable list of children by reference.
- getChildren(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getChildren(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getChildrenRevIterable() - Method in class org.eclipse.draw2d.Figure
-
Provide an iterable that will iterate in reverse over all children of this figure.
- getChildSize(IFigure, int, int) - Method in class org.eclipse.draw2d.FlowLayout
-
Provides the given child's preferred size.
- getChildSize(IFigure, int, int) - Method in class org.eclipse.draw2d.GridLayout
- getClientArea() - Method in class org.eclipse.draw2d.Figure
- getClientArea() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the rectangular area within this Figure's bounds in which children will be placed (via
LayoutManagers
) and the painting of children will be clipped. - getClientArea(Rectangle) - Method in class org.eclipse.draw2d.Figure
- getClientArea(Rectangle) - Method in interface org.eclipse.draw2d.IFigure
-
Copies the client area into the specificied Recangle, and returns that rectangle for convenience.
- getClientArea(Rectangle) - Method in class org.eclipse.draw2d.ScalableFreeformLayeredPane
- getClientArea(Rectangle) - Method in class org.eclipse.draw2d.ScalableLayeredPane
- getClientArea(Rectangle) - Method in class org.eclipse.draw2d.Viewport
- getClip(Rectangle) - Method in class org.eclipse.draw2d.Graphics
-
Modifies the given rectangle to match the clip region and returns that rectangle.
- getClip(Rectangle) - Method in class org.eclipse.draw2d.ScaledGraphics
- getClip(Rectangle) - Method in class org.eclipse.draw2d.SWTGraphics
- getClip(IFigure) - Method in interface org.eclipse.draw2d.IClippingStrategy
-
Specifies the clipping region for the given child figure.
- getClip(IFigure) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
- getClippingStrategy() - Method in class org.eclipse.draw2d.Figure
-
Returns the IClippingStrategy used by this figure to clip its children
- getClippingStrategy() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the IClippingStrategy used by this figure to clip its children
- getColor() - Method in class org.eclipse.draw2d.LineBorder
-
Returns the line color of this border.
- getColor(int) - Static method in class org.eclipse.draw2d.ColorConstants.SystemColorFactory
- getColorProvider() - Static method in class org.eclipse.draw2d.ColorProvider.SystemColorFactory
- getConnection() - Method in class org.eclipse.draw2d.ConnectionLocator
-
Returns connection associated with ConnectionLocator.
- getConnection() - Method in class org.eclipse.draw2d.RelativeBendpoint
-
Returns the Connection this Bendpoint is associated with.
- getConnectionRouter() - Method in interface org.eclipse.draw2d.Connection
-
Returns the ConnectionRouter used to route this Connection.
- getConnectionRouter() - Method in class org.eclipse.draw2d.ConnectionLayer
-
Returns the ConnectionRouter being used by this layer.
- getConnectionRouter() - Method in class org.eclipse.draw2d.PolylineConnection
-
Returns the
ConnectionRouter
used to layout this connection. - getConstraint(Connection) - Method in class org.eclipse.draw2d.AbstractRouter
-
Returns the constraint for the given Connection.
- getConstraint(Connection) - Method in class org.eclipse.draw2d.AutomaticRouter
- getConstraint(Connection) - Method in class org.eclipse.draw2d.BendpointConnectionRouter
-
Gets the constraint for the given
Connection
. - getConstraint(Connection) - Method in interface org.eclipse.draw2d.ConnectionRouter
-
Returns the constraint for the Connection.
- getConstraint(Connection) - Method in class org.eclipse.draw2d.ShortestPathConnectionRouter
-
Gets the constraint for the given
Connection
. - getConstraint(IFigure) - Method in class org.eclipse.draw2d.AbstractLayout
-
Returns the constraint for the given figure.
- getConstraint(IFigure) - Method in class org.eclipse.draw2d.DelegatingLayout
- getConstraint(IFigure) - Method in class org.eclipse.draw2d.GridLayout
- getConstraint(IFigure) - Method in interface org.eclipse.draw2d.LayoutManager
-
Returns the constraint for the given figure.
- getConstraint(IFigure) - Method in class org.eclipse.draw2d.text.FlowFigureLayout
-
Not applicable.
- getConstraint(IFigure) - Method in class org.eclipse.draw2d.XYLayout
- getContainer() - Method in class org.eclipse.draw2d.ShortestPathConnectionRouter
- getContents() - Method in class org.eclipse.draw2d.FigureCanvas
- getContents() - Method in class org.eclipse.draw2d.ScrollPane
-
Returns the contents of the viewport.
- getContents() - Method in class org.eclipse.draw2d.Viewport
-
Returns the view, which is the contents of the
ScrollPane
associated with this Viewport. - getContentsTracksHeight() - Method in class org.eclipse.draw2d.Viewport
-
Returns
true
if the Viewport resizes itself in the vertical direction when the available height of its view is decreased, false otherwise. - getContentsTracksWidth() - Method in class org.eclipse.draw2d.Viewport
-
Returns
true
if the Viewport resizes itself in the horizontal direction when the available width of its view is decreased, false otherwise. - getContext() - Method in class org.eclipse.draw2d.text.FlowFigureLayout
-
Returns this layout's context or
null
. - getContinueOnSameLine() - Method in class org.eclipse.draw2d.text.BlockFlowLayout
- getContinueOnSameLine() - Method in interface org.eclipse.draw2d.text.FlowContext
-
This method is used to convey layout state to different FlowFigures.
- getContinueOnSameLine() - Method in class org.eclipse.draw2d.text.InlineFlowLayout
-
InlineFlowLayout gets this information from its context.
- getCopy() - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a copy of this Dimension.
- getCopy() - Method in record class org.eclipse.draw2d.geometry.Interval
-
Returns a new Interval which has the exact same parameters as this Interval.
- getCopy() - Method in class org.eclipse.draw2d.geometry.Point
- getCopy() - Method in class org.eclipse.draw2d.geometry.PointList
-
Creates a copy
- getCopy() - Method in class org.eclipse.draw2d.geometry.PrecisionDimension
- getCopy() - Method in class org.eclipse.draw2d.geometry.PrecisionPoint
- getCopy() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getCopy() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which has the exact same parameters as this Rectangle.
- getCornerDimensions() - Method in class org.eclipse.draw2d.RoundedRectangle
-
Returns the dimensions used for each corner.
- getCropped(Insets) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Deprecated.
- getCrossProduct(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Calculates the cross product of this Vector with another.
- getCurrentEvent() - Method in class org.eclipse.draw2d.SWTEventDispatcher
-
Returns the current mouse event.
- getCurrentFocusOwner() - Method in class org.eclipse.draw2d.FocusTraverseManager
- getCurrentState(IFigure) - Method in class org.eclipse.draw2d.Animator
-
Returns an object encapsulating the current state of the figure.
- getCurrentState(IFigure) - Method in class org.eclipse.draw2d.LayoutAnimator
-
Returns an object encapsulating the placement of children in a container.
- getCurrentState(IFigure) - Method in class org.eclipse.draw2d.RoutingAnimator
-
Returns the current state of the connection.
- getCursor() - Method in class org.eclipse.draw2d.Figure
- getCursor() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the Cursor used when the mouse is over this IFigure.
- getCursorTarget() - Method in class org.eclipse.draw2d.SWTEventDispatcher
-
Returns the figure that the cursor is over.
- getDefault() - Method in class org.eclipse.draw2d.ButtonGroup
-
Returns the ButtonModel which is selected by default for this ButtonGroup.
- getDefault() - Static method in class org.eclipse.draw2d.LayoutAnimator
-
Returns the default instance.
- getDefault() - Static method in class org.eclipse.draw2d.RoutingAnimator
-
Returns the default instance.
- getDefaultAction(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getDefaultAction(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getDefaultOrientation() - Method in class org.eclipse.draw2d.FlowLayout
-
Returns
PositionConstants.HORIZONTAL
by default. - getDefaultOrientation() - Method in class org.eclipse.draw2d.OrderedLayout
-
Returns the default orientation of this layout.
- getDefaultOrientation() - Method in class org.eclipse.draw2d.ToolbarLayout
-
Returns
PositionConstants.VERTICAL
by default. - getDefaultPadding() - Method in class org.eclipse.draw2d.graph.DirectedGraph
-
Returns the default padding for nodes.
- getDelta() - Method in class org.eclipse.draw2d.graph.Edge
-
Returns the delta value.
- getDescent() - Method in class org.eclipse.draw2d.text.BlockBox
- getDescent() - Method in class org.eclipse.draw2d.text.FlowBox
-
Returns the amount of line content in pixels which is below the baseline.
- getDescent() - Method in class org.eclipse.draw2d.text.LineBox
- getDescent() - Method in class org.eclipse.draw2d.text.TextFragmentBox
-
Returns the textflow's font's descent.
- getDescent(Font) - Method in class org.eclipse.draw2d.TextUtilities
-
Gets the font's descent.
- getDescription(AccessibleEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getDescription(AccessibleEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getDifference(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Deprecated.Use
Dimension.getShrinked(Dimension)
instead. - getDifference(Point) - Method in class org.eclipse.draw2d.geometry.Point
-
Calculates the difference in between this Point and the one specified.
- getDifference(Point) - Method in class org.eclipse.draw2d.geometry.PrecisionPoint
- getDirection() - Method in class org.eclipse.draw2d.graph.DirectedGraph
-
Returns the direction in which the graph will be layed out.
- getDirection(Rectangle, Point) - Method in class org.eclipse.draw2d.ManhattanConnectionRouter
-
Returns the direction the point p is in relation to the given rectangle.
- getDirectionalCursor(int) - Static method in class org.eclipse.draw2d.Cursors
-
Returns the cursor corresponding to the given direction, defined in
PositionConstants
. - getDirectionalCursor(int, boolean) - Static method in class org.eclipse.draw2d.Cursors
-
Returns the cursor corresponding to the given direction and mirroring.
- getDissimilarity(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Calculates the magnitude of the cross product of this Vector with another.
- getDistance(Point) - Method in class org.eclipse.draw2d.geometry.Point
-
Calculates the distance from this Point to the one specified.
- getDistance(Vector) - Method in class org.eclipse.draw2d.geometry.Straight
-
Returns the distance of the provided Vector to this Straight, which is the distance between the provided Vector and its projection onto this Straight.
- getDistance2(Point) - Method in class org.eclipse.draw2d.geometry.Point
-
Deprecated.Use
Point.getDistance(Point)
and square the result instead. - getDistanceOrthogonal(Point) - Method in class org.eclipse.draw2d.geometry.Point
-
Deprecated.May not be guaranteed by precision subclasses and should thus not be used any more.
- getDivided(double) - Method in class org.eclipse.draw2d.geometry.Vector
-
Creates a new Vector which represents this Vector divided by the provided scalar factor.
- getDotProduct(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Calculates the dot product of this Vector with another.
- getEdge(int) - Method in class org.eclipse.draw2d.graph.EdgeList
-
Deprecated, for removal: This API element is subject to removal in a future version.use Use
ArrayList.get(int)
instead. - getEdgeClippingRectangle(Connection) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-
Computes clipping rectangle(s) for a given connection.
- getElements() - Method in class org.eclipse.draw2d.ButtonGroup
-
Returns a List which contains all of the
ButtonModels
added to this ButtonGroup. - getEnclosingViewportsPath(IFigure) - Static method in class org.eclipse.draw2d.ViewportUtilities
- getEnd() - Method in class org.eclipse.draw2d.AbstractPointListShape
-
Returns the last point in this Figure.
- getEndDirection(Connection) - Method in class org.eclipse.draw2d.ManhattanConnectionRouter
- getEndPoint() - Method in class org.eclipse.draw2d.graph.Path
-
Returns the end point for this path
- getEndPoint(Connection) - Method in class org.eclipse.draw2d.AbstractRouter
-
A convenience method for obtaining a connection's endpoint.
- getEventDispatcher() - Method in class org.eclipse.draw2d.LightweightSystem
-
Returns this LightwightSystem's EventDispatcher.
- getExpanded(double, double) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a new Dimension representing the sum of this Dimension and the one specified.
- getExpanded(double, double) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new incremented Rectangle, where the sides are expanded by the horizontal and vertical values provided.
- getExpanded(int, int) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a new Dimension representing the sum of this Dimension and the one specified.
- getExpanded(int, int) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new incremented Rectangle, where the sides are expanded by the horizontal and vertical values provided.
- getExpanded(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a Dimension representing the sum of this Dimension and the one specified.
- getExpanded(Insets) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Creates and returns a new Rectangle with the bounds of
this
Rectangle, expanded by the given Insets. - getExtent() - Method in class org.eclipse.draw2d.DefaultRangeModel
- getExtent() - Method in interface org.eclipse.draw2d.RangeModel
-
Returns the extent.
- getExtent() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the extent.
- getFillRule() - Method in class org.eclipse.draw2d.Graphics
-
Returns the fill rule, which will be one of
SWT.FILL_EVEN_ODD
orSWT.FILL_WINDING
. - getFillRule() - Method in class org.eclipse.draw2d.ScaledGraphics
- getFillRule() - Method in class org.eclipse.draw2d.SWTGraphics
- getFinalState(Animator, IFigure) - Static method in class org.eclipse.draw2d.Animation
-
Returns the final animation state for the given figure.
- getFirstOffsetForLine(int) - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the minimum character offset which is on the given baseline y-coordinate.
- getFirstPoint() - Method in class org.eclipse.draw2d.geometry.PointList
-
Returns the first Point in the list.
- getFlag(int) - Method in class org.eclipse.draw2d.Figure
-
Returns the value of the given flag.
- getFlowFigure() - Method in class org.eclipse.draw2d.text.FlowFigureLayout
- getFlowFigure() - Method in class org.eclipse.draw2d.text.InlineFlowLayout
- getFlowUtilities() - Method in class org.eclipse.draw2d.text.TextFlow
-
Gets the
FlowUtilities
instance to be used in measurement calculations. - getFocus(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getFocus(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getFocusOwner() - Method in class org.eclipse.draw2d.EventDispatcher
-
Returns the IFigure that currently has focus.
- getFocusOwner() - Method in class org.eclipse.draw2d.SWTEventDispatcher
- getFocusTraverseManager() - Method in class org.eclipse.draw2d.SWTEventDispatcher
-
Returns the FocusTraverseManager which is used to determine which figure will get focus when a TAB or ALT+TAB key sequence occurs.
- getFont() - Method in class org.eclipse.draw2d.Figure
- getFont() - Method in class org.eclipse.draw2d.FigureCanvas
- getFont() - Method in class org.eclipse.draw2d.Graphics
-
Returns the font used to draw and fill text.
- getFont() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the current Font by reference.
- getFont() - Method in class org.eclipse.draw2d.LightweightSystem.RootFigure
- getFont() - Method in class org.eclipse.draw2d.ScaledGraphics
- getFont() - Method in class org.eclipse.draw2d.SWTGraphics
- getFont(IFigure) - Method in class org.eclipse.draw2d.AbstractLabeledBorder
-
Returns the font that this border will use.
- getFontMetrics() - Method in class org.eclipse.draw2d.Graphics
-
Returns the font metrics for the current font.
- getFontMetrics() - Method in class org.eclipse.draw2d.ScaledGraphics
- getFontMetrics() - Method in class org.eclipse.draw2d.SWTGraphics
- getFontMetrics(Font) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the FontMetrics associated with the passed Font.
- getForegroundColor() - Method in class org.eclipse.draw2d.Figure
- getForegroundColor() - Method in class org.eclipse.draw2d.Graphics
-
Returns the foreground color used to draw lines and text.
- getForegroundColor() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the foreground color.
- getForegroundColor() - Method in class org.eclipse.draw2d.LightweightSystem.RootFigure
- getForegroundColor() - Method in class org.eclipse.draw2d.ScaledGraphics
- getForegroundColor() - Method in class org.eclipse.draw2d.SWTGraphics
- getFragment(int, List<TextFragmentBox>) - Method in class org.eclipse.draw2d.text.TextLayout
-
Reuses an existing
TextFragmentBox
, or creates a new one. - getFragments() - Method in class org.eclipse.draw2d.text.InlineFlow
-
Returns the
FlowBox
fragments contained in this InlineFlow. - getFragments() - Method in class org.eclipse.draw2d.text.TextFlow
- getFragmentsWithoutBorder() - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the
TextFragmentBox
fragments contained in this TextFlow, not including the border fragments. - getFreeformExtent() - Method in interface org.eclipse.draw2d.FreeformFigure
-
Returns the freeform extent, essentially the bounds of the FreeformFigure.
- getFreeformExtent() - Method in class org.eclipse.draw2d.FreeformLayer
- getFreeformExtent() - Method in class org.eclipse.draw2d.FreeformLayeredPane
- getFreeformHelper() - Method in class org.eclipse.draw2d.FreeformLayeredPane
-
Returns the FreeformHelper.
- getFreshPrinterGraphics() - Method in class org.eclipse.draw2d.PrintOperation
-
Returns a new PrinterGraphics setup for the Printer associated with this PrintOperation.
- getGap() - Method in class org.eclipse.draw2d.AbstractLocator
-
Returns the number of pixels to leave between the figure being located and the reference point.
- getGC() - Static method in class org.eclipse.draw2d.FigureUtilities
-
Deprecated.do not mess with this GC
- getGraphics(Rectangle) - Method in class org.eclipse.draw2d.DeferredUpdateManager
-
Returns a Graphics object for the given region.
- getGraphics(Rectangle) - Method in interface org.eclipse.draw2d.GraphicsSource
-
Returns a Graphics for the rectangular region requested.
- getGraphics(Rectangle) - Method in class org.eclipse.draw2d.NativeGraphicsSource
-
Always returns
null
, because - getGroup() - Method in class org.eclipse.draw2d.ButtonModel
-
Returns the group to which this model belongs.
- getHeight() - Method in class org.eclipse.draw2d.geometry.Insets
-
Returns the height for this Insets, equal to
top
+bottom
. - getHeight() - Method in class org.eclipse.draw2d.text.BlockBox
- getHeight() - Method in class org.eclipse.draw2d.text.CaretInfo
-
Returns the total height of the caret.
- getHelp(AccessibleEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getHelp(AccessibleEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getHighlight() - Method in class org.eclipse.draw2d.SchemeBorder.Scheme
-
Returns the highlight colors of this border scheme as an array of Colors.
- getHighlightPressed() - Method in class org.eclipse.draw2d.ButtonBorder.ButtonScheme
-
Returns the pressed highlight colors of this border.
- getHorizontalAligment() - Method in class org.eclipse.draw2d.text.BlockFlow
-
Returns the effective horizontal alignment.
- getHorizontalInterval() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Interval beginning at the x coordinate with the width as length.
- getHorizontalRangeModel() - Method in class org.eclipse.draw2d.Viewport
-
Returns the RangeModel associated with the horizontal motion of this Viewport
- getHorizontalScrollBar() - Method in class org.eclipse.draw2d.ScrollPane
-
Returns the ScrollPane's horizontal ScrollBar.
- getHorizontalScrollBarVisibility() - Method in class org.eclipse.draw2d.FigureCanvas
- getHorizontalScrollBarVisibility() - Method in class org.eclipse.draw2d.ScrollPane
-
Returns the visibility of the ScrollPane's horizontal ScrollBar.
- getHost() - Method in class org.eclipse.draw2d.SubordinateUpdateManager
-
Deprecated.Returns the host figure.
- getIcon() - Method in class org.eclipse.draw2d.Label
-
Returns the Label's icon.
- getIconAlignment() - Method in class org.eclipse.draw2d.Label
-
Returns the current alignment of the Label's icon.
- getIconBounds() - Method in class org.eclipse.draw2d.Label
-
Returns the bounds of the Label's icon.
- getIconLocation() - Method in class org.eclipse.draw2d.Label
-
Returns the location of the Label's icon relative to the Label.
- getIconSize() - Method in class org.eclipse.draw2d.Label
-
Gets the icon size
- getIconTextGap() - Method in class org.eclipse.draw2d.Label
-
Returns the gap in pixels between the Label's icon and its text.
- getImage() - Method in interface org.eclipse.draw2d.IImageFigure
-
Returns the SWT Image contained by the figure
- getImage() - Method in class org.eclipse.draw2d.ImageFigure
- getImage() - Method in class org.eclipse.draw2d.widgets.MultiLineLabel
- getIndex() - Method in class org.eclipse.draw2d.BendpointLocator
-
Returns the index of this BendpointLocator.
- getIndex() - Method in class org.eclipse.draw2d.MidpointLocator
-
Returns this MidpointLocator's index.
- getInitialState(Animator, IFigure) - Static method in class org.eclipse.draw2d.Animation
-
Returns the initial animation state for the given animator and figure.
- getInnerBorder() - Method in class org.eclipse.draw2d.CompoundBorder
-
Returns the inner border of this CompoundBorder.
- getInsets() - Method in class org.eclipse.draw2d.Figure
-
Returns the border's Insets if the border is set.
- getInsets() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the current Insets.
- getInsets() - Method in class org.eclipse.draw2d.SchemeBorder.Scheme
-
Returns the Insets required by this Scheme.
- getInsets(IFigure) - Method in class org.eclipse.draw2d.AbstractBackground
-
Returns the Insets for this Border for the given Figure.
- getInsets(IFigure) - Method in class org.eclipse.draw2d.AbstractLabeledBorder
-
Returns the insets, or space associated for this border.
- getInsets(IFigure) - Method in interface org.eclipse.draw2d.Border
-
Returns the Insets for this Border for the given Figure.
- getInsets(IFigure) - Method in class org.eclipse.draw2d.CompoundBorder
-
Returns the total insets required to hold both the inner and outer borders of this CompoundBorder.
- getInsets(IFigure) - Method in class org.eclipse.draw2d.FocusBorder
- getInsets(IFigure) - Method in class org.eclipse.draw2d.LineBorder
-
Returns the space used by the border for the figure provided as input.
- getInsets(IFigure) - Method in class org.eclipse.draw2d.MarginBorder
- getInsets(IFigure) - Method in class org.eclipse.draw2d.SchemeBorder
- getInsets(IFigure) - Method in class org.eclipse.draw2d.SimpleEtchedBorder
-
Returns the Insets used by this border.
- getInsets(IFigure) - Method in class org.eclipse.draw2d.text.AbstractFlowBorder
- getInterpolation() - Method in class org.eclipse.draw2d.Graphics
-
Returns the interpolation setting.
- getInterpolation() - Method in class org.eclipse.draw2d.ScaledGraphics
- getInterpolation() - Method in class org.eclipse.draw2d.SWTGraphics
- getIntersected(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a new Dimension representing the intersection of this Dimension and the one specified.
- getIntersection(Interval) - Method in record class org.eclipse.draw2d.geometry.Interval
- getIntersection(Rectangle) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which has the intersection of this Rectangle and the rectangle provided as input.
- getIntersection(Straight) - Method in class org.eclipse.draw2d.geometry.Straight
-
Computes the intersection point of this Straight and the provided one, if it exists.
- getKeyboardShortcut(AccessibleEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getKeyboardShortcut(AccessibleEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getLabel() - Method in class org.eclipse.draw2d.AbstractLabeledBorder
- getLabel() - Method in class org.eclipse.draw2d.FrameBorder
- getLabel() - Method in interface org.eclipse.draw2d.LabeledBorder
-
Returns the label for this Border.
- getLabel() - Method in class org.eclipse.draw2d.LabeledContainer
-
Returns the text of the LabeledContainer's label.
- getLabelAlignment() - Method in class org.eclipse.draw2d.Label
-
Returns the alignment of the entire label (icon and text).
- getLabeledBorder() - Method in class org.eclipse.draw2d.FrameBorder
-
Returns the inner border of this FrameBorder, which contains the label for the FrameBorder.
- getLabeledBorder() - Method in class org.eclipse.draw2d.LabeledContainer
-
Returns the LabeledBorder of this container.
- getLargestSubstringConfinedTo(String, Font, int) - Method in class org.eclipse.draw2d.TextUtilities
-
Returns the largest substring of s in Font f that can be confined to the number of pixels in availableWidth.
- getLastOffsetForLine(int) - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the maximum offset for a character which is on the given baseline y-coordinate.
- getLastPoint() - Method in class org.eclipse.draw2d.geometry.PointList
-
Returns the last point in the list.
- getLayer(int) - Method in class org.eclipse.draw2d.LayeredPane
-
Returns the layer at the specified index in this pane.
- getLayer(Object) - Method in class org.eclipse.draw2d.LayeredPane
-
Returns the layer identified by the key given in the input.
- getLayoutManager() - Method in class org.eclipse.draw2d.Figure
- getLayoutManager() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the current LayoutManager by reference.
- getLayoutSize() - Method in class org.eclipse.draw2d.graph.DirectedGraph
- getLeft() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point representing the middle point of the left hand side of this Rectangle.
- getLeft() - Method in class org.eclipse.draw2d.graph.Node
-
Returns a reference to a node located left from this one
- getLeftMargin() - Method in class org.eclipse.draw2d.text.AbstractFlowBorder
- getLeftMargin() - Method in interface org.eclipse.draw2d.text.FlowBorder
-
Returns the left margin in pixels.
- getLength() - Method in class org.eclipse.draw2d.geometry.Vector
-
Returns the length of this Vector.
- getLength() - Method in class org.eclipse.draw2d.graph.Edge
-
For internal use only.
- getLightweightSystem() - Method in class org.eclipse.draw2d.FigureCanvas
- getLightweightSystem() - Method in class org.eclipse.draw2d.PopUpHelper
-
Returns this PopUpHelper's LightweightSystem.
- getLineAttributes() - Method in class org.eclipse.draw2d.Graphics
-
Returns the current collection of line attributes.
- getLineAttributes() - Method in class org.eclipse.draw2d.ScaledGraphics
- getLineAttributes() - Method in class org.eclipse.draw2d.Shape
-
Returns line attributes used when drawing this shape.
- getLineAttributes(LineAttributes) - Method in class org.eclipse.draw2d.SWTGraphics
- getLineCap() - Method in class org.eclipse.draw2d.Graphics
-
Returns the current line cap style.
- getLineCap() - Method in class org.eclipse.draw2d.ScaledGraphics
- getLineCap() - Method in class org.eclipse.draw2d.Shape
-
Returns the line cap style of this shape's outline.
- getLineCap() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineDash() - Method in class org.eclipse.draw2d.Shape
-
Returns the line dash style of this shape's outline.
- getLineDash() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineDashOffset() - Method in class org.eclipse.draw2d.Shape
-
Returns the line dash offset of this shape's outline.
- getLineDashOffset() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineForeground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getLineForeground() - Method in interface org.eclipse.draw2d.ColorProvider
- getLineHeight() - Method in class org.eclipse.draw2d.text.CaretInfo
- getLineJoin() - Method in class org.eclipse.draw2d.Graphics
-
Returns the line join style.
- getLineJoin() - Method in class org.eclipse.draw2d.ScaledGraphics
- getLineJoin() - Method in class org.eclipse.draw2d.Shape
-
Returns the line join style of this shape's outline.
- getLineJoin() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineMiterLimit() - Method in class org.eclipse.draw2d.Graphics
-
Returns the line miter limit.
- getLineMiterLimit() - Method in class org.eclipse.draw2d.ScaledGraphics
- getLineMiterLimit() - Method in class org.eclipse.draw2d.Shape
-
Returns the line dash miter limit of this shape's outline.
- getLineMiterLimit() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineStyle() - Method in class org.eclipse.draw2d.Graphics
-
Returns the line style.
- getLineStyle() - Method in class org.eclipse.draw2d.ScaledGraphics
- getLineStyle() - Method in class org.eclipse.draw2d.Shape
-
Returns the line style of this shape's outline.
- getLineStyle() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineWidth() - Method in class org.eclipse.draw2d.Graphics
-
Returns the current line width.
- getLineWidth() - Method in class org.eclipse.draw2d.ScaledGraphics
- getLineWidth() - Method in class org.eclipse.draw2d.Shape
-
Returns the line width of this shape's outline.
- getLineWidth() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineWidthFloat() - Method in class org.eclipse.draw2d.Graphics
-
Returns the current line width.
- getLineWidthFloat() - Method in class org.eclipse.draw2d.ScaledGraphics
- getLineWidthFloat() - Method in class org.eclipse.draw2d.Shape
-
Returns the line width of this shape's outline.
- getLineWidthFloat() - Method in class org.eclipse.draw2d.SWTGraphics
- getLineY() - Method in class org.eclipse.draw2d.text.CaretInfo
- getListBackground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getListBackground() - Method in interface org.eclipse.draw2d.ColorProvider
- getListeners(Class<T>) - Method in class org.eclipse.draw2d.EventListenerList
-
Returns an Iterator of all the listeners of type c.
- getListeners(Class<T>) - Method in class org.eclipse.draw2d.Figure
-
Returns an Iterator over the listeners of type clazz that are listening to this Figure.
- getListenersIterable(Class<T>) - Method in class org.eclipse.draw2d.EventListenerList
-
Returns a typed Iterable of all listeners of a of type c.
- getListenersIterable(Class<T>) - Method in class org.eclipse.draw2d.Figure
-
* Returns an Iterator over the listeners of type listenerType that are listening to this Figure.
- getListForeground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getListForeground() - Method in interface org.eclipse.draw2d.ColorProvider
- getListHoverBackgroundColor() - Method in class org.eclipse.draw2d.BasicColorProvider
- getListHoverBackgroundColor() - Method in interface org.eclipse.draw2d.ColorProvider
- getListSelectedBackgroundColor() - Method in class org.eclipse.draw2d.BasicColorProvider
- getListSelectedBackgroundColor() - Method in interface org.eclipse.draw2d.ColorProvider
- getLocalBackgroundColor() - Method in class org.eclipse.draw2d.Figure
-
Returns
null
or the local background Color of this Figure. - getLocalBackgroundColor() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the background Color of this Figure.
- getLocalBackgroundColor() - Method in class org.eclipse.draw2d.PolygonDecoration
- getLocalFont() - Method in class org.eclipse.draw2d.Figure
-
Returns
null
or the local font setting for this figure. - getLocalForegroundColor() - Method in class org.eclipse.draw2d.Figure
-
Returns
null
or the local foreground Color of this Figure. - getLocalForegroundColor() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the local foreground Color of this Figure.
- getLocalHorizontalAlignment() - Method in class org.eclipse.draw2d.text.BlockFlow
-
Returns the horizontal alignment set on this block.
- getLocalOrientation() - Method in class org.eclipse.draw2d.text.BlockFlow
-
Returns the orientation set on this block.
- getLocation() - Method in class org.eclipse.draw2d.AbsoluteBendpoint
- getLocation() - Method in interface org.eclipse.draw2d.Bendpoint
-
Returns the location of the bendpoint relative to the connection.
- getLocation() - Method in class org.eclipse.draw2d.Figure
-
Returns the top-left corner of this Figure's bounds.
- getLocation() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns the upper left hand corner of the rectangle.
- getLocation() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the top-left corner of this Figure's bounds.
- getLocation() - Method in class org.eclipse.draw2d.MouseEvent
- getLocation() - Method in class org.eclipse.draw2d.RelativeBendpoint
-
Calculates and returns this Bendpoint's new location.
- getLocation(Point) - Method in class org.eclipse.draw2d.ChopboxAnchor
-
Gets a Rectangle from
ChopboxAnchor.getBox()
and returns the Point where a line from the center of the Rectangle to the Point reference intersects the Rectangle. - getLocation(Point) - Method in interface org.eclipse.draw2d.ConnectionAnchor
-
Returns the location where the Connection should be anchored in absolute coordinates.
- getLocation(Point) - Method in class org.eclipse.draw2d.EllipseAnchor
-
Returns a point on the ellipse (defined by the owner's bounding box) where the connection should be anchored.
- getLocation(Point) - Method in class org.eclipse.draw2d.RoundedRectangleAnchor
-
Calculates the position with ChopboxAnchor#getLocation() and if the anchor is not at the rounded corners, the result is returned.
- getLocation(Point) - Method in class org.eclipse.draw2d.XYAnchor
-
Returns the location of this anchor relative to the reference point given in as input.
- getLocation(PointList) - Method in class org.eclipse.draw2d.ConnectionLocator
-
Returns a point from the passed PointList, dependent on ConnectionLocator's alignment.
- getLocation(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getLocation(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getMajorAlignment() - Method in class org.eclipse.draw2d.FlowLayout
-
Returns the alignment used for an entire row/column.
- getMajorSpacing() - Method in class org.eclipse.draw2d.FlowLayout
-
Returns the spacing in pixels to be used between children in the direction parallel to the layout's orientation.
- getMargin() - Method in class org.eclipse.draw2d.graph.DirectedGraph
-
Sets the outer margin for the entire graph.
- getMaximum() - Method in class org.eclipse.draw2d.DefaultRangeModel
- getMaximum() - Method in interface org.eclipse.draw2d.RangeModel
-
Returns the maximum value in the range.
- getMaximum() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the maximum value.
- getMaximumSize() - Method in class org.eclipse.draw2d.Figure
- getMaximumSize() - Method in interface org.eclipse.draw2d.IFigure
-
Returns a hint indicating the largest desireable size for the IFigure.
- getMenuBackground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getMenuBackground() - Method in interface org.eclipse.draw2d.ColorProvider
- getMenuBackgroundSelected() - Method in class org.eclipse.draw2d.BasicColorProvider
- getMenuBackgroundSelected() - Method in interface org.eclipse.draw2d.ColorProvider
- getMenuForeground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getMenuForeground() - Method in interface org.eclipse.draw2d.ColorProvider
- getMenuForegroundSelected() - Method in class org.eclipse.draw2d.BasicColorProvider
- getMenuForegroundSelected() - Method in interface org.eclipse.draw2d.ColorProvider
- getMidpoint() - Method in class org.eclipse.draw2d.geometry.PointList
-
Returns the midpoint of the list of Points.
- getMinimum() - Method in class org.eclipse.draw2d.DefaultRangeModel
- getMinimum() - Method in interface org.eclipse.draw2d.RangeModel
-
Returns the minimum value in the range.
- getMinimum() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the minumum value.
- getMinimumSize() - Method in class org.eclipse.draw2d.Figure
- getMinimumSize() - Method in interface org.eclipse.draw2d.IFigure
-
Returns a hint indicating the smallest desireable size for the IFigure.
- getMinimumSize(int, int) - Method in class org.eclipse.draw2d.Figure
- getMinimumSize(int, int) - Method in interface org.eclipse.draw2d.IFigure
-
Returns a hint indicating the smallest desireable size for the IFigure.
- getMinimumSize(int, int) - Method in class org.eclipse.draw2d.Label
- getMinimumSize(int, int) - Method in class org.eclipse.draw2d.ScalableLayeredPane
- getMinimumSize(int, int) - Method in class org.eclipse.draw2d.text.FlowPage
- getMinimumSize(IFigure) - Method in class org.eclipse.draw2d.AbstractLayout
-
This method is now
AbstractLayout.getMinimumSize(IFigure, int, int)
. - getMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.AbstractHintLayout
- getMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.AbstractLayout
- getMinimumSize(IFigure, int, int) - Method in interface org.eclipse.draw2d.LayoutManager
-
Returns the minimum size of the given figure.
- getMinimumSize(IFigure, int, int) - Method in class org.eclipse.draw2d.text.FlowFigureLayout
-
Not applicable.
- getMinorAlignment() - Method in class org.eclipse.draw2d.OrderedLayout
-
Returns the minor alignment of the layout.
- getMinorSpacing() - Method in class org.eclipse.draw2d.FlowLayout
-
Returns the spacing to be used between children within a row/column.
- getModel() - Method in class org.eclipse.draw2d.Clickable
-
Returns the behavior model used by this Clickable.
- getMouseTarget() - Method in class org.eclipse.draw2d.SWTEventDispatcher
-
Returns the figure that is the target of mouse events.
- getMultiplied(double) - Method in class org.eclipse.draw2d.geometry.Vector
-
Creates a new Vector which represents this Vector multiplied by the provided scalar factor.
- getName(AccessibleEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getName(AccessibleEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getNearestCommonViewport(IFigure, IFigure) - Static method in class org.eclipse.draw2d.ViewportUtilities
- getNearestEnclosingViewport(IFigure) - Static method in class org.eclipse.draw2d.ViewportUtilities
- getNearestViewport(IFigure) - Static method in class org.eclipse.draw2d.ViewportUtilities
- getNegated() - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a new Dimension with negated values.
- getNegated() - Method in class org.eclipse.draw2d.geometry.Insets
-
Creates a new
Insets
with negated values. - getNegated() - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a Point with negated x and y values.
- getNewBounds(Dimension, Point) - Method in class org.eclipse.draw2d.AbstractLocator
-
Recalculate the location of the figure according to its desired position relative to the center point.
- getNextFocusableFigure(IFigure, IFigure) - Method in class org.eclipse.draw2d.FocusTraverseManager
-
Returns the IFigure that will receive focus upon a 'tab' traverse event.
- getNextOffset(Point, boolean, int[]) - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the offset nearest the given point either up or down one line.
- getNextVisibleOffset(int) - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the next offset which is visible in at least one fragment or -1 if there is not one.
- getNode(int) - Method in class org.eclipse.draw2d.graph.NodeList
-
Deprecated, for removal: This API element is subject to removal in a future version.use Use
ArrayList.get(int)
instead. - getNode(int, int) - Method in class org.eclipse.draw2d.graph.DirectedGraph
- getNodeClippingRectangle(IFigure) - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-
Computes clipping rectangle for a given (node) figure.
- getOffset(Point, int[], Dimension) - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the offset of the character directly below or nearest the given location.
- getOffsetIncoming() - Method in class org.eclipse.draw2d.graph.Node
-
Returns the incoming attachment point.
- getOffsetOutgoing() - Method in class org.eclipse.draw2d.graph.Node
-
Returns the outgoing attachment point.
- getOrientation() - Method in class org.eclipse.draw2d.text.BlockFlow
-
Returns this block's Bidi orientation.
- getOrigin(IFigure) - Method in class org.eclipse.draw2d.FreeformLayout
-
Returns the point (0,0) as the origin.
- getOrigin(IFigure) - Method in class org.eclipse.draw2d.XYLayout
-
Returns the origin for the given figure.
- getOrthogonalComplement() - Method in class org.eclipse.draw2d.geometry.Vector
-
Returns the orthogonal complement of this Vector, which is defined to be (-y, x).
- getOuterAscent() - Method in class org.eclipse.draw2d.text.NestedLine
-
Returns the outer ascent of this box.
- getOuterBorder() - Method in class org.eclipse.draw2d.CompoundBorder
-
Returns the outer border of this CompoundBorder.
- getOuterDescent() - Method in class org.eclipse.draw2d.text.NestedLine
-
Returns the outer descent of this box.
- getOwner() - Method in class org.eclipse.draw2d.AbstractConnectionAnchor
-
Returns the owner Figure on which this anchor's location is dependent.
- getOwner() - Method in interface org.eclipse.draw2d.ConnectionAnchor
-
Returns the IFigure that contains this ConnectionAnchor.
- getOwner() - Method in class org.eclipse.draw2d.XYAnchor
-
Returns
null
as these anchors inherently do not depend on other figures for their location. - getPadding() - Method in class org.eclipse.draw2d.graph.Edge
- getPadding() - Method in class org.eclipse.draw2d.graph.Node
-
Returns the padding for this node or
null
if the default padding for the graph should be used. - getPadding() - Method in class org.eclipse.draw2d.TitleBarBorder
-
Returns this TitleBarBorder's padding.
- getPadding(Node) - Method in class org.eclipse.draw2d.graph.DirectedGraph
-
Returns the effective padding for the given node.
- getPageDown() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the figure used for page down.
- getPageIncrement() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the the amound the scrollbar will move when the page up or page down areas are pressed.
- getPageUp() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the figure used for page up.
- getPaintRectangle(IFigure, Insets) - Static method in class org.eclipse.draw2d.AbstractBorder
-
Returns a temporary rectangle representing the figure's bounds cropped by the specified insets.
- getParent() - Method in class org.eclipse.draw2d.Figure
- getParent() - Method in class org.eclipse.draw2d.graph.Node
-
Returns the parent Subgraph or
null
if there is no parent. - getParent() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the IFigure that is the current parent of this IFigure or
null
if there is no parent. - getPathsAfterRouting() - Method in class org.eclipse.draw2d.ShortestPathConnectionRouter
- getPoint(int) - Method in class org.eclipse.draw2d.geometry.PointList
-
Returns the Point in the list at the specified index.
- getPoint(Point, int) - Method in class org.eclipse.draw2d.geometry.PointList
-
Copies the x and y values at given index into a specified Point.
- getPoints() - Method in class org.eclipse.draw2d.AbstractPointListShape
-
Returns the points in this figure by reference.
- getPoints() - Method in interface org.eclipse.draw2d.Connection
-
Returns the PointList containing the Points that make up this Connection.
- getPoints() - Method in class org.eclipse.draw2d.graph.Edge
-
Returns the path connecting the edge's source and target.
- getPoints() - Method in class org.eclipse.draw2d.graph.Path
-
Returns the solution to this path.
- getPoints() - Method in class org.eclipse.draw2d.PolygonDecoration
-
Returns the points in the PolygonDecoration as a PointList.
- getPoints() - Method in class org.eclipse.draw2d.PolylineDecoration
- getPosition(Point) - Method in class org.eclipse.draw2d.geometry.Point
-
Calculates the relative position of the specified Point to this Point.
- getPosition(Point) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns an integer which represents the position of the given point with respect to this rectangle.
- getPreciseCopy() - Method in class org.eclipse.draw2d.geometry.PrecisionDimension
-
Returns a precise copy of this.
- getPreciseCopy() - Method in class org.eclipse.draw2d.geometry.PrecisionPoint
-
Returns a precise copy of this.
- getPreciseCopy() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
-
Returns a precise copy of this.
- getPreferredSize() - Method in class org.eclipse.draw2d.Figure
- getPreferredSize() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the preferred size for this IFigure.
- getPreferredSize(int, int) - Method in class org.eclipse.draw2d.Figure
- getPreferredSize(int, int) - Method in interface org.eclipse.draw2d.IFigure
-
Returns the preferred size for this IFigure using the provided width and height hints.
- getPreferredSize(int, int) - Method in class org.eclipse.draw2d.ImageFigure
-
Calculates the necessary size to display the Image within the figure's client area.
- getPreferredSize(int, int) - Method in class org.eclipse.draw2d.Label
- getPreferredSize(int, int) - Method in class org.eclipse.draw2d.parts.Thumbnail
-
Returns the preferred size of this Thumbnail.
- getPreferredSize(int, int) - Method in class org.eclipse.draw2d.ScalableLayeredPane
- getPreferredSize(int, int) - Method in class org.eclipse.draw2d.text.FlowPage
- getPreferredSize(IFigure) - Method in class org.eclipse.draw2d.AbstractBorder
- getPreferredSize(IFigure) - Method in class org.eclipse.draw2d.AbstractLabeledBorder
- getPreferredSize(IFigure) - Method in class org.eclipse.draw2d.AbstractLayout
-
This method is now
AbstractLayout.getPreferredSize(IFigure, int, int)
. - getPreferredSize(IFigure) - Method in interface org.eclipse.draw2d.Border
-
Returns the preferred width and height that this border would like to display itself properly.
- getPreferredSize(IFigure) - Method in class org.eclipse.draw2d.CompoundBorder
- getPreferredSize(IFigure) - Method in class org.eclipse.draw2d.GroupBoxBorder
- getPreferredSize(IFigure) - Method in class org.eclipse.draw2d.TitleBarBorder
-
Overwritten to handle padding appropriately.
- getPreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.AbstractHintLayout
- getPreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.AbstractLayout
-
Returns the preferred size of the given figure, using width and height hints.
- getPreferredSize(IFigure, int, int) - Method in interface org.eclipse.draw2d.LayoutManager
-
Returns the preferred size of the given figure, using width and height hints.
- getPreferredSize(IFigure, int, int) - Method in class org.eclipse.draw2d.text.FlowFigureLayout
-
Not applicable.
- getPreviousFocusableFigure(IFigure, IFigure) - Method in class org.eclipse.draw2d.FocusTraverseManager
-
Returns the IFigure that will receive focus upon a 'shift-tab' traverse event.
- getPreviousVisibleOffset(int) - Method in class org.eclipse.draw2d.text.TextFlow
-
Returns the previous offset which is visible in at least one fragment or -1 if there is not one.
- getPrinter() - Method in class org.eclipse.draw2d.PrintOperation
-
Returns the printer.
- getPrintMode() - Method in class org.eclipse.draw2d.PrintFigureOperation
-
Returns the current print mode.
- getPrintRegion() - Method in class org.eclipse.draw2d.PrintOperation
-
Returns a Rectangle that represents the region that can be printed to.
- getPrintSource() - Method in class org.eclipse.draw2d.PrintFigureOperation
-
Returns the printSource.
- getProgress() - Static method in class org.eclipse.draw2d.Animation
-
Returns the animation progress, where 0.0 < progress ≤ 1.0.
- getProjection(Vector) - Method in class org.eclipse.draw2d.geometry.Straight
-
Returns the projection of the given Vector onto this Straight, which is the point on this Straight with the minimal distance to the point, denoted by the provided Vector.
- getPropertyName() - Method in class org.eclipse.draw2d.ChangeEvent
-
Returns the name of the property that has changed.
- getRangeModel() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the range model for this scrollbar.
- getRank(int) - Method in class org.eclipse.draw2d.graph.RankList
-
Returns the specified rank.
- getRecommendedWidth() - Method in class org.eclipse.draw2d.text.CompositeBox
-
Returns the recommended width for this CompositeBox.
- getReferenceBox() - Method in class org.eclipse.draw2d.RelativeLocator
-
Returns the Reference Box in the Reference Figure's coordinate system.
- getReferenceFigure() - Method in class org.eclipse.draw2d.RelativeLocator
-
Returns the Figure this locator is relative to.
- getReferencePoint() - Method in class org.eclipse.draw2d.AbstractConnectionAnchor
-
Returns the point which is used as the reference by this AbstractConnectionAnchor.
- getReferencePoint() - Method in class org.eclipse.draw2d.AbstractLocator
-
Returns the reference point in absolute coordinates used to calculate the location.
- getReferencePoint() - Method in class org.eclipse.draw2d.BendpointLocator
-
Returns reference point associated with the BendpointLocator.
- getReferencePoint() - Method in class org.eclipse.draw2d.ChopboxAnchor
-
Returns the anchor's reference point.
- getReferencePoint() - Method in interface org.eclipse.draw2d.ConnectionAnchor
-
Returns the reference point for this anchor in absolute coordinates.
- getReferencePoint() - Method in class org.eclipse.draw2d.ConnectionLocator
-
Returns ConnectionLocator's reference point in absolute coordinates.
- getReferencePoint() - Method in class org.eclipse.draw2d.MidpointLocator
-
Returns the point of reference associated with this locator.
- getReferencePoint() - Method in class org.eclipse.draw2d.XYAnchor
-
Returns the point which is used as the reference by this connection anchor.
- getRelativePosition() - Method in class org.eclipse.draw2d.AbstractLocator
-
Returns the position of the figure with respect to the center point.
- getRemainingLineWidth() - Method in class org.eclipse.draw2d.text.FlowContainerLayout
- getRemainingLineWidth() - Method in interface org.eclipse.draw2d.text.FlowContext
-
This method can be used to query the amount of space left on the current line.
- getResized(double, double) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which is equivalent to this Rectangle with its dimensions modified by the passed width w and height h.
- getResized(int, int) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which is equivalent to this Rectangle with its dimensions modified by the passed width w and height h.
- getResized(Dimension) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which is equivalent to this Rectangle with its dimensions modified by the passed Dimension d.
- getRight() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point which represents the middle point of the right hand side of this Rectangle.
- getRight() - Method in class org.eclipse.draw2d.graph.Node
-
Returns a reference to a node located right from this one
- getRightMargin() - Method in class org.eclipse.draw2d.text.AbstractFlowBorder
- getRightMargin() - Method in interface org.eclipse.draw2d.text.FlowBorder
-
Returns the right margin in pixels.
- getRightMostIntervalIndex(Interval[], int) - Static method in record class org.eclipse.draw2d.geometry.Interval
-
We can use this method for example for span support.
- getRole(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getRole(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getRoot() - Method in class org.eclipse.draw2d.SWTEventDispatcher
-
Returns the root figure for this dispatcher.
- getRoot(IFigure) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the highest ancestor for the given figure
- getRootFigure() - Method in class org.eclipse.draw2d.LightweightSystem
-
Returns this LightweightSystem's root figure.
- getRootViewport() - Method in class org.eclipse.draw2d.ViewportAwareConnectionLayerClippingStrategy
-
Returns the root viewport, i.e. the nearest enclosing viewport of the connection layer, which corresponds to the nearest enclosing common viewport of primary and connection layer.
- getRootViewport(IFigure) - Static method in class org.eclipse.draw2d.ViewportUtilities
- getRoutingConstraint() - Method in interface org.eclipse.draw2d.Connection
-
Returns the routing constraint.
- getRoutingConstraint() - Method in class org.eclipse.draw2d.PolylineConnection
-
Returns this connection's routing constraint from its connection router.
- getRowConstraint() - Method in class org.eclipse.draw2d.graph.Node
-
Returns the row constraint for this node.
- getRowNear(Connection, int, int, int) - Method in class org.eclipse.draw2d.ManhattanConnectionRouter
- getScale() - Method in interface org.eclipse.draw2d.ScalableFigure
-
Returns the current scale.
- getScale() - Method in class org.eclipse.draw2d.ScalableFreeformLayeredPane
-
Returns the current zoom scale level.
- getScale() - Method in class org.eclipse.draw2d.ScalableLayeredPane
-
Returns the scale level, default is 1.0.
- getScaled(double) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates a new Dimension with its width and height scaled by the specified value.
- getScaled(double) - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new Point from this Point by scaling by the specified amount.
- getScaled(double, double) - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new Point from this Point by scaling by the specified x and y factors.
- getScaled(int) - Method in class org.eclipse.draw2d.geometry.Ray
-
Deprecated.Creates a new Ray which represents this Ray scaled by the amount provided.
- getScaledPoints() - Method in class org.eclipse.draw2d.ScalablePolygonShape
- getScaledRect(Rectangle) - Method in interface org.eclipse.draw2d.IScalablePane
- getScaleX() - Method in class org.eclipse.draw2d.parts.Thumbnail
-
Returns the scale factor on the X-axis.
- getScaleY() - Method in class org.eclipse.draw2d.parts.Thumbnail
-
Returns the scale factor on the Y-axis.
- getScheme() - Method in class org.eclipse.draw2d.SchemeBorder
-
Returns the scheme used by this border.
- getScrollPane() - Method in interface org.eclipse.draw2d.IScrollableFigure
-
Provides access to this figure's nested ScrollPane.
- getSelected() - Method in class org.eclipse.draw2d.ButtonGroup
-
Returns the ButtonModel for the currently selected button.
- getSelection(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getSelection(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getSeparation() - Method in class org.eclipse.draw2d.FanRouter
-
Returns the separation in pixels between fanned connections.
- getShadow() - Method in class org.eclipse.draw2d.SchemeBorder.Scheme
-
Returns the shadow colors of this border scheme as an array of Colors.
- getShadowPressed() - Method in class org.eclipse.draw2d.ButtonBorder.ButtonScheme
-
Returns the pressed shadow colors of this border.
- getShell() - Method in class org.eclipse.draw2d.PopUpHelper
-
Returns this PopUpHelper's shell.
- getShellTrimSize() - Method in class org.eclipse.draw2d.PopUpHelper
-
Returns the size needed to display the shell's trim.
- getShrinked(double, double) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a new Dimension whose size will be reduced by the width and height of the given Dimension.
- getShrinked(double, double) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle, where the sides are shrinked by the horizontal and vertical values supplied.
- getShrinked(int, int) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a new Dimension whose size will be reduced by the width and height of the given Dimension.
- getShrinked(int, int) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle, where the sides are shrinked by the horizontal and vertical values supplied.
- getShrinked(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates and returns a new Dimension whose size will be reduced by the width and height of the given Dimension.
- getShrinked(Insets) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle shrinked by the specified insets.
- getSimilarity(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Calculates the similarity of this Vector with another.
- getSize() - Method in class org.eclipse.draw2d.Figure
- getSize() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Retuns the dimensions of this Rectangle.
- getSize() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the current size.
- getSlack() - Method in class org.eclipse.draw2d.graph.EdgeList
-
For internal use only.
- getSource() - Method in class org.eclipse.draw2d.parts.Thumbnail
-
Returns the source figure being used to generate a thumbnail.
- getSourceAnchor() - Method in interface org.eclipse.draw2d.Connection
-
Returns the ConnectionAnchor at the source end of this Connection.
- getSourceAnchor() - Method in class org.eclipse.draw2d.PolylineConnection
- getSourceDecoration() - Method in class org.eclipse.draw2d.PolylineConnection
- getSourceIndex(int) - Method in class org.eclipse.draw2d.graph.EdgeList
-
For intrenal use only.
- getSourceOffset() - Method in class org.eclipse.draw2d.graph.Edge
-
Returns the effective source offset for this edge.
- getSourceRectangle() - Method in class org.eclipse.draw2d.parts.Thumbnail
-
Returns the rectangular region relative to the source figure which will be the basis of the thumbnail.
- getSpacing() - Method in class org.eclipse.draw2d.graph.ShortestPathRouter
-
Returns the spacing maintained between paths.
- getSpacing() - Method in class org.eclipse.draw2d.ShortestPathConnectionRouter
-
Returns the default spacing maintained on either side of a connection.
- getSpacing() - Method in class org.eclipse.draw2d.ToolbarLayout
- getStart() - Method in class org.eclipse.draw2d.AbstractPointListShape
- getStartDirection(Connection) - Method in class org.eclipse.draw2d.ManhattanConnectionRouter
- getStartPoint() - Method in class org.eclipse.draw2d.graph.Path
-
Returns the start point for this path
- getStartPoint(Connection) - Method in class org.eclipse.draw2d.AbstractRouter
-
A convenience method for obtaining a connection's start point.
- getState() - Method in class org.eclipse.draw2d.InputEvent
-
Returns the event state mask, which is a bitwise OR'ing of the keyboard modifier and the mouse button mask.
- getState(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getState(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getStepIncrement() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the amount the scrollbar will move when the up or down arrow buttons are pressed.
- getStretchMinorAxis() - Method in class org.eclipse.draw2d.ToolbarLayout
-
Deprecated.Use
ToolbarLayout.isStretchMinorAxis()
instead. - getStringDimension(String, Font) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the dimensions of the String s using the font f.
- getStringExtents(String, Font) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the Dimensions of s in Font f.
- getStringExtents(String, Font) - Method in class org.eclipse.draw2d.TextUtilities
-
Returns the Dimensions of s in Font f.
- getStyle() - Method in class org.eclipse.draw2d.LineBorder
-
Returns the line style for this border.
- getSubStringText() - Method in class org.eclipse.draw2d.Label
-
Calculates the amount of the Label's current text will fit in the Label, including an elipsis "..." if truncation is required.
- getSubStringTextSize() - Method in class org.eclipse.draw2d.Label
-
Returns the size of the Label's current text.
- getSubtracted(Vector) - Method in class org.eclipse.draw2d.geometry.Vector
-
Creates a new Vector which is the difference of this Vector with the provided Vector.
- getSuperior() - Method in class org.eclipse.draw2d.SubordinateUpdateManager
-
Deprecated.Returns the superior update manager.
- getSWTPoint() - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new SWT
Point
from this Point. - getTargetAnchor() - Method in interface org.eclipse.draw2d.Connection
-
Returns the ConnectionAnchor at the target end of this Connection.
- getTargetAnchor() - Method in class org.eclipse.draw2d.PolylineConnection
- getTargetDecoration() - Method in class org.eclipse.draw2d.PolylineConnection
- getTargetIndex(int) - Method in class org.eclipse.draw2d.graph.EdgeList
-
For internal use only.
- getTargetOffset() - Method in class org.eclipse.draw2d.graph.Edge
-
Returns the effective target offset for this edge.
- getTargetSize() - Method in class org.eclipse.draw2d.parts.Thumbnail
-
Returns the target size of the thumbnail.
- getText() - Method in class org.eclipse.draw2d.Label
-
Returns the text of the label.
- getText() - Method in class org.eclipse.draw2d.text.TextFlow
- getText() - Method in class org.eclipse.draw2d.widgets.MultiLineLabel
-
Returns the text in this label.
- getTextAlignment() - Method in class org.eclipse.draw2d.Label
-
Returns the current alignment of the Label's text.
- getTextAlignment() - Method in class org.eclipse.draw2d.TitleBarBorder
-
Returns the alignment of the text in the title bar.
- getTextAntialias() - Method in class org.eclipse.draw2d.Graphics
-
Returns the textual anti-aliasing setting value, which will be one of
SWT.DEFAULT
,SWT.OFF
orSWT.ON
. - getTextAntialias() - Method in class org.eclipse.draw2d.ScaledGraphics
- getTextAntialias() - Method in class org.eclipse.draw2d.SWTGraphics
- getTextBounds() - Method in class org.eclipse.draw2d.Label
-
Returns the bounds of the label's text.
- getTextColor() - Method in class org.eclipse.draw2d.AbstractLabeledBorder
-
Returns the text Color of this AbstractLabeledBorder's label.
- getTextDimension(String, Font) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the dimensions of the String s using the font f.
- getTextExtents(String, Font) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the Dimensions of the given text, converting newlines and tabs appropriately.
- getTextExtents(String, Font) - Method in class org.eclipse.draw2d.TextUtilities
-
Returns the Dimensions of the given text, converting newlines and tabs appropriately.
- getTextExtents(String, Font, Dimension) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the Dimensions of the given text, converting newlines and tabs appropriately.
- getTextExtents(IFigure) - Method in class org.eclipse.draw2d.AbstractLabeledBorder
-
Calculates and returns the size required by this border's label.
- getTextLayoutBounds(String, Font, int, int) - Method in class org.eclipse.draw2d.text.FlowUtilities
- getTextLocation() - Method in class org.eclipse.draw2d.Label
-
Returns the location of the label's text relative to the label.
- getTextPlacement() - Method in class org.eclipse.draw2d.Label
-
Returns the current placement of the label's text relative to its icon.
- getTextSize() - Method in class org.eclipse.draw2d.Label
-
Returns the size of the label's complete text.
- getTextUtilities() - Method in class org.eclipse.draw2d.Label
-
Gets the
TextUtilities
instance to be used in measurement calculations. - getTextUtilities() - Method in class org.eclipse.draw2d.text.FlowUtilities
-
Returns an instance of a
TextUtililities
class on which text calculations can be performed. - getTextUtilities() - Method in class org.eclipse.draw2d.text.TextFlow
-
Gets the
TextUtilities
instance to be used in measurement calculations. - getTextWidth(String, Font) - Static method in class org.eclipse.draw2d.FigureUtilities
-
Returns the width of s in Font f.
- getThumb() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the figure used as the scrollbar's thumb.
- getThumbnailImage() - Method in class org.eclipse.draw2d.parts.Thumbnail
-
Returns the scaled Image of the source Figure.
- getTitleBackground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTitleBackground() - Method in interface org.eclipse.draw2d.ColorProvider
- getTitleForeground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTitleForeground() - Method in interface org.eclipse.draw2d.ColorProvider
- getTitleGradient() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTitleGradient() - Method in interface org.eclipse.draw2d.ColorProvider
- getTitleInactiveBackground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTitleInactiveBackground() - Method in interface org.eclipse.draw2d.ColorProvider
- getTitleInactiveForeground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTitleInactiveForeground() - Method in interface org.eclipse.draw2d.ColorProvider
- getTitleInactiveGradient() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTitleInactiveGradient() - Method in interface org.eclipse.draw2d.ColorProvider
- getToolTip() - Method in class org.eclipse.draw2d.Figure
- getToolTip() - Method in interface org.eclipse.draw2d.IFigure
-
Returns a IFigure that is the tooltip for this IFigure.
- getTooltipBackground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTooltipBackground() - Method in interface org.eclipse.draw2d.ColorProvider
- getTooltipForeground() - Method in class org.eclipse.draw2d.BasicColorProvider
- getTooltipForeground() - Method in interface org.eclipse.draw2d.ColorProvider
- getToolTipHelper() - Method in class org.eclipse.draw2d.SWTEventDispatcher
-
Returns the ToolTipHelper used to display tooltips on hover events.
- getTop() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getTop() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point which represents the middle point of the top side of this Rectangle.
- getTopLeft() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getTopLeft() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point which represents the top left hand corner of this Rectangle.
- getTopMargin() - Method in class org.eclipse.draw2d.text.AbstractFlowBorder
- getTopMargin() - Method in interface org.eclipse.draw2d.text.FlowBorder
-
Returns the collapsable top margin in pixels.
- getTopRight() - Method in class org.eclipse.draw2d.geometry.PrecisionRectangle
- getTopRight() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Point which represents the top right hand corner of this Rectangle.
- getTransformed(Point) - Method in class org.eclipse.draw2d.geometry.Transform
-
Returns a new transformed Point of the input Point based on the transformation values set.
- getTranslated(double, double) - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new Point which is translated by the specified x and y values
- getTranslated(double, double) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which is shifted along each axis by the passed values.
- getTranslated(int, int) - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new Point which is translated by the specified x and y values
- getTranslated(int, int) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which is shifted along each axis by the passed values.
- getTranslated(Dimension) - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new Point which is translated by the values of the input Dimension.
- getTranslated(Point) - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new Point which is translated by the values of the provided Point.
- getTranslated(Point) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which is shifted by the position of the given Point.
- getTransposed() - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates a new Dimension with its height and width swapped.
- getTransposed() - Method in class org.eclipse.draw2d.geometry.Insets
-
Creates a new Insets with transposed values.
- getTransposed() - Method in class org.eclipse.draw2d.geometry.Point
-
Creates a new Point with the transposed values of this Point.
- getTransposed() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new rectangle whose width and height have been interchanged, as well as its x and y values.
- getTruncationString() - Method in class org.eclipse.draw2d.Label
-
Gets the string that will be appended to the text when the label is truncated.
- getUDistance() - Method in class org.eclipse.draw2d.ConnectionEndpointLocator
-
Returns the distance in pixels from the anchor's owner.
- getUnion(Point) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which contains both this Rectangle and the Point supplied as input.
- getUnion(Rectangle) - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Rectangle which contains both this Rectangle and the Rectangle supplied as input.
- getUnioned(int, int) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates a new Dimension representing the union of this Dimension with width and height specified.
- getUnioned(Dimension) - Method in class org.eclipse.draw2d.geometry.Dimension
-
Creates a new Dimension representing the union of this Dimension with the one specified.
- getUpdateManager() - Method in class org.eclipse.draw2d.Figure
- getUpdateManager() - Method in interface org.eclipse.draw2d.IFigure
-
Returns the UpdateManager for this IFigure by reference.
- getUpdateManager() - Method in class org.eclipse.draw2d.LightweightSystem
-
Returns this LightweightSystem's UpdateManager.
- getUpdateManager() - Method in class org.eclipse.draw2d.LightweightSystem.RootFigure
- getUserData() - Method in class org.eclipse.draw2d.ButtonModel
-
Returns an object representing user data.
- getValue() - Method in class org.eclipse.draw2d.DefaultRangeModel
- getValue() - Method in interface org.eclipse.draw2d.RangeModel
-
Returns the current value.
- getValue() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the current scroll position of the scrollbar.
- getValue(AccessibleControlEvent) - Method in class org.eclipse.draw2d.LightweightSystem.EventHandler
- getValue(AccessibleControlEvent) - Method in class org.eclipse.draw2d.SWTEventDispatcher.FigureAccessibilityDispatcher
- getValueRange() - Method in class org.eclipse.draw2d.ScrollBar
-
Returns the size of the range of allowable values.
- getVDistance() - Method in class org.eclipse.draw2d.ConnectionEndpointLocator
-
Returns the distance in pixels from the connection
- getVerticalInterval() - Method in class org.eclipse.draw2d.geometry.Rectangle
-
Returns a new Interval beginning at the y coordinate with the height as length.
- getVerticalRangeModel() - Method in class org.eclipse.draw2d.Viewport
-
Returns the range model associated with the vertical motion of the Viewport.
- getVerticalScrollBar() - Method in class org.eclipse.draw2d.ScrollPane
-
Returns the ScrollPane's vertical ScrollBar.
- getVerticalScrollBarVisibility() - Method in class org.eclipse.draw2d.FigureCanvas
- getVerticalScrollBarVisibility() - Method in class org.eclipse.draw2d.ScrollPane
-
Returns the visibility of the ScrollPane's vertical ScrollBar.
- getView() - Method in class org.eclipse.draw2d.ScrollPane
-
Deprecated.use getContents()
- getViewLocation() - Method in class org.eclipse.draw2d.Viewport
-
Returns the current location of this Viewport.
- getViewport() - Method in class org.eclipse.draw2d.FigureCanvas
-
Returns the Viewport.
- getViewport() - Method in class org.eclipse.draw2d.parts.ScrollableThumbnail
-
Get the viewport used for this ScrollableThumbnail
- getViewport() - Method in class org.eclipse.draw2d.ScrollPane
-
Returns the ScrollPane's
Viewport
. - getViewportScaleX() - Method in class org.eclipse.draw2d.parts.ScrollableThumbnail
-
Calculate the scale factor in x direction to be used between viewport and thumbnail.
- getViewportScaleY() - Method in class org.eclipse.draw2d.parts.ScrollableThumbnail
-
Calculate the scale factor in y direction to be used between viewport and thumbnail.
- getViewportsPath(Viewport, Viewport) - Static method in class org.eclipse.draw2d.ViewportUtilities
- getViewportsPath(Viewport, Viewport, boolean) - Static method in class org.eclipse.draw2d.ViewportUtilities
- getWeight() - Method in class org.eclipse.draw2d.graph.EdgeList
-
For internal use only.
- getWidth() - Method in class org.eclipse.draw2d.geometry.Insets
-
Returns the width for this Insets, equal to
left
+right
. - getWidth() - Method in class org.eclipse.draw2d.graph.Edge
- getWidth() - Method in class org.eclipse.draw2d.LineBorder
-
Returns the line width of this border.
- getWidth() - Method in class org.eclipse.draw2d.text.FlowBox
-
Returns the width of the box.
- getWidthLookahead(FlowFigure, int[]) - Method in class org.eclipse.draw2d.text.BlockFlowLayout
- getWidthLookahead(FlowFigure, int[]) - Method in interface org.eclipse.draw2d.text.FlowContext
-
This method looks ahead for line-breaks.
- getWidthLookahead(FlowFigure, int[]) - Method in class org.eclipse.draw2d.text.InlineFlowLayout
- getX() - Method in class org.eclipse.draw2d.text.CaretInfo
-
Returns the x location of the caret.
- getX() - Method in class org.eclipse.draw2d.text.FlowBox
-
Returns the X coordinate of the box.
- getXORMode() - Method in class org.eclipse.draw2d.Graphics
-
Returns
true
if this graphics object should use XOR mode with painting. - getXORMode() - Method in class org.eclipse.draw2d.ScaledGraphics
- getXORMode() - Method in class org.eclipse.draw2d.SWTGraphics
- getY() - Method in class org.eclipse.draw2d.text.CaretInfo
-
Returns the y location of the caret.
- GhostImageFigure - Class in org.eclipse.draw2d
-
A figure used to render a partly transparent copy of an original source figure.
- GhostImageFigure(IFigure, int, RGB) - Constructor for class org.eclipse.draw2d.GhostImageFigure
-
The single constructor.
- GRAB_HORIZONTAL - Static variable in class org.eclipse.draw2d.GridData
-
Style bit for
new GridData(int)
to resize the figure to fit the remaining horizontal space. - GRAB_VERTICAL - Static variable in class org.eclipse.draw2d.GridData
-
Style bit for
new GridData(int)
to resize the figure to fit the remaining vertical space. - grabExcessHorizontalSpace - Variable in class org.eclipse.draw2d.GridData
-
grabExcessHorizontalSpace specifies whether the cell will be made wide enough to fit the remaining horizontal space.
- grabExcessVerticalSpace - Variable in class org.eclipse.draw2d.GridData
-
grabExcessVerticalSpace specifies whether the cell will be made tall enough to fit the remaining vertical space.
- Graphics - Class in org.eclipse.draw2d
-
The Graphics class allows you to draw to a surface.
- Graphics() - Constructor for class org.eclipse.draw2d.Graphics
- graphicsSource - Variable in class org.eclipse.draw2d.SubordinateUpdateManager
-
Deprecated.A graphics source
- GraphicsSource - Interface in org.eclipse.draw2d
-
Provides a
Graphics
object for painting. - gray - Static variable in interface org.eclipse.draw2d.ColorConstants
-
One of the pre-defined colors
- green - Static variable in interface org.eclipse.draw2d.ColorConstants
-
One of the pre-defined colors
- GridData - Class in org.eclipse.draw2d
-
GridData
is the layout data object associated withGridLayout
. - GridData() - Constructor for class org.eclipse.draw2d.GridData
-
Constructs a new instance of GridData using default values.
- GridData(int) - Constructor for class org.eclipse.draw2d.GridData
-
Constructs a new instance based on the GridData style.
- GridData(int, int) - Constructor for class org.eclipse.draw2d.GridData
-
Constructs a new instance of GridData according to the parameters.
- GridData(int, int, boolean, boolean) - Constructor for class org.eclipse.draw2d.GridData
-
Constructs a new instance of GridData according to the parameters.
- GridData(int, int, boolean, boolean, int, int) - Constructor for class org.eclipse.draw2d.GridData
-
Constructs a new instance of GridData according to the parameters.
- GridLayout - Class in org.eclipse.draw2d
-
Lays out children into a Grid arrangement in which overall aligment and spacing can be configured, as well as specific layout requirements for the each individual member of the GridLayout.
- GridLayout() - Constructor for class org.eclipse.draw2d.GridLayout
-
Default Constructor
- GridLayout(int, boolean) - Constructor for class org.eclipse.draw2d.GridLayout
-
Constructs a new instance of this class given the number of columns, and whether or not the columns should be forced to have the same width.
- group - Variable in class org.eclipse.draw2d.ButtonModel
-
The ButtonGroup this button belongs to (if any).
- GroupBoxBorder - Class in org.eclipse.draw2d
-
A labeled border intended to house a Figure with a group of children.
- GroupBoxBorder() - Constructor for class org.eclipse.draw2d.GroupBoxBorder
-
Constructs a GroupBoxBorder with the name of this class as its label.
- GroupBoxBorder(String) - Constructor for class org.eclipse.draw2d.GroupBoxBorder
-
Constructs a GroupBoxBorder with label s.
- growLeading(int) - Method in record class org.eclipse.draw2d.geometry.Interval
-
Calculates a new interval where its leading direction has been increased by the given
delta
(ex., grow left for horizontal interval). - growTrailing(int) - Method in record class org.eclipse.draw2d.geometry.Interval
-
Calculates a new interval where its trailing direction has been increased by the given
delta
(ex., grow right for horizontal interval).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Rectangle.getShrinked(Insets)
instead.