Interface NumberValueControlViewModel
-
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
,SelectViewModel
,ValueControlViewModel
- All Known Implementing Classes:
NumberValueControlViewModelImpl
public interface NumberValueControlViewModel extends ValueControlViewModel
A representation of the model object 'Number Value Control View Model'.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPrecision()
Returns the value of the 'Precision' attribute.int
getScale()
Returns the value of the 'Scale' attribute.BigDecimal
getValue()
Returns the value of the 'Value' attribute.boolean
isNonNegative()
Returns the value of the 'Non Negative' attribute.boolean
isShowTrailingZeroes()
Returns the value of the 'Show Trailing Zeroes' attribute.void
setNonNegative(boolean value)
Sets the value of the 'Non Negative
' attribute.void
setPrecision(int value)
Sets the value of the 'Precision
' attribute.void
setScale(int value)
Sets the value of the 'Scale
' attribute.void
setShowTrailingZeroes(boolean value)
Sets the value of the 'Show Trailing Zeroes
' attribute.void
setValue(BigDecimal value)
Sets the value of the 'Value
' 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
-
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.viewModels.SelectViewModel
getButtons
-
-
-
-
Method Detail
-
getValue
BigDecimal getValue()
Returns the value of the 'Value' attribute.- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(BigDecimal)
,MdAefPackage.getNumberValueControlViewModel_Value()
-
setValue
void setValue(BigDecimal value)
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
getValue()
-
getPrecision
int getPrecision()
Returns the value of the 'Precision' attribute.- Returns:
- the value of the 'Precision' attribute.
- See Also:
setPrecision(int)
,MdAefPackage.getNumberValueControlViewModel_Precision()
-
setPrecision
void setPrecision(int value)
Sets the value of the 'Precision
' attribute.- Parameters:
value
- the new value of the 'Precision' attribute.- See Also:
getPrecision()
-
getScale
int getScale()
Returns the value of the 'Scale' attribute.- Returns:
- the value of the 'Scale' attribute.
- See Also:
setScale(int)
,MdAefPackage.getNumberValueControlViewModel_Scale()
-
setScale
void setScale(int value)
Sets the value of the 'Scale
' attribute.- Parameters:
value
- the new value of the 'Scale' attribute.- See Also:
getScale()
-
isNonNegative
boolean isNonNegative()
Returns the value of the 'Non Negative' attribute.- Returns:
- the value of the 'Non Negative' attribute.
- See Also:
setNonNegative(boolean)
,MdAefPackage.getNumberValueControlViewModel_NonNegative()
-
setNonNegative
void setNonNegative(boolean value)
Sets the value of the 'Non Negative
' attribute.- Parameters:
value
- the new value of the 'Non Negative' attribute.- See Also:
isNonNegative()
-
isShowTrailingZeroes
boolean isShowTrailingZeroes()
Returns the value of the 'Show Trailing Zeroes' attribute.- Returns:
- the value of the 'Show Trailing Zeroes' attribute.
- See Also:
setShowTrailingZeroes(boolean)
,MdAefPackage.getNumberValueControlViewModel_ShowTrailingZeroes()
-
setShowTrailingZeroes
void setShowTrailingZeroes(boolean value)
Sets the value of the 'Show Trailing Zeroes
' attribute.- Parameters:
value
- the new value of the 'Show Trailing Zeroes' attribute.- See Also:
isShowTrailingZeroes()
-
-