:: com :: sun :: star :: ui :: dialogs ::

interface XControlAccess
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-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 decription of the implementing service.

See also
FilePicker
See also
FilePicker
Since version
OpenOffice.org 1.1

Methods' Summary
setControlProperty Change a control property.
getControlProperty Query for a control property.
Methods' Details
setControlProperty
void
setControlProperty(
 
[in] string
[in] string
[in] any 

raises(

 
aControlName,
aControlProperty,
aValue ) 
::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
[in] string 

raises(

 
aControlName,
aControlProperty ) 
::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