(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.