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

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

XController
(referenced interface's summary:)

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 parameterizing the to-be-created instance. Those arguments used at creation time can subsequently be retrieved using the CreationArguments member.

Top of Page