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

(Global Index)

Syntax

interface XResetListener : com::sun::star::lang::XEventListener ;

Description

XResetListener" is the listener interface for receiving "approveReset" and "resetted" events.

The listener is called if a component implementing the XReset interface performs a reset. Before the component performs the reset, "approveReset" is called from the listener. Within "approveReset" you may check conditions to prove if the reset should be executed or not, so you may cancel the action.

The events occur in the following order:

 reset -> "approveReset -> "perform reset" -> "resetted"

See also

XReset

Method Summary

approveReset is invoked before resetting a component.

resetted is invoked when a component is reset.

Method Details



approveReset

Syntax

boolean approveReset (
com::sun::star::lang::EventObject rEvent );

Description

is invoked before resetting a component.

This action may be cancelled.

Parameter rEvent

the event happend.

Returns

true when reset was approved.

resetted

Syntax

oneway void resetted (
com::sun::star::lang::EventObject rEvent );

Description

is invoked when a component is reset.

Parameter rEvent

the event happend.
Top of Page