|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.argouml.swingext.DimensionUtility
A collection of utility methods for Dimensions.
| Constructor Summary | |
|---|---|
DimensionUtility()
|
|
| Method Summary | |
|---|---|
static java.awt.Dimension |
add(java.awt.Dimension original,
java.awt.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 java.awt.Dimension |
add(java.awt.Dimension original,
java.awt.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DimensionUtility()
| Method Detail |
public static java.awt.Dimension add(java.awt.Dimension original,
java.awt.Dimension add)
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.
Dimension.
public static java.awt.Dimension add(java.awt.Dimension original,
java.awt.Insets add)
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.
Dimension.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |