星期二, 1月 18, 2011

[ZK] BorderLayout Attributes

ZK Layout attribute specification table:

Attribute Usage Component Name
flex Sets whether to grow and shrink vertical/horizontal to fit their given space, so called flexibility.
Default: false.
north, south, west, east and center
size Sets the size of this region. This method is shortcut for setHeight(String) and setWidth(String). If this region is North or South, this method will invoke setHeight(String). If this region is West or East, this method will invoke setWidth(String). Otherwise it will throw a UnsupportedOperationException. north, south, west and east.
splittable Sets whether enable the split functionality.
Default: false.
north, south, west and east.
collapsible Sets whether set the initial display to collapse.
Default: false.
north, south, west and east.
margins Sets margins for the element "0,1,2,3" that direction is "top,left,right,bottom".
Default: "0,0,0,0".
north, south, west, east and center
open Opens or collapses the splitter. Meaningful only if isCollapsible is not false.
Default: true.
north, south, west and east.
autoscroll Sets whether enable overflow scrolling.
Default: false.
north, south, west, east and center
border Sets the border (either none or normal).
Default: normal
north, south, west, east and center
maxsize Sets the maximum size of the resizing element.
Default: 2000.
north, south, west and east.
minsize Sets the minimum size of the resizing element.
Default: 0.
north, south, west and east.
Events: onOpen (north, south, west and east only).

Reference:
ZK Developer's Reference/UI Patterns/Layouts and Containers

沒有留言:

張貼留言

留個話吧:)

其他你感興趣的文章

Related Posts with Thumbnails