Slider and Scroll Events"

From Documentation
m (Created page with '{{ZKDevelopersGuidePageHeader}} {| border="1" ! <center>Event Name</center> ! <center>Components</center> ! <center>Description</center> |- | onScroll | slider | Event: <tt>…')
 
m
Line 10: Line 10:
 
|  onScroll
 
|  onScroll
 
|  slider
 
|  slider
| Event: <tt>org.zkoss.zk.ui.event.ScrollEvent</tt>
+
| Event: <javadoc>org.zkoss.zk.ui.event.ScrollEvent</javadoc>
  
 
Denotes the content of a scrollable component has been scrolled by the user.
 
Denotes the content of a scrollable component has been scrolled by the user.
Line 17: Line 17:
 
|  onScrolling
 
|  onScrolling
 
|  slider
 
|  slider
| Event: <tt>org.zkoss.zk.ui.event.ScrollEvent</tt>
+
| Event: <javadoc>org.zkoss.zk.ui.event.ScrollEvent</javadoc>
  
 
Denotes that user is scrolling a scrollable component. Notice that the component's content (at the server) won't be changed until <tt>onScroll</tt> is received. Thus, you have to invoke the <tt>getPos</tt> method in the <tt>ScrollEvent</tt> class to retrieve the temporary position.
 
Denotes that user is scrolling a scrollable component. Notice that the component's content (at the server) won't be changed until <tt>onScroll</tt> is received. Thus, you have to invoke the <tt>getPos</tt> method in the <tt>ScrollEvent</tt> class to retrieve the temporary position.

Revision as of 02:01, 15 July 2010

Slider and Scroll Events


Stop.png This documentation is for an older version of ZK. For the latest one, please click here.



Event Name
Components
Description
onScroll slider Event: ScrollEvent

Denotes the content of a scrollable component has been scrolled by the user.

onScrolling slider Event: ScrollEvent

Denotes that user is scrolling a scrollable component. Notice that the component's content (at the server) won't be changed until onScroll is received. Thus, you have to invoke the getPos method in the ScrollEvent class to retrieve the temporary position.



Last Update : 2010/07/15

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