|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.widget.layout.LayoutData
com.extjs.gxt.ui.client.widget.layout.MarginData
com.extjs.gxt.ui.client.widget.layout.VBoxLayoutData
public class VBoxLayoutData
Layout data for VBoxLayout
| Constructor Summary | |
|---|---|
VBoxLayoutData()
Creates a new vbox layout. |
|
VBoxLayoutData(int top,
int right,
int bottom,
int left)
Creates a new vbox layout. |
|
VBoxLayoutData(Margins m)
Creates a new vbox layout. |
|
| Method Summary | |
|---|---|
double |
getFlex()
Returns the flex value which is a weight used by the layout for sizing calculations. |
int |
getMaxWidth()
Returns the max width. |
int |
getMinWidth()
Returns the minimum width. |
void |
setFlex(double flex)
Sets the weighted flex value. |
void |
setMaxWidth(int maxWidth)
Sets the max width (default to 1000000). |
void |
setMinWidth(int minWidth)
Sets the minimum width (default to 0). |
| Methods inherited from class com.extjs.gxt.ui.client.widget.layout.MarginData |
|---|
getMargins, setMargins |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VBoxLayoutData()
public VBoxLayoutData(Margins m)
m - the margins
public VBoxLayoutData(int top,
int right,
int bottom,
int left)
top - the top marginright - the right marginbottom - the bottom marginleft - the left margin| Method Detail |
|---|
public double getFlex()
public int getMaxWidth()
public int getMinWidth()
public void setFlex(double flex)
flex - the flex valuepublic void setMaxWidth(int maxWidth)
maxWidth - the max widthpublic void setMinWidth(int minWidth)
minWidth - the minimum width
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||