Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

unpublished service BindableIntegerValueRange
Usage Restrictions
not published
Description
this service specifies a BindableControlModel which reflects an integer value, out of a range of permitted integer values.

BindableIntegerValueRanges have a value property, a minimum, and a maximum, all of type integer.


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 an 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 it's 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.