Methods' Details |
createPropertyControl
- Description
- creates a XPropertyControl
A XPropertyControlFactory can create any of the control types denoted by
the PropertyControlType constants.
- Parameter ControlType
- the type of the requested control
- Parameter CreateReadOnly
- determines whether the newly created control should be readonly.
If this argument is true, this does not necessarily mean that the property cannot be
changed at all in the ObjectInspector. Instead, an XPropertyHandler
can still decide that there is a dedicated UI for entering the property value,
which is usually triggered by a LineDescriptor::PrimaryButton.
Note that this parameter might be ignored if the XObjectInspectorModel::IsReadOnly
attribute is true, in which case all created property controls must be readonly.
- Returns
- a control of the given type.
- Throws
- com::sun::star::lang::IllegalArgumentException
if the given ControlType is not a value PropertyControlType
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.