|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.util.Region
com.extjs.gxt.ui.client.util.Margins
public class Margins
Represents 4-side margins.
Field Summary |
---|
Fields inherited from class com.extjs.gxt.ui.client.util.Region |
---|
bottom, left, right, top |
Constructor Summary | |
---|---|
Margins()
Creates a new margins instance with 0 values for all sides. |
|
Margins(int margin)
Creates a new margins instance. |
|
Margins(int top,
int right,
int bottom,
int left)
Creates a new margin instance. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Margins()
public Margins(int margin)
margin
- the margin value for all 4 sides.public Margins(int top, int right, int bottom, int left)
top
- the top marginright
- the right marginbottom
- the bottom marginleft
- the left margin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |