Interface CheckboxViewModel
-
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
CheckboxViewModelImpl
public interface CheckboxViewModel extends ControlViewModel
A representation of the model object 'Checkbox View Model'. Checkbox control view model.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getText()
Returns the value of the 'Text' attribute.boolean
isChecked()
Returns the value of the 'Checked' attribute.void
setChecked(boolean value)
Sets the value of the 'Checked
' attribute.void
setText(String value)
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
-
-
-
-
Method Detail
-
isChecked
boolean isChecked()
Returns the value of the 'Checked' attribute. Check state.- Returns:
- the value of the 'Checked' attribute.
- See Also:
setChecked(boolean)
,AefStandardPackage.getCheckboxViewModel_Checked()
-
setChecked
void setChecked(boolean value)
Sets the value of the 'Checked
' attribute.- Parameters:
value
- the new value of the 'Checked' attribute.- See Also:
isChecked()
-
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(String)
,AefStandardPackage.getCheckboxViewModel_Text()
-
-