FocusAgent"

From Documentation
Line 25: Line 25:
 
! <center>Note</center>
 
! <center>Note</center>
 
|-
 
|-
| A, Button, Bandbox, Combobox, Datebox,  
+
| A, Button, Bandbox, Combobox, Checkbox,
Decimalbox, Doublebox, Doublespinner, Intbox, Longbox,  
+
Datebox, Decimalbox, Doublebox, Doublespinner, Intbox,  
  
Spinner, Textbox, Timebox, Checkbox, Radio,  
+
Listbox, Longbox, Radio, Spinner, Textbox,  
  
Listbox, Tree
+
Timebox, Tree
 
| 5, 6
 
| 5, 6
 
|
 
|

Revision as of 02:16, 16 May 2012



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, Checkbox,

Datebox, Decimalbox, Doublebox, Doublespinner, Intbox,

Listbox, Longbox, Radio, Spinner, Textbox,

Timebox, Tree

5, 6




Last Update : 2012/05/16

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