|
|||||||||
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.BorderLayoutData
public class BorderLayoutData
Layout data describing a "region" in a border panel.
Constructor Summary | |
---|---|
BorderLayoutData(Style.LayoutRegion region)
Creates a new border layout data. |
|
BorderLayoutData(Style.LayoutRegion region,
float size)
Creates a new border layout data. |
|
BorderLayoutData(Style.LayoutRegion region,
float size,
int min,
int max)
|
Method Summary | |
---|---|
boolean |
getHideCollapseTool()
Returns true if the collapse tool is hidden. |
Margins |
getMargins()
Returns the margins. |
int |
getMaxSize()
Returns the region's max size. |
int |
getMinSize()
Returns the region's min size. |
Style.LayoutRegion |
getRegion()
Returns the layout region. |
float |
getSize()
Returns the region's size. |
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 |
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 |
setHideCollapseTool(boolean hideCollapseTool)
True to hide the contained panel's collapse toggle buttons, false to display it (defaults to false). |
void |
setMargins(Margins margins)
Sets the margins to apply to the region. |
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 |
setRegion(Style.LayoutRegion region)
Sets the region the mapped content panel will be placed. |
void |
setSize(float size)
The region's preferred 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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BorderLayoutData(Style.LayoutRegion region)
region
- the regionpublic BorderLayoutData(Style.LayoutRegion region, float size)
region
- the regionsize
- the region's sizepublic BorderLayoutData(Style.LayoutRegion region, float size, int min, int max)
Method Detail |
---|
public Margins getMargins()
public int getMaxSize()
public int getMinSize()
public Style.LayoutRegion getRegion()
public float getSize()
public boolean getHideCollapseTool()
public boolean isCollapsible()
public boolean isFloatable()
public boolean isHidden()
public boolean isSplit()
public 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 setMargins(Margins margins)
margins
- the marginspublic void setMaxSize(int maxSize)
maxSize
- the max sizepublic void setMinSize(int minSize)
minSize
- the min sizepublic void setRegion(Style.LayoutRegion region)
region
- the regionpublic void setSize(float size)
size
- the region 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 barpublic void setHideCollapseTool(boolean hideCollapseTool)
hideCollapseTool
- true to hide
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |