LayoutRegion"

From Documentation
m (Add onSize, onSlide events)
m ((via JWB))
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
=Supported events=
 
=Supported events=
  
{| border="1" | width="100%"
+
{| class='wikitable' | width="100%"
 
! <center>Name</center>
 
! <center>Name</center>
 
! <center>Event Type</center>
 
! <center>Event Type</center>
 
|-
 
|-
| <center><tt>onOpen</tt></center>
+
| <center><code>onOpen</code></center>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.OpenEvent</javadoc>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.OpenEvent</javadoc>
 
When a layout is collapsed or opened by a user, the onOpen event is sent to the application.  
 
When a layout is collapsed or opened by a user, the onOpen event is sent to the application.  
 
|-
 
|-
| <center><tt>onSize</tt></center>
+
| <center><code>onSize</code></center>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.SizeEvent</javadoc>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.SizeEvent</javadoc>
 
When a layout is resized by a user, the onSize event is sent to the application.  
 
When a layout is resized by a user, the onSize event is sent to the application.  
 
|-
 
|-
| <center><tt>onSlide</tt></center>
+
| <center><code>onSlide</code></center>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.SlideEvent</javadoc>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.SlideEvent</javadoc>
 
When a collapsed layout is slided (preview) by a user, the onSlide event is sent to the application.  
 
When a collapsed layout is slided (preview) by a user, the onSlide event is sent to the application.  
Line 42: Line 42:
  
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-

Latest revision as of 10:37, 12 January 2022


Layout Region

Employment/Purpose

This class represents a region in a layout manager.

Example

N/A

Supported events

Name
Event Type
onOpen
Event: OpenEvent

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

onSize
Event: SizeEvent

When a layout is resized by a user, the onSize event is sent to the application.

onSlide
Event: SlideEvent

When a collapsed layout is slided (preview) by a user, the onSlide event is sent to the application.

Supported Children

*ALL

Version History

Version Date Content
8.0.3 2016/04/22 ZK-3166: BorderLayout slide action server-side support
     



Last Update : 2022/01/12

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.