Radio"
From Documentation
Line 36: | Line 36: | ||
|- | |- | ||
| <center><tt>onFocus</tt></center> | | <center><tt>onFocus</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.Event</javadoc> |
Line 43: | Line 43: | ||
|- | |- | ||
| <center><tt>onBlur</tt></center> | | <center><tt>onBlur</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.even.Event</javadoc> |
Line 50: | Line 50: | ||
|- | |- | ||
| <center><tt>onCheck</tt></center> | | <center><tt>onCheck</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.CheckEvent</javadoc> |
<tt>Description: Denotes when a component loses the focus.</tt> | <tt>Description: Denotes when a component loses the focus.</tt> |
Revision as of 11:19, 27 April 2010
Radio
Employment/Purpose
A radio button is a component that can be turned on and off. Radio buttons are grouped together in a group, called radiogroup. Only one radio button with the same group may be selected at a time.
Example
<window title="Radiobox & Radio Demo">
<vbox>
<radiogroup onCheck="fruit.value = self.selectedItem.label">
<radio label="Apple" />
<radio label="Orange" />
<radio label="Banana" />
</radiogroup>
You have selected :
<label id="fruit" style="color:red" />
</vbox>
</window>
Supported events
Event
| |
Event
| |
CheckEvent
Description: Denotes when a component loses the focus. |
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | 4/27/2010 | Initialization |