LibreOffice LibreOffice 25.2 SDK API Reference

XValidatableFormComponent.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module form { module validation {
22
23 interface XFormComponentValidityListener;
24
25
49 interface XValidatableFormComponent : XValidatable
50{
61 boolean isValid();
62
75 any getCurrentValue();
76
85 void addFormComponentValidityListener( [in] XFormComponentValidityListener Listener )
86 raises( com::sun::star::lang::NullPointerException );
87
93 void removeFormComponentValidityListener( [in] XFormComponentValidityListener Listener )
94 raises( com::sun::star::lang::NullPointerException );
95};
96
97
98}; }; }; }; };
99
100/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::NullPointerException
This exception is thrown when an application attempts to use NULL in a case where an object is requir...
Definition: NullPointerException.idl:33
com::sun::star::form::validation::XFormComponentValidityListener
is the listener interface to be notified of changes of a XValidatableFormComponent
Definition: XFormComponentValidityListener.idl:27
com::sun::star::form::validation::XValidatableFormComponent
is a convenience interface for accessing several aspects of a form component which supports validatio...
Definition: XValidatableFormComponent.idl:50
com::sun::star::form::validation::XValidatableFormComponent::getCurrentValue
any getCurrentValue()
retrieves the current value of the component.
com::sun::star::form::validation::XValidatableFormComponent::addFormComponentValidityListener
void addFormComponentValidityListener([in] XFormComponentValidityListener Listener)
registers the given listener.
com::sun::star::form::validation::XValidatableFormComponent::isValid
boolean isValid()
determines whether the current value of the component passed the validity test at the validator.
com::sun::star::form::validation::XValidatableFormComponent::removeFormComponentValidityListener
void removeFormComponentValidityListener([in] XFormComponentValidityListener Listener)
registers the given listener.
com::sun::star::form::validation::XValidatable
specifies support for validating a component
Definition: XValidatable.idl:31
com
Definition: Ambiguous.idl:20