extends the XController interface More...
import "XController2.idl";
Public Types | |
| typedef sequence< ::com::sun::star::beans::PropertyValue > | CreationArguments |
| denotes the arguments used to create the instance. | |
Public Member Functions | |
| ::com::sun::star::ui::XSidebarProvider | getSidebar () |
| get the sidebar if exists | |
Public Member Functions inherited from XController | |
| void | attachFrame ([in] XFrame Frame) |
| is called to attach the controller with its managing frame. | |
| boolean | attachModel ([in] XModel Model) |
| is called to attach the controller to a new model. | |
| boolean | suspend ([in] boolean Suspend) |
| is called to prepare the controller for closing the view | |
| any | getViewData () |
| provides access to current view status | |
| void | restoreViewData ([in] any Data) |
| restores the view status using the data gotten from a previous call to XController::getViewData(). | |
| XModel | getModel () |
| provides access to currently attached model | |
| XFrame | getFrame () |
| provides access to owner frame of this controller | |
Public Member Functions inherited from XComponent | |
| void | dispose () |
| The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. | |
| void | addEventListener ([in] XEventListener xListener) |
| adds an event listener to the object. | |
| void | removeEventListener ([in] XEventListener aListener) |
| removes an event listener from the listener list. | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
Public Attributes | |
| ::com::sun::star::awt::XWindow | ComponentWindow |
| denotes the "root window" of the controller. | |
| string | ViewControllerName |
| specifies the view name of the controller. | |
extends the XController interface
|
attributereadonly |
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.
| ::com::sun::star::ui::XSidebarProvider getSidebar | ( | ) |
get the sidebar if exists
|
attributereadonly |
denotes the "root window" of the controller.
If the controller is plugged into a frame, this window acts as the frame's ComponentWindow.
|
attributereadonly |
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()