Overview | Module | Use | Devguide | Index

Constants | Constants' Details

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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.