public class IlpPointPositionBinding extends IlpAbstractPositionBinding<IlpPoint>
IlpPoint and SDM x or y model
property of type Double.IlpAbstractPositionBinding.PropertyNameIlpAbstractAttributeBinding.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, convertToPropertyequals, getAttributeName, getAttributeType, getBindingContext, getPropertyName, getPropertyType, getType, setAttributeName, setAttributeType, setBindingContext, setPropertyName, setPropertyType, setType, validatepublic IlpPointPositionBinding(IlpAbstractPositionBinding.PropertyName propName)
propName - Whether the x or y SDM model property is
boundprotected Double convertPositionToX(IlpPoint posValue)
IlpAbstractPositionBindingconvertPositionToX in class IlpAbstractPositionBinding<IlpPoint>posValue - The TGO position attributeprotected Double convertPositionToY(IlpPoint posValue)
IlpAbstractPositionBindingconvertPositionToY in class IlpAbstractPositionBinding<IlpPoint>posValue - The TGO position attributeprotected IlpPoint convertXToPosition(Double value)
IlpAbstractPositionBindingconvertXToPosition in class IlpAbstractPositionBinding<IlpPoint>value - The SDM model property xprotected IlpPoint convertYToPosition(Double value)
IlpAbstractPositionBindingconvertYToPosition in class IlpAbstractPositionBinding<IlpPoint>value - The SDM model property y© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.