A.RadioGroupDataEditor Class
A base class for Radio Group Data Editor.
Constructor
A.RadioGroupDataEditor
-
config
Parameters:
-
configObjectObject literal specifying widget configuration properties.
Methods
_afterEditedValueChange
()
protected
Fired after the editedValue attribute is set.
_afterInlineChange
()
protected
Fired after the inline attribute is set.
_afterLabelChange
()
protected
<p>Fired after the <code>label</code> attribute is set.</p>
_afterRadioLabelsChange
()
protected
Fired after the radioLabels attribute is set.
_afterRequiredChange
()
protected
<p>Fired after the <code>required</code> attribute is set.</p>
_afterVisibleChange
()
protected
<p>Fired after the <code>visible</code> attribute is set.</p>
_createRadioGroup
-
label
Creates a radio element node.
Parameters:
-
labelString
Returns:
_onClickRadioButton
-
event
Fired when a radio button is clicked.
Parameters:
-
eventEventFacade
_uiSetEditedValue
-
editedValue
Updates the ui according to the value of the editedValue attribute.
Parameters:
-
editedValueNumber
_uiSetInline
-
inline
Updates the ui according to the value of the editedValue attribute.
Parameters:
-
inlineBoolean
_uiSetLabel
-
label
<p>Updates the ui according to the value of the <code>label</code> attribute.</p>
Parameters:
-
labelString
_uiSetRadioLabels
-
value
Updates the ui according to the value of the radioLabels attribute.
Parameters:
-
valueArray
_uiSetRequired
-
required
<p>Updates the ui according to the value of the <code>required</code> attribute.</p>
Parameters:
-
requiredObject
_uiSetVisible
-
visible
<p>Updates the ui according to the value of the <code>visible</code> attribute.</p>
Parameters:
-
visibleObject
destructor
()
protected
<p>Destructor lifecycle implementation for the <code>A.DataEditor</code> class. Lifecycle.</p>
initializer
()
protected
Constructor for the A.RadioGroupDataEditor. Lifecycle.
isEmpty
()
<p>Returns <code>true</code> if this edited value has no elements. This should be overridden by subclasses, otherwise it always returns <code>false</code>.</p>
isValid
()
Boolean
<p>If the data editor is required and empty this will return false.</p>
Returns:
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration
for the A.RadioGroupDataEditor.