HtmlBasedComponent"

From Documentation
m ((via JWB))
Line 48: Line 48:
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.KeyEvent</javadoc>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.KeyEvent</javadoc>
  
Denotes user has pressed the ENTER key.
+
Denotes a user has pressed the ENTER key.
  
 
|-
 
|-
Line 54: Line 54:
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.KeyEvent</javadoc>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.KeyEvent</javadoc>
  
Denotes user has pressed the ESC key.
+
Denotes a user has pressed the ESC key.
  
 
|-
 
|-
Line 60: Line 60:
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.KeyEvent</javadoc>
 
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.KeyEvent</javadoc>
  
Denotes user has pressed a special key, such as PgUp, Home and a key combined with the Ctrl or Alt key. Refer to the ctrlKeys Property section below for details.
+
Denotes a user has pressed a special key, such as PgUp, Home, and a key combined with the Ctrl or Alt key. Refer to the ctrlKeys Property section below for details.
 +
|-
 +
| <center><code>onAfterSize</code></center>
 +
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.AfterSizeEvent</javadoc>
 +
It's fired after
 +
* a user resizes a sizable component in a browser
 +
* a component calculates its size in a browser
 
|}
 
|}
  

Revision as of 10:29, 9 June 2022


HtmlBasedComponent

Html Based Component

Employment/Purpose

A skeletal implementation for HTML based components. It simplifies to implement methods common to HTML based components.

Example

N/A

Supported Events

Name
Event Type
onDrop
Event: DropEvent

Denotes user has dropped the dragged target to the component.

onClick
Event: MouseEvent

Denotes user has clicked the component.

onDoubleClick
Event: MouseEvent

Denotes user has double-clicked the component.

onRightClick
Event: MouseEvent

Denotes user has right-clicked the component.

onMouseOver
Event: MoveEvent

Denotes user has hovered over the component.

onMouseOut
Event: MoveEvent

Denotes user has moved out the component.

onOK
Event: KeyEvent

Denotes a user has pressed the ENTER key.

onCancel
Event: KeyEvent

Denotes a user has pressed the ESC key.

onCtrlKey
Event: KeyEvent

Denotes a user has pressed a special key, such as PgUp, Home, and a key combined with the Ctrl or Alt key. Refer to the ctrlKeys Property section below for details.

onAfterSize
Event: AfterSizeEvent

It's fired after

  • a user resizes a sizable component in a browser
  • a component calculates its size in a browser

Supported Children

*ALL

Use cases

Version Description Example Location
     

Version History

Version Date Content
5.0.3 June 2010 The onMouseOver and onMouseOut events are supported.



Last Update : 2022/06/09

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