Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: form ::
interface XBoundComponent
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XUpdateBroadcaster
          |
          +-XBoundComponent
Description specifies a (form) component which is bound to a data source. The interface provides the possibility of committing its respective data to a data source it is bound to. A commit will be performed by the environment (usually, a FormController ). For example, suppose you have a data-bound control that is connected to a database field. Each time the control loses its focus, the model (component) of the control is triggered by the environment to store its value in the database field. A commit may fail if an XUpdateListener vetoes the it. See also XUpdateListener Developers Guide 13.5.2 Forms - Data Awareness - Data Aware Controls - Committing Controls

Methods' Summary
commit | commits the content of the component into the data source it is bound to.

Methods' Details
commit
boolean commit(); |  |
Description commits the content of the component into the data source it is bound to. Returns true when the commitment was successful, otherwise false .

Top of Page

Copyright © 2003 Sun Microsystems, Inc.