FocusAgent"

From Documentation
Line 25: Line 25:
 
! <center>Note</center>
 
! <center>Note</center>
 
|-
 
|-
| A
+
| A, Button, Bandbox, Combobox, Datebox,
 +
Decimalbox, Doublebox, Doublespinner, Intbox, Longbox,
 +
 
 +
Spinner, Textbox, Timebox, Checkbox, Radio,
 +
 
 +
Listbox, Tree
 
| 5, 6
 
| 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
 
|
 
|-
 
| Listbox
 
| 5, 6
 
|
 
|-
 
| Tree
 
| 5, 6
 
|
 
|-
 
| CKEditor
 
| 5, 6
 
| only type(), typing()
 
|-
 
| Colorbox
 
| 5, 6
 
| only type()
 
 
|}
 
|}
  

Revision as of 02:14, 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, 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.