Uses of Class
org.eclipse.draw2d.geometry.Insets
Packages that use Insets
Package
Description
Primary package containing general interfaces and implementation classes.
Types representing or manipulating geometric values, such as Points, Dimensions, etc.
Stand-alone algorithms related to Graph Drawing.
Figures and support classes related to the layout and rendering of rich text.
- 
Uses of Insets in org.eclipse.draw2dSubclasses of Insets in org.eclipse.draw2dFields in org.eclipse.draw2d declared as InsetsModifier and TypeFieldDescriptionprotected InsetsMarginBorder.insetsThis border's insets.ScrollPaneSolver.Result.insetsInsets of ScrollPaneprotected static final InsetsSimpleEtchedBorder.INSETSThe insetsstatic final InsetsIFigure.NO_INSETSEmpty Insets.Methods in org.eclipse.draw2d that return InsetsModifier and TypeMethodDescriptionprotected abstract InsetsAbstractLabeledBorder.calculateInsets(IFigure figure) Calculates insets based on the current font and other attributes.protected InsetsButtonBorder.ButtonScheme.calculateInsets()Calculates and returns the Insets for this border.protected InsetsGroupBoxBorder.calculateInsets(IFigure figure) Calculates and returns the Insets for this GroupBoxBorder.protected InsetsSchemeBorder.Scheme.calculateInsets()Calculates and returns the Insets for this border Scheme.protected InsetsTitleBarBorder.calculateInsets(IFigure figure) Calculates and returns the Insets for this border.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.Figure.getInsets()Returns the border's Insets if the border is set.IFigure.getInsets()Returns the current Insets.Returns the space used by the border for the figure provided as input.protected InsetsSchemeBorder.Scheme.getInsets()Returns the Insets required by this Scheme.Returns the Insets used by this border.protected InsetsTitleBarBorder.getPadding()Returns this TitleBarBorder's padding.Methods in org.eclipse.draw2d with parameters of type InsetsModifier and TypeMethodDescriptionprotected static final RectangleAbstractBorder.getPaintRectangle(IFigure figure, Insets insets) Returns a temporary rectangle representing the figure's bounds cropped by the specified insets.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.voidTitleBarBorder.setPadding(Insets pad) Sets the padding space of this TitleBarBorder to the passed value.voidPrintOperation.setPrintMargin(Insets margin) Sets the page margin in pels (logical pixels) to the passed Insets.(72 pels == 1 inch)Constructors in org.eclipse.draw2d with parameters of type InsetsModifierConstructorDescriptionMarginBorder(Insets insets) Constructs a MarginBorder with dimensions specified by insets.SeparatorBorder(Insets insets, int sides) The sides are specified viaPositionConstants.LEFT,PositionConstants.RIGHT,PositionConstants.TOP,PositionConstants.BOTTOM.
- 
Uses of Insets in org.eclipse.draw2d.geometryMethods in org.eclipse.draw2d.geometry that return InsetsModifier and TypeMethodDescriptionAdds the values of the specified Insets to this Insets' values.Creates an Insets representing the sum of this Insets with the specified Insets.Insets.getNegated()Creates a newInsetswith negated values.Insets.getTransposed()Creates a new Insets with transposed values.static InsetsCreates a new minimalInsetsusing the distances of the given arguments.Returns a new transposed Insets of the input Insets.Insets.transpose()Transposes this object.Methods in org.eclipse.draw2d.geometry with parameters of type InsetsModifier and TypeMethodDescriptionAdds the values of the specified Insets to this Insets' values.Deprecated, for removal: This API element is subject to removal in a future version.Expands the horizontal and vertical sides of this Rectangle by the width and height of the given Insets, and returns this for convenience.Creates an Insets representing the sum of this Insets with the specified Insets.Rectangle.getCropped(Insets insets) Deprecated, for removal: This API element is subject to removal in a future version.UseRectangle.getShrinked(Insets)instead.Rectangle.getExpanded(Insets insets) Creates and returns a new Rectangle with the bounds ofthisRectangle, expanded by the given Insets.Rectangle.getShrinked(Insets insets) Returns a new Rectangle shrinked by the specified insets.static InsetsCreates a new minimalInsetsusing the distances of the given arguments.default voidTranslatable.performTranslate(Insets insets) Translates this object horizontally byinsets.leftand vertically byinsets.top.Shrinks this rectangle by the amount specified ininsets.Returns a new transposed Insets of the input Insets.Constructors in org.eclipse.draw2d.geometry with parameters of type Insets
- 
Uses of Insets in org.eclipse.draw2d.graphFields in org.eclipse.draw2d.graph declared as InsetsModifier and TypeFieldDescriptionSubgraph.innerPaddingThe minimum space between this subgraph's border and it's children.Subgraph.insetsThe space required for this subgraph's border.Methods in org.eclipse.draw2d.graph that return InsetsModifier and TypeMethodDescriptionDirectedGraph.getDefaultPadding()Returns the default padding for nodes.DirectedGraph.getMargin()Sets the outer margin for the entire graph.DirectedGraph.getPadding(Node node) Returns the effective padding for the given node.Node.getPadding()Returns the padding for this node ornullif the default padding for the graph should be used.Methods in org.eclipse.draw2d.graph with parameters of type InsetsModifier and TypeMethodDescriptionvoidDirectedGraph.setDefaultPadding(Insets insets) Sets the default padding for all nodes in the graph.voidSets the graphs margin.voidNode.setPadding(Insets padding) Sets the padding.
- 
Uses of Insets in org.eclipse.draw2d.textMethods in org.eclipse.draw2d.text that return InsetsMethods in org.eclipse.draw2d.text with parameters of type Insets
Rectangle.shrink(Insets)instead.