Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: beans ::

constants group PropertyAttribute
Description
These values are used to specify the behavior of a Property.

Constants
MAYBEVOID indicates that a property value can be void.  
BOUND indicates that a PropertyChangeEvent will be fired to all registered XPropertyChangeListeners whenever the value of this property changes.  
CONSTRAINED indicates that a PropertyChangeEvent will be fired to all registered XVetoableChangeListeners whenever the value of this property changes.  
TRANSIENT indicates that the value of the property is not persistent.  
READONLY indicates that the value of the property is read-only.  
MAYBEAMBIGUOUS indicates that the value of the property can be ambiguous.  
MAYBEDEFAULT indicates that the property can be set to default.  
REMOVEABLE indicates that the property can be removed (i.e., by calling XPropertyContainer::removeProperty).  
REMOVABLE [ DEPRECATED ]
 
OPTIONAL indicates that a property is optional.  
Constants' Details
MAYBEVOID
const short MAYBEVOID = 1;
Description
indicates that a property value can be void.

It does not mean that the type of the property is void!

BOUND
const short BOUND = 2;
Description
indicates that a PropertyChangeEvent will be fired to all registered XPropertyChangeListeners whenever the value of this property changes.
CONSTRAINED
const short CONSTRAINED = 4;
Description
indicates that a PropertyChangeEvent will be fired to all registered XVetoableChangeListeners whenever the value of this property changes.

This always implies that the property is bound, too.

TRANSIENT
const short TRANSIENT = 8;
Description
indicates that the value of the property is not persistent.
READONLY
const short READONLY = 16;
Description
indicates that the value of the property is read-only.
MAYBEAMBIGUOUS
const short MAYBEAMBIGUOUS = 32;
Description
indicates that the value of the property can be ambiguous.
MAYBEDEFAULT
const short MAYBEDEFAULT = 64;
Description
indicates that the property can be set to default.
REMOVEABLE
const short REMOVEABLE = 128;
Description
indicates that the property can be removed (i.e., by calling XPropertyContainer::removeProperty).
REMOVABLE
const short REMOVABLE = 128;
Usage Restrictions
deprecated
Deprecation Info
same as PropertyAttribute::REMOVEABLE.
OPTIONAL
const short OPTIONAL = 256;
Description
indicates that a property is optional.

This attribute is not of interest for concrete property implementations. It's needed for property specifications inside service specifications in UNOIDL.

Since
OOo 1.1.2
See also
::com::sun::star::reflection::XPropertyTypeDescription, ::com::sun::star::reflection::XServiceTypeDescription
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.