LayoutRegion

This class represents a region in a layout manager.

Class Name

org.zkoss.zkex.zul.LayoutRegion

Supported Child Components

*NONE

Supported Events

Name

Inherited From

onOpen

org.zkoss.zk.ui.event.OpenEvent

Description: When a layout is collapsed or opened by a user, the onOpen event is sent to the application.

Properties

Property

Description

Data Type

Default Value

flex

Sets whether to grow and shrink vertical/horizontal to fit their given space, so called flexibility.

java.lang.String

false

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.

java.lang.String

null

splittable

Sets whether enable the split functionality.

boolean

false

collapsible

Sets whether set the initial display to collapse.

boolean

false

margins

Sets margins for the element "0,1,2,3" that direction is "top,left,right,bottom".

java.lang.String

0,0,0,0

open

Opens or collapses the splitter. Meaningful only if isCollapsible is not false.

boolean

true

autoscroll

Sets whether enable overflow scrolling.

boolean

false

border

Sets the border (either none or normal).

java.lang.String

normal

maxsize

Sets the maximum size of the resizing element.

int

2000

minsize

Sets the minimum size of the resizing element.

int

0

Methods

Name

Description

Return Data Type

getOuterAttrs()

insertBefore(org.zkoss.zk.ui.Component child, org.zkoss.zk.ui.Component insertBefore)

onChildRemoved(org.zkoss.zk.ui.Component child)

Inherited From