event"

From Documentation
m (Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/event/event.html <javadoc>org.zkoss.zk.ui.event.Event</javadoc>] or derived :<tt>stopPro…')
 
m (correct highlight (via JWB))
 
Line 3: Line 3:
 
[http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/event/event.html <javadoc>org.zkoss.zk.ui.event.Event</javadoc>] or derived  
 
[http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/event/event.html <javadoc>org.zkoss.zk.ui.event.Event</javadoc>] or derived  
  
:<tt>stopPropagation</tt> : Stops the propagation for this event.
+
:<code>stopPropagation</code> : Stops the propagation for this event.
:<tt>getTarget</tt> : Returns the target component that receives this event.
+
:<code>getTarget</code> : Returns the target component that receives this event.
:<tt>getName</tt> : Returns the event name.
+
:<code>getName</code> : Returns the event name.
:<tt>getData</tt> : Returns the data accompanies with this event.
+
:<code>getData</code> : Returns the data accompanies with this event.
  
<tt>event</tt> may be casted to subclass like <tt>KeyEvent</tt>, <tt>InputEvent</tt>.
+
<code>event</code> may be casted to subclass like <code>KeyEvent</code>, <code>InputEvent</code>.
  
 
{{ ZKDevelopersGuidePageFooter}}
 
{{ ZKDevelopersGuidePageFooter}}

Latest revision as of 10:40, 19 January 2022

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


Event or derived

stopPropagation : Stops the propagation for this event.
getTarget : Returns the target component that receives this event.
getName : Returns the event name.
getData : Returns the data accompanies with this event.

event may be casted to subclass like KeyEvent, InputEvent.



Last Update : 2022/01/19

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