|
|||||||||
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.HBoxLayoutData
public class HBoxLayoutData
Layout data for HBoxLayout
.
Constructor Summary | |
---|---|
HBoxLayoutData()
Creates a new hbox layout. |
|
HBoxLayoutData(int top,
int right,
int bottom,
int left)
Creates a new hbox layout. |
|
HBoxLayoutData(Margins m)
Creates a new hbox layout. |
Method Summary | |
---|---|
double |
getFlex()
Returns the flex value which is a weight used by the layout for sizing calculations. |
int |
getMaxHeight()
Returns the max height. |
int |
getMinHeight()
Returns the minimum height. |
void |
setFlex(double flex)
Sets the weighted flex value. |
void |
setMaxHeight(int maxHeight)
Sets the max height (defaults to 1000000). |
void |
setMinHeight(int minHeight)
Sets the minimum height (defaults 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 HBoxLayoutData()
public HBoxLayoutData(Margins m)
m
- the marginspublic HBoxLayoutData(int top, int right, int bottom, int left)
top
- the top marginright
- the right marginbottom
- the bottom marginleft
- the left marginMethod Detail |
---|
public double getFlex()
public int getMaxHeight()
public int getMinHeight()
public void setFlex(double flex)
flex
- the flex valuepublic void setMaxHeight(int maxHeight)
maxHeight
- the max heightpublic void setMinHeight(int minHeight)
minHeight
- the minimum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |