FocusAgent"

From Documentation
m (correct highlight (via JWB))
 
(8 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  
  
Only Those components that inherit <tt> org.zkoss.zul.impl.InputElement </tt> support <tt> FocusAgent</tt>.
+
Only components that inherit <code> org.zkoss.zul.impl.InputElement </code> supports <code> FocusAgent</code>.
  
 
<source lang="java">
 
<source lang="java">
Line 16: Line 16:
  
 
</source>
 
</source>
 
  
 
=Supported Components=
 
=Supported Components=
Line 25: Line 24:
 
! <center>Note</center>
 
! <center>Note</center>
 
|-
 
|-
| A
+
| A, Button, Bandbox, Combobox, Checkbox,
| 5, 6
+
Datebox, Decimalbox, Doublebox, Doublespinner, Intbox,
 +
 
 +
Listbox, Longbox, Radio, Spinner, Textbox,
 +
 
 +
Timebox, Tree
 +
| 5, 6
 
|
 
|
|-
 
| Button
 
| 5, 6
 
|
 
|-
 
| Bandbox
 
| 5, 6
 
|
 
|-
 
| Combobox
 
| 5, 6
 
|
 
|-
 
| Datebox
 
| 5, 6
 
|
 
|-
 
| Decimalbox
 
| 5, 6
 
|
 
|-
 
| Doublebox
 
| 5, 6
 
|
 
|-
 
| Doublespinner
 
| 5, 6
 
|
 
|-
 
| Intbox
 
| 5, 6
 
|
 
|-
 
| Longbox
 
| 5, 6
 
|
 
|-
 
| Spinner
 
| 5, 6
 
|
 
|-
 
| Textbox
 
| 5, 6
 
|
 
|-
 
| Timebox
 
| 5, 6
 
|
 
|-
 
| Checkbox
 
| 5, 6
 
|
 
|-
 
| Radio
 
| 5, 6
 
|
 
|-
 
| CKEditor
 
| 5, 6
 
| only type(), typing()
 
|-
 
| Colorbox
 
| 5, 6
 
| only type()
 
 
|}
 
|}
  
  
  
 +
{{ZATSEssentialsPageHeader}}
 
{{ZATSEssentialsPageFooter}}
 
{{ZATSEssentialsPageFooter}}

Latest revision as of 02:55, 18 January 2022



Focus & Blur

Only components that inherit org.zkoss.zul.impl.InputElement supports FocusAgent.

inputComponent.as(FocusAgent.class).focus();

inputComponent.as(FocusAgent.class).blur();

Supported Components

Components
Version
Note
A, Button, Bandbox, Combobox, Checkbox,

Datebox, Decimalbox, Doublebox, Doublespinner, Intbox,

Listbox, Longbox, Radio, Spinner, Textbox,

Timebox, Tree

5, 6





Last Update : 2022/01/18

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