All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Insets
Insets
object is a representation of the borders
of a container. It specifies the space that a container must leave
at each of its edges. The space can be a border, a blank space, or
a title.
Insets
object with the
specified top, left, bottom, and right insets.
String
object representing this
Insets
object's values.
public int top
public int left
public int bottom
public int right
public Insets(int top, int left, int bottom, int right)
Insets
object with the
specified top, left, bottom, and right insets.
public boolean equals(Object obj)
Insets
are equal if the four integer values
of the fields top
, left
,
bottom
, and right
are all equal.
true
if the two insets are equal;
otherwise false
.
public String toString()
String
object representing this
Insets
object's values.
Insets
object,
including the values of its member fields.
public Object clone()
Insets
object.
All Packages Class Hierarchy This Package Previous Next Index