| java.lang.Object com.gwtext.client.core.JsObject com.gwtext.client.core.Margins
Margins | public class Margins extends JsObject (Code) | | Class that represents the margins of an element.
|
Constructor Summary | |
public | Margins(int top, int left, int right, int bottom) Create a new Margins instance. |
Margins | public Margins(int top, int left, int right, int bottom)(Code) | | Create a new Margins instance.
Parameters: left - the left margin Parameters: top - the top margin Parameters: right - the right margin Parameters: bottom - the bottom margin |
getBottom | public int getBottom()(Code) | | the bottom margin |
getLeft | public int getLeft()(Code) | | the left margin |
getRight | public int getRight()(Code) | | the right margin |
getStyleString | public String getStyleString()(Code) | | Return the margins as a CSS style string.
margin as style String |
getTop | public int getTop()(Code) | | the top margin |
Fields inherited from com.gwtext.client.core.JsObject | protected JavaScriptObject jsObj(Code)(Java Doc)
|
|
|