public class IlpSlotSizesBinding extends IlpAbstractAttributeBinding
IlpSlotSizes and SDM slotWidth or slotHeight model
 property of type Integer.| Modifier and Type | Class and Description | 
|---|---|
| static class  | IlpSlotSizesBinding.PropertyNameEnumerator defining the two SDM model properties that can be bound. | 
IlpAbstractAttributeBinding.ConversionFailedException, IlpAbstractAttributeBinding.PropertyAlreadySetException, IlpAbstractAttributeBinding.Type_attributeName, _attributeType, _bindingContext, _propertyName, _propertyType, _type| Constructor and Description | 
|---|
| IlpSlotSizesBinding(IlpSlotSizesBinding.PropertyName propName)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Integer | convertPositionToX(IlpSlotSizes posValue)Converts the  IlpSlotSizesposition into thexcomponent of ax,yposition. | 
| protected Integer | convertPositionToY(IlpSlotSizes posValue)Converts the  IlpSlotSizesposition into theycomponent of ax,yposition. | 
| Object | convertToAttribute(Object newPropVal)Converts a value from the SDM model property target type to the 
 TGO attribute source type. | 
| Object | convertToProperty(Object newAttrVal)Converts a value from the TGO attribute source type to the 
 SDM model property target type. | 
| protected IlpSlotSizes | convertXToPosition(Integer value)Converts the  xcomponent of the slot into anIlpSlotSizesusing the current settings to
 complete the position value. | 
| protected IlpSlotSizes | convertYToPosition(Integer value)Converts the  ycomponent of the slot into anIlpSlotSizesusing the current settings to
 complete the position value. | 
equals, getAttributeName, getAttributeType, getBindingContext, getPropertyName, getPropertyType, getType, setAttributeName, setAttributeType, setBindingContext, setPropertyName, setPropertyType, setType, validatepublic IlpSlotSizesBinding(IlpSlotSizesBinding.PropertyName propName)
propName - Whether the width (x) or y (y) 
                  SDM model property is boundprotected Integer convertPositionToX(IlpSlotSizes posValue)
IlpSlotSizes position into the
 x component of a x,y position.posValue - The IlpSlotSizes positionx componentprotected Integer convertPositionToY(IlpSlotSizes posValue)
IlpSlotSizes position into the
 y component of a x,y position.posValue - The IlpSlotSizes positiony componentprotected IlpSlotSizes convertXToPosition(Integer value)
x component of the slot into an
 IlpSlotSizes using the current settings to
 complete the position value.value - The x component of a x,y positionIlpSlotSizes positionprotected IlpSlotSizes convertYToPosition(Integer value)
y component of the slot into an
 IlpSlotSizes using the current settings to
 complete the position value.value - The y component of a x,y positionIlpSlotSizes positionpublic Object convertToAttribute(Object newPropVal)
IlpAbstractAttributeBindingConverts a value from the SDM model property target type to the TGO attribute source type.
It can throw RuntimeException if the conversion fails.
convertToAttribute in class IlpAbstractAttributeBindingnewPropVal - The target valuepublic Object convertToProperty(Object newAttrVal)
IlpAbstractAttributeBindingConverts a value from the TGO attribute source type to the SDM model property target type.
It can throw RuntimeException if the conversion fails.
convertToProperty in class IlpAbstractAttributeBindingnewAttrVal - The TGO attribute value© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.