FocusAgent"
From Documentation
m (correct highlight (via JWB)) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
− | Only components that inherit < | + | Only components that inherit <code> org.zkoss.zul.impl.InputElement </code> supports <code> FocusAgent</code>. |
<source lang="java"> | <source lang="java"> | ||
Line 30: | Line 30: | ||
Timebox, Tree | Timebox, Tree | ||
− | | | + | | 5, 6 |
| | | | ||
|} | |} | ||
Line 36: | Line 36: | ||
+ | {{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
A, Button, Bandbox, Combobox, Checkbox,
Datebox, Decimalbox, Doublebox, Doublespinner, Intbox, Listbox, Longbox, Radio, Spinner, Textbox, Timebox, Tree |
5, 6 |