|
||||||||||
| 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.BorderLayoutContainer.BorderLayoutData
public static class BorderLayoutContainer.BorderLayoutData
Specifies region layout parameters which control the margin between the
regions, the size of the region, the minimum and maximum size, whether the
region has a split bar, whether the region is collapsible and other
details. The size, split bar and collapsible attributes are specified in
the BorderLayoutData for the region adjacent to the center
region. The center region is allocated the remaining space.
| Constructor Summary | |
|---|---|
BorderLayoutContainer.BorderLayoutData()
Creates a border layout data with default values for size
(100), minSize (50) and maxSize (500). |
|
BorderLayoutContainer.BorderLayoutData(double size)
Creates a border layout data with default values for minSize
(50) and maxSize (500) and the specified value for size. |
|
| Method Summary | |
|---|---|
int |
getMaxSize()
Returns the region's maximum size. |
int |
getMinSize()
Returns the region's minimum size. |
double |
getSize()
Returns the size specification. |
boolean |
isCollapsed()
Returns the collapsed state |
boolean |
isCollapseHidden()
Returns true if the collapse panel is hidden. |
boolean |
isCollapseMini()
Returns true if the mini split bar collapse tool is enabled. |
boolean |
isCollapsible()
Returns true if collapsing is enabled. |
boolean |
isFloatable()
Returns true if the region is floatable. |
boolean |
isHidden()
Returns true if the component is hidden. |
boolean |
isSplit()
Returns true if the region is split. |
void |
setCollapsed(boolean collapsed)
Sets the collapsed state. |
void |
setCollapseHidden(boolean collapseHidden)
True to hide the collapse panel when a region is collapsed (defaults to false). |
void |
setCollapseMini(boolean collapseMini)
True to add a mini-collapase tool in the split bar. |
void |
setCollapsible(boolean collapsible)
True to allow the user to collapse this region (defaults to false). |
void |
setFloatable(boolean floatable)
True to allow clicking a collapsed region's bar to display the region's panel floated above the layout, false to force the user to fully expand a collapsed region by clicking the expand button to see it again (defaults to true). |
void |
setHidden(boolean hidden)
True to hide the component. |
void |
setMaxSize(int maxSize)
Sets the maximum allowable size in pixels for this region (defaults to 500). |
void |
setMinSize(int minSize)
Sets the minimum allowable size in pixels for this region (defaults to 50). |
void |
setSize(double size)
Sets the size specification. |
void |
setSplit(boolean split)
True to display a SplitBar between this region and its neighbor,
allowing the user to resize the regions dynamically (defaults to false). |
| 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 BorderLayoutContainer.BorderLayoutData()
size
(100), minSize (50) and maxSize (500).
@UiConstructor public BorderLayoutContainer.BorderLayoutData(double size)
minSize
(50) and maxSize (500) and the specified value for size.
size - the region size (height for north and south, width for west
and east)| Method Detail |
|---|
public int getMaxSize()
public int getMinSize()
public double getSize()
HasSize
getSize in interface HasSizepublic boolean isCollapsed()
public boolean isCollapseHidden()
public boolean isCollapseMini()
public boolean isCollapsible()
public boolean isFloatable()
public boolean isHidden()
public boolean isSplit()
public void setCollapsed(boolean collapsed)
collapsed - true to render collapsedpublic void setCollapseHidden(boolean collapseHidden)
collapseHidden - the collapse hidden statepublic void setCollapseMini(boolean collapseMini)
collapseMini - true to add toolpublic void setCollapsible(boolean collapsible)
collapsible - true to enable collapsingpublic void setFloatable(boolean floatable)
floatable - true to enable floatingpublic void setHidden(boolean hidden)
hidden - true to hidepublic void setMaxSize(int maxSize)
maxSize - the max sizepublic void setMinSize(int minSize)
minSize - the min sizepublic void setSize(double size)
HasSize
setSize in interface HasSizesize - the size specificationpublic void setSplit(boolean split)
SplitBar between this region and its neighbor,
allowing the user to resize the regions dynamically (defaults to false).
When split = true, it is common to specify a minSize and
maxSize for the region.
split - true to enable a split bar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||