(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos 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.