interface XController in module com::sun::star::frame::

(Global Index)

Syntax

interface XController : 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

XWindow

Method 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

Known Services Which Export this Interface

com::sun::star::drawing::DrawingDocumentDrawView

com::sun::star::sdb::DataSourceBrowser

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

Method Details



attachFrame

Syntax

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

Description

is called to attach the controller with its managing frame.


attachModel

Syntax

boolean attachModel (
com::sun::star::frame::XModel xModel );

Description

is called to attach the controller to a new model.


suspend

Syntax

boolean suspend (
boolean bSuspend );

Description

is called to prepare the controller for closing the view


getViewData

Syntax

any getViewData ();

Returns

data that can be used to restore the current view status.

restoreViewData

Syntax

void restoreViewData (
any Data );

Description

restores the view status using the data gotten from a previous call to XController::getViewData .


getModel

Syntax

com::sun::star::frame::XModel getModel ();

Returns

the currently attached model.

getFrame

Syntax

com::sun::star::frame::XFrame getFrame ();

Returns

the frame containing this controller.
Top of Page