Class java.awt.Insets
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.awt.Insets

java.lang.Object
   |
   +----java.awt.Insets

public class Insets
extends Object
implements Cloneable
The insets of a container. This class is used to layout containers.
See Also:
LayoutManager, Container

Variable Index

 o bottom
The inset from the bottom.
 o left
The inset from the left.
 o right
The inset from the right.
 o top
The inset from the top.

Constructor Index

 o Insets(int, int, int, int)
Constructs and initializes a new Inset with the specified top, left, bottom, and right insets.

Method Index

 o clone()
Creates a clone of the object.
 o toString()
Returns a String object representing this Inset's values.

Variables

 o top
  public int top
The inset from the top.
 o left
  public int left
The inset from the left.
 o bottom
  public int bottom
The inset from the bottom.
 o right
  public int right
The inset from the right.

Constructors

 o Insets
  public Insets(int top,
                int left,
                int bottom,
                int right)
Constructs and initializes a new Inset with the specified top, left, bottom, and right 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

Methods

 o toString
  public String toString()
Returns a String object representing this Inset's values.
Overrides:
toString in class Object
 o clone
  public Object clone()
Creates a clone of the object.
Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index