|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.layout.LayoutRegion
public class LayoutRegion
A layout region in a border layout.
Events:
onOpen, onSize.
Field Summary |
---|
Fields inherited from class zk.Widget |
---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
Fields inherited from class zk.Object |
---|
$class, $oid |
Method Summary | |
---|---|
String |
getBorder()
Returns the border. |
String |
getCmargins()
Returns the collapsed margins, which is a list of numbers separated by comma. |
protected Dimension |
getCurrentMargins_()
Returns the current margins. |
String |
getMargins()
Returns the margins, which is a list of numbers separated by comma. |
int |
getMaxsize()
Returns the maximum size of the resizing element. |
int |
getMinsize()
Returns the minimum size of the resizing element. |
String |
getTitle()
Returns the title. |
boolean |
isAutoscroll()
Returns whether enable overflow scrolling. |
boolean |
isCollapsible()
Returns whether set the initial display to collapse. |
boolean |
isFlex()
Returns whether to grow and shrink vertical/horizontal to fit their given space, so called flexibility. |
boolean |
isOpen()
Returns whether it is open (i.e., not collapsed. |
boolean |
isSplittable()
Returns whether enable the split functionality. |
void |
setAutoscroll(boolean autoscroll)
Sets whether enable overflow scrolling. |
void |
setBorder(String border)
Sets the border (either none or normal). |
void |
setCmargins(String cmargins)
Sets the collapsed margins for the element "0,1,2,3" that direction is "top,left,right,bottom" |
void |
setCollapsible(boolean collapsible)
Sets whether set the initial display to collapse. |
void |
setFlex(boolean flex)
Sets whether to grow and shrink vertical/horizontal to fit their given space, so called flexibility. |
void |
setMargins(String margins)
Sets margins for the element "0,1,2,3" that direction is "top,left,right,bottom" |
void |
setMaxsize(int maxsize)
Sets the maximum size of the resizing element. |
void |
setMinsize(int minsize)
Sets the minimum size of the resizing element. |
void |
setOpen(boolean open)
Opens or collapses the splitter. |
void |
setSplittable(boolean splittable)
Sets whether enable the split functionality. |
void |
setTitle(String title)
Sets the title. |
Methods inherited from class zul.Widget |
---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from class zk.Object |
---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isFlex()
Default: false.
public void setFlex(boolean flex)
flex
- public String getBorder()
The border actually controls what CSS class to use: If border is null, it implies "none".
If you also specify the CSS class (Widget.setSclass(_global_.String)
), it overwrites
whatever border you specify here.
Default: "normal".
public void setBorder(String border)
border
- the border. If null or "0", "none" is assumed.public String getTitle()
Default: null.
public void setTitle(String title)
title
- public boolean isSplittable()
Default: false.
public void setSplittable(boolean splittable)
splittable
- public int getMaxsize()
Default: 2000.
public void setMaxsize(int maxsize)
maxsize
- public int getMinsize()
Default: 0.
public void setMinsize(int minsize)
minsize
- public boolean isCollapsible()
Default: false.
public void setCollapsible(boolean collapsible)
It only applied when getTitle()
is not null.
collapsible
- public boolean isAutoscroll()
Default: false.
public void setAutoscroll(boolean autoscroll)
autoscroll
- public boolean isOpen()
isCollapsible()
is not false.
Default: true.
public void setOpen(boolean open)
isCollapsible()
is not false.
open
- public String getCmargins()
Default: "5,5,5,5".
public void setCmargins(String cmargins)
cmargins
- protected Dimension getCurrentMargins_()
public String getMargins()
Default: "0,0,0,0".
public void setMargins(String margins)
margins
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |