Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: form :: validation ::
unpublished | interface XValidatable |
Usage Restrictions not published Description specifies support for validating a component See also XValidator Developers Guide Forms - Validation

Methods' Summary
setValidator | sets an external instance which is able to validate the component
getValidator | retrieves the external instance which is currently used to validate the component

Methods' Details
setValidator
void
setValidator( | [in] XValidator | Validator )
raises( | ::com::sun::star::util::VetoException );
Description sets an external instance which is able to validate the component Any previously active validator will be revoked - there can be only one! Parameter Validator the new validator which is to be used by the component. May be NULL, in this case only the current validator is revoked. Throws ::com::sun::star::util::VetoException if changing the validator is not allowed in the current component state
getValidator
XValidator
getValidator();
Description retrieves the external instance which is currently used to validate the component

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.