InsetsNameInsets
DescriptionThe Insets class provides a way to encapsulate the layout margins of the four different sides of a Container. Class Definition
public class java.awt.Insets
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable {
// Variables
public int bottom;
public int left;
public int right;
public int top;
// Constructors
public Insets (int top, int left, int bottom, int right);
// Instance Methods
public Object clone();
public boolean equals (Object obj);
Variablesbottompublic int bottomThe border width for the bottom of a Container. leftpublic int leftThe border width for the left side of a Container. rightpublic int rightThe border width for the right side of a Container. toppublic int topThe border width for the top of a Container. ConstructorsInsetspublic Insets (int top, int left, int bottom, int right)
Instance Methodsclonepublic Object clone()
equalspublic boolean equals (Object obj)
|
|