|
 |
|
|
Uses of Class org.eclipse.draw2d.geometry.Insets
Methods in
org.eclipse.draw2d with parameters of type
Insets
|
void
|
TitleBarBorder.
paint
(
IFigure figure,
Graphics g,
Insets insets)
|
void
|
TitleBarBorder.
setPadding
(
Insets pad)
Sets the padding space of this TitleBarBorder to the passed value. |
void
|
SimpleEtchedBorder.
paint
(
IFigure figure,
Graphics g,
Insets insets)
|
void
|
SchemeBorder.
paint
(
IFigure figure,
Graphics g,
Insets insets)
|
protected void
|
SchemeBorder.
paint
(
Graphics graphics,
IFigure fig,
Insets insets,
Color[] tl,
Color[] br)
Paints the border using the information in the set Scheme and the inputs given. |
void
|
PrintOperation.
setPrintMargin
(
Insets margin)
Sets the page margin in pels (logical pixels) to the passed Insets.(72 pels == 1 inch) |
void
|
MarginBorder.
paint
(
IFigure figure,
Graphics graphics,
Insets insets)
This method does nothing, since this border is just for spacing. |
void
|
LineBorder.
paint
(
IFigure figure,
Graphics graphics,
Insets insets)
|
void
|
GroupBoxBorder.
paint
(
IFigure figure,
Graphics g,
Insets insets)
|
void
|
FocusBorder.
paint
(
IFigure figure,
Graphics graphics,
Insets insets)
Paints a focus rectangle. |
void
|
CompoundBorder.
paint
(
IFigure figure,
Graphics g,
Insets insets)
|
void
|
ButtonBorder.
paint
(
IFigure figure,
Graphics graphics,
Insets insets)
Paints this border with the help of the set scheme, the model of the clickable figure,
and other inputs. |
void
|
Border.
paint
(
IFigure figure,
Graphics graphics,
Insets insets)
Paints the border. |
protected static
Rectangle
|
AbstractBorder.
getPaintRectangle
(
IFigure figure,
Insets insets)
Returns a temporary rectangle representing the figure's bounds cropped by the specified
insets. |
void
|
AbstractBackground.
paint
(
IFigure figure,
Graphics graphics,
Insets insets)
Paints the border. The border should paint inside figure's
IFigure.getBounds() ,
inset by the parameter insets. The border generally should not paint inside its
own insets. More specifically, Border b should paint inside the rectangle:
figure.getBounds().getCropped(insets) and outside of the rectangle:
figure.getBounds().getCropped(insets).getCropped(getInsets()) where inside is
defined as
Rectangle.contains(int, int) .
By default, this method is stubbed out for backgrounds which only paint
underneath a figure. |
void
|
AbstractBackground.
paintBackground
(
IFigure figure,
Graphics graphics,
Insets insets)
Called when this Background should paint. |
Methods in
org.eclipse.draw2d.geometry with parameters of type
Insets
|
Insets
|
Transposer.
t
(
Insets i)
Returns a new transposed Insets of the input Insets. |
Rectangle
|
Rectangle.
crop
(
Insets insets)
Crops this rectangle by the amount specified in insets . |
Rectangle
|
Rectangle.
expand
(
Insets insets)
Expands the horizontal and vertical sides of this Rectangle by the width and
height of the given Insets, and returns this for convenience. |
Rectangle
|
Rectangle.
getCropped
(
Insets insets)
Returns a new Rectangle with the specified insets cropped. |
Rectangle
|
Rectangle.
getExpanded
(
Insets insets)
Creates and returns a new Rectangle with the bounds of this
Rectangle, expanded by the given Insets. |
Rectangle
|
PrecisionRectangle.
crop
(
Insets insets)
|
Insets
|
Insets.
add
(
Insets insets)
Adds the values of the specified Insets to this Insets' values. |
Insets
|
Insets.
getAdded
(
Insets insets)
Creates an Insets representing the sum of this Insets with the specified Insets. |
Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.
|
|
|