service UnoControl in module com::sun::star::awt:: |
service UnoControl;
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 |
The control must implement these interfaces.
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.
specifies the basic operations for a window component.
makes it possible to attach an oputput device to the object.
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.