HoverAgent"

From Documentation
(Created page with "{{ZATSEssentialsPageHeader}} <tt> HoverAgent</tt> mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call <tt> ...")
 
m (correct highlight (via JWB))
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
 +
__TOC__
  
<tt> HoverAgent</tt> mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call <tt> moveOver() </tt> or <tt> moveOut() </tt>
+
 
 +
= Mouse Over & Mouse Out =
 +
 
 +
 
 +
<code> HoverAgent</code> mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call <code> moveOver() </code> or <code> moveOut() </code>
  
  
Line 18: Line 23:
  
  
 +
=Supported Components=
 +
 +
{| border="1" | width="100%"
 +
! <center>Components</center>
 +
! <center>Version</center>
 +
! <center>Note</center>
 +
|-
 +
| Sub-class of <javadoc> org.zkoss.zk.ui.HtmlBasedComponent </javadoc>
 +
| 5, 6
 +
|
 +
|}
 +
 +
 +
 +
{{ZATSEssentialsPageHeader}}
 
{{ZATSEssentialsPageFooter}}
 
{{ZATSEssentialsPageFooter}}

Latest revision as of 02:55, 18 January 2022




Mouse Over & Mouse Out

HoverAgent mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call moveOver() or moveOut()


Zats-mimic-moveOver.png Zats-mimic-moveOut.png

desktopAgent.query("button").as(HoverAgent.class).moveOver();

desktopAgent.query("button").as(HoverAgent.class).moveOut();


Supported Components

Components
Version
Note
Sub-class of HtmlBasedComponent 5, 6





Last Update : 2022/01/18

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