- Usage Restrictions
- not published
- Description
- This service specifies a check box which is data-aware and thus can be bound to a
database field, and additionally supports binding to arbitrary external values.
The XValueBinding instance which
can be associated with a BindableDatabaseCheckBox must support exchanging
boolean values. The following mapping between external values and control states apply:
- true will be mapped to the box being checked, and vice versa
- false will be mapped to it being unchecked, and vice versa
- NULL will be mapped to it being in indetermined state, if the box currently supports
this, or being unchecked else. The indetermined of the check box will always be
mapped to NULL when writing the external value.
If the value binding associated with a BindableDatabaseCheckBox
supports exchanging string values, and the ::com::sun::star::form::component::CheckBox::RefValue
is not empty, then the radio button will exchange it's value as string:
- A string equal to the reference value will be mapped to the button being checked, and vice versa
- A string not equal to the reference value will be mapped to the button being unchecked, and vice versa
- NULL will be mapped to it being in indetermined state
- See also
- XValueBinding::supportsType, ::com::sun::star::awt::UnoControlCheckBoxModel::State, ::com::sun::star::awt::UnoControlCheckBoxModel::TriState, ::com::sun::star::form::component::CheckBox::RefValue
|