Interface TextPreviewControlViewModel
- All Superinterfaces:
ControlViewModel,org.eclipse.emf.ecore.EObject,IControlViewModel,IViewModel,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
TextPreviewControlViewModelImpl
A representation of the model object 'Text Preview Control View Model'.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()Returns the value of the 'Color' containment reference.getFont()Returns the value of the 'Font' containment reference.getText()Returns the value of the 'Text' attribute.voidsetColor(ColorViewModel value) Sets the value of the 'Color' containment reference.voidsetFont(FontViewModel value) Sets the value of the 'Font' containment reference.voidSets 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, setStatusMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParentMethods 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 default value is"".- 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:
-
getColor
ColorViewModel getColor()Returns the value of the 'Color' containment reference.- Returns:
- the value of the 'Color' containment reference.
- See Also:
-
setColor
Sets the value of the 'Color' containment reference.- Parameters:
value- the new value of the 'Color' containment reference.- See Also:
-
getFont
FontViewModel getFont()Returns the value of the 'Font' containment reference.- Returns:
- the value of the 'Font' containment reference.
- See Also:
-
setFont
Sets the value of the 'Font' containment reference.- Parameters:
value- the new value of the 'Font' containment reference.- See Also:
-