|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Radio
A radio button.
Radio buttons without a ancestor Radiogroup
is considered as the same
group. The nearest ancestor Radiogroup
is the group that the radio
belongs to. See also getRadiogroupApi()
.
Event:
CheckEvent
is sent when a checkbox is
checked or unchecked by user.
Field Summary |
---|
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Method Summary | |
---|---|
Radiogroup |
getRadiogroupApi()
Returns Radiogroup that this radio button belongs to. |
java.lang.String |
getValue()
Returns the value. |
void |
setValue(java.lang.String value)
Sets the value. |
Methods inherited from interface org.zkoss.zul.api.Checkbox |
---|
getName, getTabindex, isChecked, isDisabled, setChecked, setDisabled, setName, setTabindex |
Methods inherited from interface org.zkoss.zul.impl.api.LabelImageElement |
---|
getHoverImage, getImage, getImageContent, setHoverImage, setHoverImageContent, setHoverImageContent, setImage, setImageContent, setImageContent |
Methods inherited from interface org.zkoss.zul.impl.api.LabelElement |
---|
getLabel, setLabel |
Methods inherited from interface org.zkoss.zul.impl.api.XulElement |
---|
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
Radiogroup getRadiogroupApi()
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.
java.lang.String getValue()
Default: "".
void setValue(java.lang.String value)
value
- the value; If null, it is considered as empty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |