Interface RadioGroupViewModel
-
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
RadioGroupViewModelImpl
public interface RadioGroupViewModel extends ControlViewModel
A representation of the model object 'Radio Group View Model'. Radio group control view model.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<RadioGroupItemViewModel>
getItems()
Returns the value of the 'Items' containment reference list.RadioGroupItemViewModel
getSelectedItem()
Returns the value of the 'Selected Item' reference.String
getText()
Returns the value of the 'Text' attribute.void
setSelectedItem(RadioGroupItemViewModel value)
Sets the value of the 'Selected Item
' reference.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
-
getText
String getText()
Returns the value of the 'Text' attribute. The radio group text- Returns:
- the value of the 'Text' attribute.
- See Also:
setText(String)
,AefStandardPackage.getRadioGroupViewModel_Text()
-
setText
void setText(String value)
Sets the value of the 'Text
' attribute.- Parameters:
value
- the new value of the 'Text' attribute.- See Also:
getText()
-
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:
AefStandardPackage.getRadioGroupViewModel_Items()
-
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(RadioGroupItemViewModel)
,AefStandardPackage.getRadioGroupViewModel_SelectedItem()
-
setSelectedItem
void setSelectedItem(RadioGroupItemViewModel value)
Sets the value of the 'Selected Item
' reference.- Parameters:
value
- the new value of the 'Selected Item' reference.- See Also:
getSelectedItem()
-
-