Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: 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 XPropertyChangeListener s whenever the value of this property changes.
CONSTRAINED | indicates that a PropertyChangeEvent will be fired to all registered XVetoableChangeListener s 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 XPropertyChangeListener s whenever the value of this property changes.
CONSTRAINED
const short CONSTRAINED = 4; Description indicates that a PropertyChangeEvent will be fired to all registered XVetoableChangeListener s 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; [ DEPRECATED ] 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. See also ::com::sun::star::reflection::XPropertyTypeDescription See also ::com::sun::star::reflection::XServiceTypeDescription Since version OpenOffice.org 1.1.1

Top of Page

Copyright © 2003 Sun Microsystems, Inc.