LibreOffice
LibreOffice 5.0 SDK API Reference
|
This service specifies a radio button which is data-aware and thus can be bound to a database field, and additionally supports binding to arbitrary external values. More...
import "BindableDatabaseRadioButton.idl";
Included Services | |
service | com::sun::star::form::component::DatabaseRadioButton |
service | com::sun::star::form::binding::BindableDataAwareControlModel |
specifies the interaction between an internal binding to a database column, and an external value binding. More... | |
![]() | |
service | com::sun::star::form::component::RadioButton |
service | com::sun::star::form::DataAwareControlModel |
![]() | |
service | com::sun::star::awt::UnoControlRadioButtonModel |
service | com::sun::star::form::FormControlModel |
![]() | |
service | com::sun::star::awt::UnoControlModel |
![]() | |
service | com::sun::star::awt::UnoControlDialogElement |
This service is present when the control model is embedded in an UnoControlDialogModel. More... | |
![]() | |
service | com::sun::star::awt::UnoControlModel |
service | com::sun::star::form::FormComponent |
![]() | |
service | com::sun::star::form::FormControlModel |
![]() | |
service | com::sun::star::form::DataAwareControlModel |
specifies the functionality for binding the control model to a column of an SQL com::sun::star::form::component::DataForm. More... | |
service | BindableControlModel |
specifies the functionality for alternatively binding the control model to an external value. More... | |
![]() | |
service | com::sun::star::form::FormControlModel |
specifies the basic functionality for a form control model More... | |
Public Attributes | |
string | SecondaryRefValue |
specifies a value which is to be associated with the control when it's not selected. More... | |
Additional Inherited Members | |
![]() | |
interface | com::sun::star::form::XReset |
can be used to reset the control to it's default text. More... | |
![]() | |
interface | com::sun::star::form::XBoundComponent |
makes it possible to transfer the data of the model to the connected data field. More... | |
interface | com::sun::star::form::XLoadListener |
must be implemented in order to recognize when the containing form of the model connects to its data source (loads its data). More... | |
interface | com::sun::star::form::XReset |
Each DataAwareControlModel should be resettable for setting default values. More... | |
![]() | |
interface | XBindableValue |
specifies support for being bound to an external value More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
![]() | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. More... | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. More... | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. More... | |
![]() | |
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
void | setPropertyValue ([in] string aPropertyName,[in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the value of the property with the specified name. More... | |
any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
void | addPropertyChangeListener ([in] string aPropertyName,[in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XPropertyChangeListener to the specified property. More... | |
void | removePropertyChangeListener ([in] string aPropertyName,[in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XPropertyChangeListener from the listener list. More... | |
void | addVetoableChangeListener ([in] string PropertyName,[in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XVetoableChangeListener to the specified property with the name PropertyName. More... | |
void | removeVetoableChangeListener ([in] string PropertyName,[in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XVetoableChangeListener from the listener list. More... | |
![]() | |
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
void | setPropertyValues ([in] sequence< string > aPropertyNames,[in] sequence< any > aValues) raises ( com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the values to the properties with the specified names. More... | |
sequence< any > | getPropertyValues ([in] sequence< string > aPropertyNames) |
void | addPropertiesChangeListener ([in] sequence< string > aPropertyNames,[in] com::sun::star::beans::XPropertiesChangeListener xListener) |
adds an XPropertiesChangeListener to the specified property with the specified names. More... | |
void | removePropertiesChangeListener ([in] com::sun::star::beans::XPropertiesChangeListener xListener) |
removes an XPropertiesChangeListener from the listener list. More... | |
void | firePropertiesChangeEvent ([in] sequence< string > aPropertyNames,[in] com::sun::star::beans::XPropertiesChangeListener xListener) |
fires a sequence of PropertyChangeEvents to the specified listener. More... | |
![]() | |
string | getServiceName () |
gives the service name of the object More... | |
void | write ([in] com::sun::star::io::XObjectOutputStream OutStream) raises ( com::sun::star::io::IOException ) |
writes all the persistent data of the object to the stream. More... | |
void | read ([in] com::sun::star::io::XObjectInputStream InStream) raises ( com::sun::star::io::IOException ) |
reads all the persistent data of the object from the stream. More... | |
![]() | |
com::sun::star::util::XCloneable | createClone () |
creates a copy of the object. More... | |
![]() | |
com::sun::star::uno::XInterface | getParent () |
grants access to the object containing this content. More... | |
void | setParent ([in] com::sun::star::uno::XInterface Parent) raises ( com::sun::star::lang::NoSupportException ) |
sets the parent to this object. More... | |
![]() | |
string | getName () |
void | setName ([in] string aName) |
sets the programmatic name of the object. More... | |
![]() | |
void | reset () |
resets a component to some default value. More... | |
void | addResetListener ([in] com::sun::star::form::XResetListener aListener) |
adds the specified listener to receive events related to resetting the component. More... | |
void | removeResetListener ([in] com::sun::star::form::XResetListener aListener) |
removes the specified listener More... | |
![]() | |
void | loaded ([in] com::sun::star::lang::EventObject aEvent) |
is invoked when the object has successfully connected to a datasource. More... | |
void | unloading ([in] com::sun::star::lang::EventObject aEvent) |
is invoked when the object is about to be unloaded. More... | |
void | unloaded ([in] com::sun::star::lang::EventObject aEvent) |
is invoked after the object has disconnected from a datasource. More... | |
void | reloading ([in] com::sun::star::lang::EventObject aEvent) |
is invoked when the object is about to be reloaded. More... | |
void | reloaded ([in] com::sun::star::lang::EventObject aEvent) |
is invoked when the object has been reloaded. More... | |
![]() | |
void | setValueBinding ([in] XValueBinding aBinding) raises ( IncompatibleTypesException ) |
sets an external instance which controls the value of the component More... | |
XValueBinding | getValueBinding () |
retrieves the external instance which currently controls the value of the component More... | |
![]() | |
void | addProperty ([in] string Name,[in] short Attributes,[in] any DefaultValue) raises ( com::sun::star::beans::PropertyExistException, com::sun::star::beans::IllegalTypeException, com::sun::star::lang::IllegalArgumentException ) |
adds a property to the object. More... | |
void | removeProperty ([in] string Name) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::NotRemoveableException ) |
removes a property from the object. More... | |
![]() | |
sequence < com::sun::star::beans::PropertyValue > | getPropertyValues () |
void | setPropertyValues ([in] sequence< com::sun::star::beans::PropertyValue > aProps) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the values of given properties. More... | |
![]() | |
void | setFastPropertyValue ([in] long nHandle,[in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the value to the property with the specified name. More... | |
any | getFastPropertyValue ([in] long nHandle) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
![]() | |
com::sun::star::beans::PropertyState | getPropertyState ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException ) |
sequence < com::sun::star::beans::PropertyState > | getPropertyStates ([in] sequence< string > aPropertyName) raises ( com::sun::star::beans::UnknownPropertyException ) |
void | setPropertyToDefault ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException ) |
Sets the property to default value. More... | |
any | getPropertyDefault ([in] string aPropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
![]() | |
boolean | commit () |
commits the content of the component into the data source it is bound to. More... | |
![]() | |
long | Height |
specifies the height of the control. More... | |
string | Name |
specifies the name of the control. More... | |
string | PositionX |
specifies the horizontal position of the control. More... | |
string | PositionY |
specifies the vertical position of the control. More... | |
long | Step |
specifies the step of the control. More... | |
short | TabIndex |
specifies the tabindex of the control. More... | |
string | Tag |
specifies the tag of the control. More... | |
long | Width |
specifies the width of the control. More... | |
This service specifies a radio button which is data-aware and thus can be bound to a database field, and additionally supports binding to arbitrary external values.
The com::sun::star::form::binding::XValueBinding instance which can be associated with a BindableDatabaseRadioButton must support exchanging boolean values. The following mapping between external values and control states apply:
TRUE
will be mapped to the button being checked, and vice versa FALSE
will be mapped to it being unchecked, and vice versa NULL
will be mapped to it being in undetermined state If the value binding associated with a BindableDatabaseRadioButton supports exchanging string values, and the com::sun::star::form::component::RadioButton::RefValue is not empty, then the radio button will exchange its value as string:
NULL
will be mapped to it being in undetermined state specifies the interaction between an internal binding to a database column, and an external value binding.
|
property |
specifies a value which is to be associated with the control when it's not selected.
com::sun::star::form::component::RadioButton::RefValue is transferred to possible external value bindings as soon as the radio button is selected. With the member SecondaryRefValue, clients of the radio button can also associate a value with the not selected state of the control.