(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: frame ::

unpublished interface XController2
Base Interfaces
XController2XController
   ┗ ::com::sun::star::lang::XComponent

XController
(referenced interface's summary:)
With this interface, components viewed in a Frame can serve events (by supplying dispatches).
Usage Restrictions
not published
Description
extends the XController interface
Since
OOo 3.0

Attributes' Summary
ComponentWindow denotes the "root window" of the controller.  
ViewControllerName specifies the view name of the controller.  
CreationArguments denotes the arguments used to create the instance.  
Attributes' Details
ComponentWindow
[ readonly ] ::com::sun::star::awt::XWindow ComponentWindow;
Description
denotes the "root window" of the controller.

If the controller is plugged into a frame, this window acts as the frame's ComponentWindow.

See also
XFrame
ViewControllerName
[ readonly ] string ViewControllerName;
Description
specifies the view name of the controller.

A view name is a logical name, which can be used to create views of the same type. The name is meaningful only in conjunction with XModel2::createViewController - if it's passed there, a view/controller pair of the same type will be created.

CreationArguments
[ readonly ] sequence< ::com::sun::star::beans::PropertyValue > CreationArguments;
Description
denotes the arguments used to create the instance.

Usually, controllers are created via XModel2::createViewController, where the caller can pass not only a controller name, but also arguments parametrizing the to-be-created instance. Those arguments used at creation time can subsequently be retrieved using the CreationArguments member.

Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.