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

%ZEN.Component.radioButton


class %ZEN.Component.radioButton extends control

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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 8


Summary


Properties
%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

Methods
%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
valueSet


Parameters


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

Properties


• 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.

Methods


• 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.