|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.swingext.DimensionUtility
A collection of utility methods for Dimensions.
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 |
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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML (c) 1996-2002 |