| |
|
| org.zkoss.zul.Checkbox org.zkoss.zul.Radio
getInnerAttrs | public String getInnerAttrs()(Code) | | Returns the inner attributes for generating the HTML radio tag
(the name and value attribute).
Used only by component developers.
|
getName | final public String getName()(Code) | | Returns the name of this radio button.
Don't use this method if your application is purely based
on ZK's event-driven model.
It is readonly, and it is generated automatically
to be the same as its parent's name (
Radiogroup.getName ).
|
getRadiogroup | public Radiogroup getRadiogroup()(Code) | | Returns
Radiogroup that this radio button belongs to.
It is the nearest ancestor
Radiogroup .
In other words, it searches up the parent, parent's parent
and so on for any
Radiogroup instance.
If found this radio belongs the found radiogroup.
If not, this radio itself is a group.
|
getValue | public String getValue()(Code) | | Returns the value.
Default: "".
|
isSelected | final public boolean isSelected()(Code) | | Returns whether it is selected.
Default: false.
Don't override this. Override
Radio.isChecked instead.
|
setChecked | public void setChecked(boolean checked)(Code) | | Sets the radio is checked and unchecked the others in the same radio
group (
Radiogroup .
|
setValue | public void setValue(String value)(Code) | | Sets the value.
Parameters: value - the value; If null, it is considered as empty. |
|
|
|