JIDE 3.5.15

com.jidesoft.awt.geom
Class Insets2D.Double

java.lang.Object
  extended by com.jidesoft.awt.geom.Insets2D
      extended by com.jidesoft.awt.geom.Insets2D.Double
All Implemented Interfaces:
Serializable
Enclosing class:
Insets2D

public static class Insets2D.Double
extends Insets2D
implements Serializable

An Insets2D instance specified with double precision

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jidesoft.awt.geom.Insets2D
Insets2D.Double, Insets2D.Float
 
Field Summary
 double bottom
          The inset from the bottom
 double left
          The inset from the left
 double right
          The inset from the right
 double top
          The inset from the top
 
Constructor Summary
Insets2D.Double(double top, double left, double bottom, double right)
          Construct an Insets2D instance using double precision
 
Method Summary
 double getBottom()
          Returns the inset from the bottom in double precision
 double getLeft()
          Returns the inset from the left in double precision
 double getRight()
          Returns the inset from the right in double precision
 double getTop()
          Returns the inset from the top in double precision
 void set(double top, double left, double bottom, double right)
          Sets the insets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

top

public double top
The inset from the top


left

public double left
The inset from the left


bottom

public double bottom
The inset from the bottom


right

public double right
The inset from the right

Constructor Detail

Insets2D.Double

public Insets2D.Double(double top,
                       double left,
                       double bottom,
                       double right)
Construct an Insets2D instance using double precision

Parameters:
top - the inset from the top
left - the inset from the left
bottom - the inset from the bottom
right - the inset from the right
Method Detail

set

public void set(double top,
                double left,
                double bottom,
                double right)
Sets the insets

Parameters:
top - the inset from the top
left - the inset from the left
bottom - the inset from the bottom
right - the inset from the right

getBottom

public double getBottom()
Returns the inset from the bottom in double precision

Specified by:
getBottom in class Insets2D
Returns:
the inset from the bottom in double precision

getLeft

public double getLeft()
Returns the inset from the left in double precision

Specified by:
getLeft in class Insets2D
Returns:
the inset from the left in double precision

getRight

public double getRight()
Returns the inset from the right in double precision

Specified by:
getRight in class Insets2D
Returns:
the inset from the right in double precision

getTop

public double getTop()
Returns the inset from the top in double precision

Specified by:
getTop in class Insets2D
Returns:
the inset from the top in double precision

JIDE 3.5.15