diff -r 000000000000 -r 522a326673b6 sysmodelmgr/com.symbian.smt.gui/src/com/symbian/smt/gui/smtwidgets/ValidModelDefinedListener.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysmodelmgr/com.symbian.smt.gui/src/com/symbian/smt/gui/smtwidgets/ValidModelDefinedListener.java Thu Mar 11 19:08:43 2010 +0200 @@ -0,0 +1,34 @@ +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// ${file_name} +// +// + +package com.symbian.smt.gui.smtwidgets; + +public interface ValidModelDefinedListener { + + /** + * This is the call back method invoked by a ValidObservable object on all + * ValidModelDefinedListener objects registered with it to inform the + * listeners of the outcome of validation of a given field in a widget. The + * listeners are then responsible to set their state accordingly. + * + * @param event + * the ValidModelEvent that has been created by the + * ValidObservable object and that contains all of the necessary + * validation related information. + */ + void validModelDefined(ValidModelEvent event); +}