Class pvd.widget.designer.settings._EditableSetting
Extends
pvd.widget.designer.settings._Setting.
Provides an abstract base class that extends pvd.widget.designer.settings._Setting to support an
editable setting.
Defined in: <pvd\widget\designer\settings\_EditableSetting.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
Indicates whether the setting control is disabled.
|
|
Indicates whether the setting is required.
|
- Fields borrowed from class pvd.widget.designer.settings._Setting:
- active, help, hidden, label
Method Summary
Method Attributes | Method Name and Description |
---|---|
destroy(preserveDom)
|
|
onCommitSetting(name, value)
Event fired when the setting value is to be committed to the change history.
|
|
onSettingChanged(name, value)
Event fired when the setting value changes.
|
|
validate()
Updates the validation status.
|
- Methods borrowed from class pvd.widget.designer.settings._Setting:
- create
Field Detail
disabled
Indicates whether the setting control is disabled.
required
Indicates whether the setting is required.
Method Detail
destroy(preserveDom)
- Parameters:
- preserveDom
onCommitSetting(name, value)
Event fired when the setting value is to be committed to the change history.
For some extended classes such as SelectSetting, this event is fired each time the value changes. For other extended classes such as TextBoxSetting this event is fired only when the control loses focus. This behavior allows the status of the view to be updated dynamically as a user enters data without adding numerous entries to the change history.
- Parameters:
- name
- The setting name.
- value
- The setting value.
onSettingChanged(name, value)
Event fired when the setting value changes.
- Parameters:
- name
- The setting name.
- value
- The setting value.
postCreate()
validate()
Updates the validation status.