Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

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).
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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.