The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

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

Copyright & License | Privacy | Contact Us | Donate

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