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

interface XResetListener
Base Interfaces
XResetListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Description
is the interface for receiving notificaions about reset events.

The listener is called if a component implementing the XReset interface performs a reset.
Order of events:

  • a reset is triggered on a component
  • the component calls XReset::approveReset on all its listeners
  • if all listeners approve the reset operation, the data is reset
  • the component calls XReset::resetted on all its listeners

See also
XReset

Methods' Summary
approveReset is invoked before a component is reset.  
resetted is invoked when a component has been reset.  
Methods' Details
approveReset
boolean
approveReset( [in] ::com::sun::star::lang::EventObject  rEvent );

Description
is invoked before a component is reset.
Parameter rEvent
the event happend.
Returns
true when reset was approved, false when the reset operation should be cancelled.
resetted
[oneway] void
resetted( [in] ::com::sun::star::lang::EventObject  rEvent );

Description
is invoked when a component has been reset.
Parameter rEvent
the event happend.
Top of Page