Home > Class Reference > ENSLIB namespace > %ZEN.Component.radioButton
Private  Storage   


class %ZEN.Component.radioButton extends control

radio button control.
This provides a wrapper around the HTML input=radio control with some enhanced capabilities.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 8


%condition %import %includeFiles %page
%resource align aux caption
captionClass clientType composite containerStyle
controlClass controlStyle dataBinding disabled
dragEnabled dropEnabled enclosingClass enclosingStyle
error height hidden hint
hintClass hintStyle id index
invalid invalidMessage label labelClass
labelDisabledClass labelStyle name onafterdrag
onbeforedrag onblur onchange onclick
ondblclick ondrag ondrop onfocus
onhide onkeydown onkeypress onkeyup
onmousedown onmouseout onmouseover onmouseup
onrefresh onshow onsubmit ontouchend
ontouchmove ontouchstart onupdate onvalidate
optionValue originalValue parent readOnly
required requiredMessage showLabel slice
tabIndex title tuple valign
value visible width window

%AddToSaveSet %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawComponentHTML %DrawHTML %DrawJSStrings
%EnclosingDivId %Eval %EvalC %Extends
%ForceClientRender %GetEventHandlers %GetForm %GetParameter
%GetXMLName %IsA %IsModified %MakeId
%Name %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawEnclosingDiv %OnDrawObjectProperties
%OnObjectSynch %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveFromSaveSet %Self
%SerializeObject %SetDefaultValues %SetModified %ValidateObject
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
clickButton clickCaption dragFinishHandler dragHandler
dragNotifyHandler dragStartHandler dropHandler dropStartHandler
exposeComponent findElement fireOnUpdateEvent focus
formatValue getDisabled getDragData getEnclosingDiv
getForm getHidden getHintElement getInvalidReason
getLabelElement getProperty getReadOnly getSettings
getType getValue invokeSuper isModified
isOfType isValid makeId normalizeValue
onCreate onDelete onDisplayHandler onEndModalHandler
onPopupAction onRefreshContents onSerialize onStartModalHandler
onchangeHandler onloadHandler onunloadHandler onupdateHandler
refreshContents render renderContents renderSVG
select setDisabled setHidden setOverlayMode
setProperty setReadOnly setValue startProgressBar
stopProgressBar sysName unformatValue validationHandler


• parameter DEFAULTCONTROLCLASS = "radio";
The default css class used for the main element within this control. This is overridden by subclasses.


• property caption as %ZEN.Datatype.caption(ZENEXPRESSION=1);
Additional caption displayed next to actual radio button.
This is a localized value.
• property captionClass as %ZEN.Datatype.cssClass [ InitialExpression = "radioButtonCaption" ];
CSS class to apply to the control's caption.
• property optionValue as %ZEN.Datatype.value(ZENEXPRESSION=1);
Defines the value associated with this specific radio button. This is in contrast with the value which defines the value of the entire set of radio buttons.


• method %DrawHTML()
Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
• method %SetDefaultValues()
This method fills in reasonable default values for this control. Used by tools (such as Control Tester) to dynamically create controls.
• method clickButton() [ Language = javascript ]
User click on radio button.
• method clickCaption() [ Language = javascript ]
User click on caption for radio button; select this button.
• method getProperty(property, key) as %String [ Language = javascript ]
Override to get current value of control.
• method onSerialize() [ Language = javascript ]
Make sure serialization does not mess with our value.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
• method valueSet(%val) as %Status
Setting value of any radio button, sets value for other buttons in the same group.