Interface CheckboxViewModel
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
CheckboxViewModelImpl
A representation of the model object 'Checkbox View Model'.
Checkbox control view model.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
Returns the value of the 'Text' attribute.boolean
Returns the value of the 'Checked' attribute.void
setChecked
(boolean value) Sets the value of the 'Checked
' attribute.void
Sets the value of the 'Text
' attribute.Methods inherited from interface com._1c.g5.aef2.standard.viewModels.ControlViewModel
getApplyValueChange, getContexts, getExternalValidationStatus, getLayoutData, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setExternalValidationStatus, setLayoutData, setStatus
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
isChecked
boolean isChecked()Returns the value of the 'Checked' attribute. Check state.- Returns:
- the value of the 'Checked' attribute.
- See Also:
-
setChecked
void setChecked(boolean value) Sets the value of the 'Checked
' attribute.- Parameters:
value
- the new value of the 'Checked' attribute.- See Also:
-
getText
String getText()Returns the value of the 'Text' attribute. The text of the checkbox. Set the value if the text at the right is needed.- Returns:
- the value of the 'Text' attribute.
- See Also:
-
setText
Sets the value of the 'Text
' attribute.- Parameters:
value
- the new value of the 'Text' attribute.- See Also:
-