(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.