FocusAgent"

From Documentation
Line 7: Line 7:
  
  
Only Those components that inherit <tt> org.zkoss.zul.impl.InputElement </tt> support <tt> FocusAgent</tt>.
+
Only components that inherit <tt> org.zkoss.zul.impl.InputElement </tt> supports <tt> FocusAgent</tt>.
  
 
<source lang="java">
 
<source lang="java">
Line 16: Line 16:
  
 
</source>
 
</source>
 
  
 
=Supported Components=
 
=Supported Components=

Revision as of 04:26, 17 May 2012



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

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/17

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