|
JHotDraw 7.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.geom.Insets2D
org.jhotdraw.geom.Insets2D.Double
public static class Insets2D.Double
The Double
class defines insets specified in
double
precision.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jhotdraw.geom.Insets2D |
---|
Insets2D.Double, Insets2D.Float |
Field Summary | |
---|---|
double |
bottom
|
double |
left
|
double |
right
|
double |
top
|
Constructor Summary | |
---|---|
Insets2D.Double()
Constructs and initializes an Insets2D with
all insets set to 0. |
|
Insets2D.Double(double top,
double left,
double bottom,
double right)
Constructs and initializes an Insets2D with the
specified insets. |
Method Summary | |
---|---|
double |
getBottom()
Returns the bottom insets in double precision. |
double |
getLeft()
Returns the left insets in double precision. |
double |
getRight()
Returns the right insets in double precision. |
double |
getTop()
Returns the top insets in double precision. |
void |
set(double top,
double left,
double bottom,
double right)
Sets the insets. |
Methods inherited from class org.jhotdraw.geom.Insets2D |
---|
add, add, addTo, clone, equals, hashCode, set, subtract, subtract, subtractTo |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double top
public double left
public double bottom
public double right
Constructor Detail |
---|
public Insets2D.Double()
Insets2D
with
all insets set to 0.
public Insets2D.Double(double top, double left, double bottom, double right)
Insets2D
with the
specified insets.
top
- The top insets.left
- The left insets.bottom
- The bottom insets.right
- The right insets.Method Detail |
---|
public double getTop()
Insets2D
getTop
in class Insets2D
Insets2D
.public double getLeft()
Insets2D
getLeft
in class Insets2D
Insets2D
.public double getBottom()
Insets2D
getBottom
in class Insets2D
Insets2D
.public double getRight()
Insets2D
getRight
in class Insets2D
Insets2D
.public void set(double top, double left, double bottom, double right)
Insets2D
set
in class Insets2D
top
- The top insets.left
- The left insets.bottom
- The bottom insets.right
- The right insets.
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |