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

struct PropertyChangeEvent
Base Hierarchy
PropertyChangeEvent
 ┗ ::com::sun::star::lang::EventObject
Description
gets delivered whenever a "bound" or "constrained" property is changed.

A PropertyChangeEvent object is sent as an argument to the methods of XPropertyChangeListener and XVetoableChangeListener.

Normally such events contain the name and the old and new value of the changed property.

Void values may be provided for the old and new values if their true values are not known.


Elements' Summary
PropertyName contains the unique name of the property which changes its value.  
Further contains true if further events in the same transaction occur.  
PropertyHandle contains the implementation handle for the property.  
OldValue contains the old value of the property.  
NewValue contains the new value of the property.  
Elements' Details
PropertyName
string PropertyName;
Description
contains the unique name of the property which changes its value.
Further
boolean Further;
Description
contains true if further events in the same transaction occur.
PropertyHandle
long PropertyHandle;
Description
contains the implementation handle for the property.

May be -1 if the implementation has no handle. You can use this handle to get values from the XFastPropertySet.

OldValue
any OldValue;
Description
contains the old value of the property.
NewValue
any NewValue;
Description
contains the new value of the property.
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.