Methods' Details
|
- attachResource
-  
- boolean
attachResource(
-
- Description
- informs a model about its resource description.
|
- getURL
-  
string
getURL();
- Returns
-
the URL of the resource which is represented by this model.
- See also
- XStorable::getLocation
|
- getArgs
-  
sequence< com::sun::star::beans::PropertyValue >
getArgs();
- Returns
-
the arguments with which the model was originally created or
stored the last time.
|
- connectController
-  
- [ oneway ] void
connectController(
-
- Description
- is called whenever a new controller is created for this model.
The XComponent interface of the controller must be used to
recognize when it is deleted.
- See also
- releaseController
|
- disconnectController
-  
- [ oneway ] void
disconnectController(
-
- Description
- is called whenever a new controller is created for this model.
The XComponent interface of the controller must be
used to recognize when it is deleted.
- See also
- registerController
|
- lockControllers
-  
[ oneway ] void
lockControllers();
- Description
- suspends some notifications to the controllers which are used
for display updates.
The calls to
and
may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, some notifications
for display updates are not broadcasted.
|
- unlockControllers
-  
[ oneway ] void
unlockControllers();
- Description
- resumes the notifications which were suspended by
.
The calls to
and
may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, some notifications for
display updates are not broadcasted.
|
- hasControllersLocked
-  
boolean
hasControllersLocked();
- Description
- determines if there is at least one lock remaining.
While there is at least one lock remaining, some notifications
for display updates are not broadcasted to the controllers.
|
- getCurrentController
-  
com::sun::star::frame::XController
getCurrentController();
- Returns
-
the controller which currently controls this model.
If the controller which is active is a controller of this model,
it will be returned. If not, the controller which was the last
active of this model is returned. If no controller of this model
ever was active, the controller first registered is returned. If no
controller is registered for this model, NULL is returned.
|
- setCurrentController
-  
- void
setCurrentController(
-
- raises ( com::sun::star::container::NoSuchElementException );
- Description
- sets a registered controller as the current controller.
|
- getCurrentSelection
-  
com::sun::star::uno::XInterface
getCurrentSelection();
- Returns
-
the current selection in the current controller.
If there is no current controller, it returns NULL.
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.