:: com :: sun :: star :: form :: binding ::

service BindableIntegerValueRange

Included Services - Summary
BindableControlModel

specifies that the control can be bound to external values (details)

Included Services - Details
BindableControlModel
Description
specifies that the control can be bound to external values

Any binding used with the control model (see XBindableValue::setValueBinding()) must support exchanging double values.

When the (integer) value reflected by the control model is changed, it's converted into a double value and propagated to the binding.

When the external (double) value changes, it's converted as follows to an integer value:

  • If the external value is `NULL`, the current value of the control model will be set to its minimum.
  • If the external value is the infinite value, the control value will be set to its maximum or minimum, depending on the sign of the external value.
  • If none of the aforementioned conditions is met, the external value will be simply rounded.

 
Top of Page