Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: ui :: dialogs ::
interface XControlAccess
Description Generic control access interface. Use this interface to access user interface controls supported by the implementing service. The supported controls, control properties and the appropriate values are documented in the description of the implementing service. Since OOo 1.1.2 See also FilePicker, FilePicker

Methods' Summary
setControlProperty | Change a control property.
getControlProperty | Query for a control property.

Methods' Details
setControlProperty
void
setControlProperty( | [in] string | aControlName,
| [in] string | aControlProperty,
| [in] any | aValue )
raises( | ::com::sun::star::lang::IllegalArgumentException );
Description Change a control property. Parameter aControlName The name of the control. Common control names are for instance "OkButton" or "CancelButton". Parameter aControlProperty The control property to manipulate. Common control properties are for instance "Label" or "State". Parameter aValue A value appropriated for the property. Throws com::sun::star::lang::IllegalArgumentException when the control is not supported, the control property is invalid or the value fits not the control action.
getControlProperty
any
getControlProperty( | [in] string | aControlName,
| [in] string | aControlProperty )
raises( | ::com::sun::star::lang::IllegalArgumentException );
Description Query for a control property. Parameter aControlName The name of the control. Common control names are for instance "OkButton" or "CancelButton". Parameter aControlProperty The requested control property. Common control properties are for instance "Label" or "State". Returns the requested value. Throws com::sun::star::lang::IllegalArgumentException when the control is not supported or the control property is invalid.

Top of Page

Copyright © 2000, 2013 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.