|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.gui.util.Insets
public class Insets
Represents insets from the edges of a component.
| Field Summary | |
|---|---|
int |
bottom
The inset from the bottom edge. |
int |
left
The inset from the left edge. |
int |
right
The inset from the right edge. |
int |
top
The inset from the top edge. |
static Insets |
ZERO_INSETS
A convenient set of blank insets. |
| Constructor Summary | |
|---|---|
Insets()
|
|
Insets(Insets other)
|
|
Insets(int left,
int top,
int right,
int bottom)
|
|
| Method Summary | |
|---|---|
Insets |
add(Insets insets)
Returns insets which are the sum of these insets with the specified insets. |
boolean |
equals(Object other)
|
int |
getHorizontal()
Returns the sum of the horizontal insets. |
int |
getVertical()
Returns the sum of the vertical insets. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Insets ZERO_INSETS
public int left
public int top
public int right
public int bottom
| Constructor Detail |
|---|
public Insets(int left,
int top,
int right,
int bottom)
public Insets(Insets other)
public Insets()
| Method Detail |
|---|
public int getHorizontal()
public int getVertical()
public Insets add(Insets insets)
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||