Longbox"
Line 28: | Line 28: | ||
|- | |- | ||
| <center><tt>onChange</tt></center> | | <center><tt>onChange</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.InputEvent</javadoc> |
'''Description:''' | '''Description:''' | ||
Line 36: | Line 36: | ||
|- | |- | ||
| <center><tt>onChanging</tt></center> | | <center><tt>onChanging</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.InputEvent</javadoc> |
'''Description: ''' | '''Description: ''' | ||
Line 44: | Line 44: | ||
|- | |- | ||
| <center><tt>onSelection</tt></center> | | <center><tt>onSelection</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.SelectionEvent</javadoc> |
'''Description: ''' | '''Description: ''' | ||
Line 52: | Line 52: | ||
|- | |- | ||
| <center><tt>onFocus</tt></center> | | <center><tt>onFocus</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.Event</javadoc> |
'''Description: ''' | '''Description: ''' | ||
Line 60: | Line 60: | ||
|- | |- | ||
| <center><tt>onBlur</tt></center> | | <center><tt>onBlur</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.Event</javadoc> |
'''Description: ''' | '''Description: ''' | ||
Line 68: | Line 68: | ||
|- | |- | ||
| <center><tt>onCreate</tt></center> | | <center><tt>onCreate</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.ui.zk.ui.event.CreateEvent</javadoc> |
'''Description: ''' | '''Description: ''' | ||
Line 76: | Line 76: | ||
|- | |- | ||
| <center><tt>onDrop</tt></center> | | <center><tt>onDrop</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.ui.zk.ui.event.DropEvent</javadoc> |
'''Description: ''' | '''Description: ''' |
Revision as of 11:18, 27 April 2010
Longbox
Employment/Purpose
A longbox is used to let users input long data.
Example
<window title="Longbox Demo" border="normal" width="200px">
long box:<longbox/>
</window>
Supported events
InputEvent
Description: Denotes the content of an input component has been modified by the user. | |
InputEvent
Description: Denotes that user is changing the content of an input component. Notice that the component's content (at the server) won't be changed until onChange is received. Thus, you have to invoke the getValue method in the InputEvent class to retrieve the temporary value. | |
SelectionEvent
Description: Denotes that user is selecting a portion of the text of an input component. You can retrieve the start and end position of the selected text by use of the getStart and getEnd methods. | |
Event
Description: Denotes when a component gets the focus. Remember event listeners execute at the server, so the focus at the client might be changed when the event listener for onFocus got executed. | |
Event
Description: Denotes when a component loses the focus. Remember event listeners execute at the server, so the focus at the client might be changed when the event listener for onBlur got executed. | |
CreateEvent
Description: Denotes a component is created when rendering a ZUML page. | |
DropEvent
Description: Denotes another component is dropped to the component that receives this event. |
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | 4/27/2010 | Initialization |