Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XController

Base Interface
com::sun::star::lang::XComponent

Description
With this interface, components viewed in a Frame can serve events (by supplying dispatches).
See also
XModel
See also
XFrame
See also
com::sun::star::awt::XWindow


Known Services which Export this Interface

com::sun::star::drawing::DrawingDocumentDrawView This view service is implemented by objects that can display DrawPage s or MasterPage s in drawing mode.
com::sun::star::sdb::DataSourceBrowser implements a component which allows browsing the data sources registered on the system.
com::sun::star::frame::Controller is an abstract service for a component which offers a deeper integration of desktop components than a UnoControl can offer.

Methods' Summary

attachFrame is called to attach the controller with its managing frame.
attachModel is called to attach the controller to a new model.
suspend is called to prepare the controller for closing the view
getViewData
restoreViewData restores the view status using the data gotten from a previous call to XController::getViewData .
getModel
getFrame

Methods' Details

attachFrame
 
void
attachFrame(
[ in ] com::sun::star::frame::XFrame xFrame );

Description
is called to attach the controller with its managing frame.
attachModel
 
boolean
attachModel(
[ in ] com::sun::star::frame::XModel xModel );

Description
is called to attach the controller to a new model.
suspend
 
boolean
suspend(
[ in ] boolean bSuspend );

Description
is called to prepare the controller for closing the view
getViewData
 
any
getViewData();
Returns
data that can be used to restore the current view status.
restoreViewData
 
void
restoreViewData(
[ in ] any Data );

Description
restores the view status using the data gotten from a previous call to XController::getViewData .
getModel
 
com::sun::star::frame::XModel
getModel();
Returns
the currently attached model.
getFrame
 
com::sun::star::frame::XFrame
getFrame();
Returns
the frame containing this controller.

Top of Page