public static class BorderLayoutContainer.BorderLayoutData extends MarginData implements HasSize, LayoutData
| Constructor and Description |
|---|
BorderLayoutContainer.BorderLayoutData() |
BorderLayoutContainer.BorderLayoutData(double size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxSize()
Returns the region's max size.
|
int |
getMinSize()
Returns the region's min size.
|
double |
getSize() |
boolean |
isCollapsed()
Returns the collapsed state
|
boolean |
isCollapseHidden()
Returns true if the collapse panel is hidden.
|
boolean |
isCollapseMini() |
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) |
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). |
getMargins, setMarginspublic BorderLayoutContainer.BorderLayoutData()
@UiConstructor public BorderLayoutContainer.BorderLayoutData(double size)
public int getMaxSize()
public int getMinSize()
public 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 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 barCopyright © 2012. All Rights Reserved.