Top   Module   Use   Manual   Index 
 INCLUDED SERVICES | EXPORTED INTERFACES | PROPERTIES' SUMMARY | PROPERTIES' DETAILS 

com :: sun :: star :: awt ::

service UnoControl

Description
specifies an abstract control.

All components which implement this service can be integrated in a windowing environment. This service describes the controller of the Smalltalk model view controller design.

You must set a model and a stub to the UnoControl before using other methods. The implementation only allows the change of the graphics ( XView ) if the window is not visible. The change of the graphics in visible state should redirect the output to these graphics, but this behavior is implementation-specific.

The change of data directly at the control may not affect the model data. To ensure this behavior, modify the data of the model.



Exported Interfaces

com::sun::star::lang::XComponent
Description
The control must implement these interfaces.
com::sun::star::awt::XControl
Description
Implementations of this interface are abstract windows. The main reason to instanciate this implementation is to show it on a screen. A control has a context. Set the context with the "set context" method.
Before the window appears on a screen, the createPeer(...) must be called.
If the implementation of the control does not distinguish between model, view or controller, then it must allow you to set a new XGraphics in the view so you can print the control.
com::sun::star::awt::XWindow
Description
specifies the basic operations for a window component.
com::sun::star::awt::XView
Description
makes it possible to attach an oputput device to the object.

Top of Page