FocusAgent"

From Documentation
Line 1: Line 1:
 
{{ZATSEssentialsPageHeader}}
 
{{ZATSEssentialsPageHeader}}
  
 +
 +
__TOC__
 +
 +
= Focus & Blur =
  
  
Line 13: Line 17:
 
</source>
 
</source>
  
 +
 +
=Supported Components=
 +
 +
{| border="1" | width="100%"
 +
! <center>Components</center>
 +
! <center>Version</center>
 +
! <center>Note</center>
 +
|-
 +
| A
 +
| 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()
 +
|}
  
  
  
 
{{ZATSEssentialsPageFooter}}
 
{{ZATSEssentialsPageFooter}}

Revision as of 10:13, 15 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 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()




Last Update : 2012/05/15

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