org.tigris.swidgets
Class DimensionUtilities
java.lang.Objectorg.tigris.swidgets.DimensionUtilities
public class DimensionUtilities
extends java.lang.Object
A collection of utility methods for Dimensions.
static Dimension | add(Dimension original, Dimension add)- Create a new
Dimension from an existing
Dimension with its width and height increased by
the width and height of another Dimension.
|
static Dimension | add(Dimension original, Insets add)- Create a new
Dimension from an existing
Dimension with its width and height increased by
the width and height of an Insets object.
|
add
public static Dimension add(Dimension original,
Dimension add) Create a new Dimension from an existing
Dimension with its width and height increased by
the width and height of another Dimension.
original - The Dimension to be added to.add - The Dimension whose length and
breadth are to be taken as the added values.
add
public static Dimension add(Dimension original,
Insets add) Create a new Dimension from an existing
Dimension with its width and height increased by
the width and height of an Insets object.
original - The Dimension to be added to.add - The Insets object whose width and
height are to be taken as the added values.