Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.