|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.container.MarginData
public class MarginData
Layout parameter that specifies a widget's margins.
| Constructor Summary | |
|---|---|
MarginData()
Creates a layout parameter that specifies a widget's margins. |
|
MarginData(int margins)
Creates a layout parameter with the specified margins. |
|
MarginData(int top,
int right,
int bottom,
int left)
Creates a layout parameter with the specified margins. |
|
MarginData(Margins margins)
Creates a layout parameter with the specified margins. |
|
| Method Summary | |
|---|---|
Margins |
getMargins()
Returns the margin specification. |
void |
setMargins(Margins margins)
Sets the margin specification. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MarginData()
public MarginData(int margins)
margins - the margins
public MarginData(int top,
int right,
int bottom,
int left)
top - the top marginright - the right marginbottom - the bottom marginleft - the left marginpublic MarginData(Margins margins)
margins - the margins| Method Detail |
|---|
public Margins getMargins()
HasMargins
getMargins in interface HasMarginspublic void setMargins(Margins margins)
HasMargins
setMargins in interface HasMarginsmargins - the margin specification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||