|
||||||||||
| 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
com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutData
public static class BoxLayoutContainer.BoxLayoutData
Specifies box layout parameters which control the minimum and maximum size, as well as the "flex" value.
| Constructor Summary | |
|---|---|
BoxLayoutContainer.BoxLayoutData()
Creates a box layout data with default values for margins
(0), minSize (0), maxSize (unlimited) and
flex (unflexed). |
|
BoxLayoutContainer.BoxLayoutData(Margins margins)
Creates a box layout data with the specified margins. |
|
| Method Summary | |
|---|---|
double |
getFlex()
Returns the flex value which is a weight used by the layout for sizing calculations. |
int |
getMaxSize()
Returns the maximum size to which widgets will be constrained (defaults to unlimited). |
int |
getMinSize()
Returns the minimum size to which widgets will be constrained (defaults to 0) |
void |
setFlex(double flex)
Sets the weighted flex value. |
void |
setMaxSize(int maxSize)
Sets the maximum size to which widgets will be constrained. |
void |
setMinSize(int minSize)
Sets the minimum size to which widgets will be constrained. |
| Methods inherited from class com.sencha.gxt.widget.core.client.container.MarginData |
|---|
getMargins, setMargins |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoxLayoutContainer.BoxLayoutData()
margins
(0), minSize (0), maxSize (unlimited) and
flex (unflexed).
public BoxLayoutContainer.BoxLayoutData(Margins margins)
margins - the margins for the box layout data| Method Detail |
|---|
public double getFlex()
public int getMaxSize()
public int getMinSize()
public void setFlex(double flex)
flex - the flex valuepublic void setMaxSize(int maxSize)
maxSize - the maximum allowable size when resizing widgetspublic void setMinSize(int minSize)
minSize - the minimum allowable size when resizing widgets
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||