FocusAgent"

From Documentation
(Created page with "It's supported on those components that inherit <tt> org.zkoss.zul.impl.InputElement </tt> ```java inputComponent.as(FocusAgent.class).focus(); inputComponent.as(FocusAgent.cl...")
 
Line 1: Line 1:
It's supported on those components that inherit <tt> org.zkoss.zul.impl.InputElement </tt>
+
{{ZATSEssentialsPageHeader}}
  
```java
+
 
 +
 
 +
Only Those components that inherit <tt> org.zkoss.zul.impl.InputElement </tt> support <tt> FocusAgent</tt>.
 +
 
 +
<source lang="java">
  
 
inputComponent.as(FocusAgent.class).focus();
 
inputComponent.as(FocusAgent.class).focus();
Line 7: Line 11:
 
inputComponent.as(FocusAgent.class).blur();
 
inputComponent.as(FocusAgent.class).blur();
  
```
+
</source>
 +
 
 +
 
 +
 
 +
 
 +
{{ZATSEssentialsPageFooter}}

Revision as of 10:09, 11 May 2012



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

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

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




Last Update : 2012/05/11

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