FocusAgent

From Documentation



Focus & Blur

Only Those components that inherit org.zkoss.zul.impl.InputElement support FocusAgent.

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

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


Supported Components

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

Decimalbox, Doublebox, Doublespinner, Intbox, Longbox,

Spinner, Textbox, Timebox, Checkbox, Radio,

Listbox, Tree

5, 6




Last Update : 2012/05/16

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