With this interface, components viewed in a Frame can serve events (by supplying dispatches).
More...
import"XController.idl";
◆ attachFrame()
| void attachFrame |
( |
[in] XFrame |
Frame | ) |
|
is called to attach the controller with its managing frame.
- Parameters
-
| Frame | the new owner frame of this controller |
◆ attachModel()
| boolean attachModel |
( |
[in] XModel |
Model | ) |
|
is called to attach the controller to a new model.
- Parameters
-
| Model | the new model for this controller |
- Returns
TRUEif attach was successfully
FALSEotherwise
◆ getFrame()
provides access to owner frame of this controller
- Returns
- the frame containing this controller.
◆ getModel()
provides access to currently attached model
- Returns
- the currently attached model.
◆ getViewData()
provides access to current view status
- Returns
- set of data that can be used to restore the current view status at later time by using XController::restoreViewData()
◆ restoreViewData()
| void restoreViewData |
( |
[in] any |
Data | ) |
|
restores the view status using the data gotten from a previous call to XController::getViewData().
- Parameters
-
| Data | set of data to restore it |
◆ suspend()
| boolean suspend |
( |
[in] boolean |
Suspend | ) |
|
is called to prepare the controller for closing the view
- Parameters
-
| Suspend | TRUEforce the controller to suspend his work FALSEtry to reactivate the controller |
- Returns
TRUEif request was accepted and of course successfully finished
FALSEotherwise
The documentation for this interface was generated from the following file: