Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

constants group MethodConcept
Description
These constants are used to specify concepts of the introspection which apply to methods.

This list is not necessarily complete; new constants may be added.

See also
Introspection, XIntrospection, XIntrospectionAccess

Constants
ALL This value is used to query for all methods, see XIntrospectionAccess::getMethod() and XIntrospectionAccess::getMethods()  
DANGEROUS specifies methods which can result in an unstable state (i.e. deadlock, application crash, security hole, etc.) when called directly by the user.  
PROPERTY specifies methods which are used to set and get the value of properties/attributes.  
LISTENER specifies methods of the listener concept.  
ENUMERATION specifies methods of the enumeration concept.  
NAMECONTAINER specifies methods of the name container concept.  
INDEXCONTAINER specifies methods of the index container concept.  
Constants' Details
ALL
const long ALL = -1;
Description
This value is used to query for all methods, see XIntrospectionAccess::getMethod() and XIntrospectionAccess::getMethods()
DANGEROUS
const long DANGEROUS = 1;
Description
specifies methods which can result in an unstable state (i.e. deadlock, application crash, security hole, etc.) when called directly by the user.
PROPERTY
const long PROPERTY = 2;
Description
specifies methods which are used to set and get the value of properties/attributes.

These methods have the signature type get...() , void set...() or boolean is...() .

LISTENER
const long LISTENER = 4;
Description
specifies methods of the listener concept.

These methods have the signature add...Listener() or remove...Listener().

ENUMERATION
const long ENUMERATION = 8;
Description
specifies methods of the enumeration concept.

These methods have the signature create...Enumeration and return an interface that is derived from ::com::sun::star::container::XEnumeration Additionally, the method XEnumerationAccess::getElementType belongs to this concept.

NAMECONTAINER
const long NAMECONTAINER = 16;
Description
specifies methods of the name container concept.

These methods have the signature get...ByName(), set...ByName(), replace...ByName(), remove...ByName(), has...ByName(), or get...Names. In addition, the method XEnumerationAccess::getElementType belongs to this concept.

INDEXCONTAINER
const long INDEXCONTAINER = 32;
Description
specifies methods of the index container concept.

These methods have the signature get...ByIndex(), insert...ByIndex(), replace...ByIndex(), or remove...ByIndex(). The method ::com::sun::star::container::XIndexAccess::getCount() also belongs to this concept.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.