|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Insets
The insets of a container. This class is used to layout containers.
LayoutManager
,
Container
Field Summary | |
int |
bottom
The inset from the bottom. |
int |
left
The inset from the left. |
int |
right
The inset from the right. |
int |
top
The inset from the top. |
Constructor Summary | |
Insets(int top,
int left,
int bottom,
int right)
Constructs and initializes a new Inset with the specified top, left, bottom, and right insets. |
Method Summary | |
Object |
clone()
Creates a clone of the object. |
String |
toString()
Returns a String object representing this Inset's values. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int top
public int left
public int bottom
public int right
Constructor Detail |
public Insets(int top, int left, int bottom, int right)
top
- the inset from the topleft
- the inset from the leftbottom
- the inset from the bottomright
- the inset from the rightMethod Detail |
public String toString()
toString
in class Object
public Object clone()
Object
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |