JIDE 3.5.15

com.jidesoft.awt.geom
Class Insets2D

java.lang.Object
  extended by com.jidesoft.awt.geom.Insets2D
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Insets2D.Double, Insets2D.Float

public abstract class Insets2D
extends Object
implements Serializable

Similar to java.awt.Insets, but with doubles for the top, left, bottom, right values. This means that instances of this class can be used for setting proportionally sized insets which are better for components that should retain their shape and overall appearance when they are re-sized.

See Also:
Insets, Serialized Form

Nested Class Summary
static class Insets2D.Double
          An Insets2D instance specified with double precision
static class Insets2D.Float
          An Insets2D instance specified with float precision
 
Constructor Summary
Insets2D()
           
 
Method Summary
abstract  double getBottom()
          Returns the inset from the bottom in double precision
abstract  double getLeft()
          Returns the inset from the left in double precision
abstract  double getRight()
          Returns the inset from the right in double precision
abstract  double getTop()
          Returns the inset from the top in double precision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Insets2D

public Insets2D()
Method Detail

getTop

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

Returns:
the inset from the top in double precision

getLeft

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

Returns:
the inset from the left in double precision

getBottom

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

Returns:
the inset from the bottom in double precision

getRight

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

Returns:
the inset from the right in double precision

JIDE 3.5.15