| 
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.Float
public static class Insets2D.Float
The Float class defines insets specified in
 float precision.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.jhotdraw.geom.Insets2D | 
|---|
Insets2D.Double, Insets2D.Float | 
| Field Summary | |
|---|---|
 float | 
bottom
 | 
 float | 
left
 | 
 float | 
right
 | 
 float | 
top
 | 
| Constructor Summary | |
|---|---|
Insets2D.Float()
Constructs and initializes an Insets2D with
 all insets set to 0. | 
|
Insets2D.Float(float top,
               float left,
               float bottom,
               float 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.  | 
 void | 
set(float top,
    float left,
    float bottom,
    float right)
 | 
| 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 float top
public float left
public float bottom
public float right
| Constructor Detail | 
|---|
public Insets2D.Float()
Insets2D with
 all insets set to 0.
public Insets2D.Float(float top,
                      float left,
                      float bottom,
                      float 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 Insets2DInsets2D.public double getLeft()
Insets2D
getLeft in class Insets2DInsets2D.public double getBottom()
Insets2D
getBottom in class Insets2DInsets2D.public double getRight()
Insets2D
getRight in class Insets2DInsets2D.
public void set(double top,
                double left,
                double bottom,
                double right)
Insets2D
set in class Insets2Dtop - The top insets.left - The left insets.bottom - The bottom insets.right - The right insets.
public void set(float top,
                float left,
                float bottom,
                float right)
  | 
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 | ||||||||