interface XFormController in module com::sun::star::form::

(Global Index)

Syntax

interface XFormController : com::sun::star::awt::XTabController ;

Description

provides functionality to control the activation of forms.

It should represent all controls which belong to a form.

Method Summary

getCurrentControl access to the current control may be< />.

addActivateListener adds the specified listener to receive events "formActivated" and "formDeactivated."

removeActivateListener removes the specified listener so it does not receive any events from the form controller.

Known Services Which Export this Interface

com::sun::star::form::FormController

Method Details



getCurrentControl

Syntax

com::sun::star::awt::XControl getCurrentControl ();

Description

access to the current control may be< />.

Returns

the current control or< />.

addActivateListener

Syntax

oneway void addActivateListener (
com::sun::star::form::XFormControllerListener l );

Description

adds the specified listener to receive events "formActivated" and "formDeactivated."

Parameter l

the listener to add.

See also

XFormControllerListener

removeActivateListener

Syntax

oneway void removeActivateListener (
com::sun::star::form::XFormControllerListener l );

Description

removes the specified listener so it does not receive any events from the form controller.

Parameter l

the listener to remove.

See also

XFormControllerListener
Top of Page