Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.