Interface RadioGroupViewModel
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
RadioGroupViewModelImpl
A representation of the model object 'Radio Group View Model'.
Radio group control view model.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<RadioGroupItemViewModel>
getItems()
Returns the value of the 'Items' containment reference list.Returns the value of the 'Selected Item' reference.getText()
Returns the value of the 'Text' attribute.void
Sets the value of the 'Selected Item
' reference.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
-
getText
String getText()Returns the value of the 'Text' attribute. The radio group text- 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:
-
getItems
org.eclipse.emf.common.util.EList<RadioGroupItemViewModel> getItems()Returns the value of the 'Items' containment reference list. The list contents are of typeRadioGroupItemViewModel
. Radio items.- Returns:
- the value of the 'Items' containment reference list.
- See Also:
-
getSelectedItem
RadioGroupItemViewModel getSelectedItem()Returns the value of the 'Selected Item' reference. Selected radio item ornull
if nothing is selected.- Returns:
- the value of the 'Selected Item' reference.
- See Also:
-
setSelectedItem
Sets the value of the 'Selected Item
' reference.- Parameters:
value
- the new value of the 'Selected Item' reference.- See Also:
-