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

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

interface XResetListener

Base Interface
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


Methods' Summary

approveReset is invoked before resetting a component.
resetted is invoked when a component is reset.

Methods' Details

approveReset
 
boolean
approveReset(
[ in ] 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
 
[ oneway ] void
resetted(
[ in ] com::sun::star::lang::EventObject rEvent );

Description
is invoked when a component is reset.
Parameter rEvent
the event happend.

Top of Page