public class IlpPointPositionBinding extends IlpAbstractPositionBinding<IlpPoint>
IlpPoint
and SDM x or y model
property of type Double
.IlpAbstractPositionBinding.PropertyName
IlpAbstractAttributeBinding.ConversionFailedException, IlpAbstractAttributeBinding.PropertyAlreadySetException, IlpAbstractAttributeBinding.Type
_attributeName, _attributeType, _bindingContext, _propertyName, _propertyType, _type
Constructor and Description |
---|
IlpPointPositionBinding(IlpAbstractPositionBinding.PropertyName propName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Double |
convertPositionToX(IlpPoint posValue)
This method implements the conversion from the TGO position
attribute to the SDM x model property.
|
protected Double |
convertPositionToY(IlpPoint posValue)
This method implements the conversion from the TGO position
attribute to the SDM y model property.
|
protected IlpPoint |
convertXToPosition(Double value)
This method implements the conversion from the x SDM model
property to the TGO position attribute.
|
protected IlpPoint |
convertYToPosition(Double value)
This method implements the conversion from the y SDM model
property to the TGO position attribute.
|
convertToAttribute, convertToProperty
equals, getAttributeName, getAttributeType, getBindingContext, getPropertyName, getPropertyType, getType, setAttributeName, setAttributeType, setBindingContext, setPropertyName, setPropertyType, setType, validate
public IlpPointPositionBinding(IlpAbstractPositionBinding.PropertyName propName)
propName
- Whether the x or y SDM model property is
boundprotected Double convertPositionToX(IlpPoint posValue)
IlpAbstractPositionBinding
convertPositionToX
in class IlpAbstractPositionBinding<IlpPoint>
posValue
- The TGO position attributeprotected Double convertPositionToY(IlpPoint posValue)
IlpAbstractPositionBinding
convertPositionToY
in class IlpAbstractPositionBinding<IlpPoint>
posValue
- The TGO position attributeprotected IlpPoint convertXToPosition(Double value)
IlpAbstractPositionBinding
convertXToPosition
in class IlpAbstractPositionBinding<IlpPoint>
value
- The SDM model property xprotected IlpPoint convertYToPosition(Double value)
IlpAbstractPositionBinding
convertYToPosition
in class IlpAbstractPositionBinding<IlpPoint>
value
- The SDM model property y© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.