Difference between revisions of "Documentation/DevGuide/Forms/Models and Views for Form Controls"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Forms)
Line 16: Line 16:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Forms]]
+
 
 +
[[Category:Documentation/Developers Guide/Forms]]

Revision as of 08:31, 4 June 2008



Form controls follow the model-view paradigm. This means if you have a form document that contains a control, there is a model describing the control's behavior and appearance, and a view that is the component the user is sees.

Template:Documentation/Note

The base for the controls and models used in the form layer are found in the module com.sun.star.awt, the com.sun.star.awt.UnoControl and com.sun.star.awt.UnoControlModel services. As discussed later, the model hierarchy in com.sun.star.form.component extends the hierarchy of com.sun.star.awt, whereas the control hierarchy in com.sun.star.form.control is small.

Everything from the model-view interaction for form controls is true for other UNO controls and UNO control models, as well. Another example for components that use the model-view paradigm are the controls and control models in OpenOffice.org Basic dialogs (Dialog Controls).

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools