interface XModel in module com::sun::star::frame:: |
interface XModel : com::sun::star::lang::XComponent ;
represents a component which is created from an URL and arguments.
It is a representation of a resource in the sense that it was created/loaded from the resource. The arguments are passed to the loader to modify its behavior. An example for such an argument is "AsTemplate", which loads the resource as a template for a new document.
Models can be controlled by controller components, which are usually views of the model.
If there is at least one controller, there is by definition a current controller. And if that controller supports the interface XSelectionSupplier , it has a current selection too.
Method Summary |
|
| attachResource | informs a model about its resource description. |
| getURL | |
| getArgs | |
| connectController | is called whenever a new controller is created for this model. |
| disconnectController | is called whenever a new controller is created for this model. |
| lockControllers | suspends some notifications to the controllers which are used for display updates. |
| unlockControllers | resumes the notifications which were suspended by . |
| hasControllersLocked | determines if there is at least one lock remaining. |
| getCurrentController | |
| setCurrentController | sets a registered controller as the current controller. |
| getCurrentSelection | |
Known Services Which Export this Interface |
Method Details |
||||||||||||
|
||||||||||||
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.