API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. Insets View Source
Author(s)
Arthur van Hoff
Sami Shaio
Since
JDK1.0
Version
1.31, 11/17/05
Serial
Hierarchy
 Object
      Insets
Implements
 Cloneable
 Serializable
Subclasses
Description
public class Insets
  An Insets object is a representation of the borders of a container.
See also:    LayoutManager Container
Constructors
public Insets (int top, int left, int bottom, int right)
  Creates and initializes a new Insets object with the specified top, left, bottom, and right insets.
Methods
Hide/Show inherited methods
public Object clone ()
  Create a copy of this object.
public boolean equals (Object obj)
  Checks whether two insets objects are equal.
public int hashCode ()
  Returns the hash code for this Insets.
public void set (int top, int left, int bottom, int right)
  Set top, left, bottom, and right to the specified values
public String toString ()
  Returns a string representation of this Insets object.
Fields
Hide/Show inherited fields
public int bottom
  The inset from the bottom.
public int left
  The inset from the left.
public int right
  The inset from the right.
public int top
  The inset from the top.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar