KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejen > EjenListener


1 //
2
// Ejen (code generation system)
3
// Copyright (C) 2001, 2002 François Wolff (ejen@noos.fr).
4
//
5
// This file is part of Ejen.
6
//
7
// Ejen is free software; you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License as published by
9
// the Free Software Foundation; either version 2 of the License, or
10
// (at your option) any later version.
11
//
12
// Ejen is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
// GNU General Public License for more details.
16
//
17
// You should have received a copy of the GNU General Public License
18
// along with Ejen; if not, write to the Free Software
19
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
//
21
package org.ejen;
22
23 import java.util.EventListener JavaDoc;
24
25 /**
26  * Ejen listener class.
27  * @author F. Wolff
28  * @version 1.0
29  * @see org.ejen.EjenEvent
30  */

31 public interface EjenListener extends EventListener JavaDoc {
32
33     /**
34      * Invoked when an EjenChildNode state has changed. See
35      * {@link org.ejen.EjenChildNode#sendStateEvent()}.
36      */

37     public void stateChanged(EjenEvent ejenEvent);
38
39     /**
40      * Invoked when an EjenChildNode sends a message. See
41      * {@link org.ejen.EjenChildNode#sendMessageEvent(String msg)}.
42      */

43     public void nodeMessageSent(EjenEvent ejenEvent);
44
45     /**
46      * Invoked when an XSL stylesheet sends a message. See
47      * {@link org.ejen.ext.Messenger#send(XSLProcessorContext context, ElemExtensionCall elem)}.
48      */

49     public void xslMessageSent(EjenEvent ejenEvent);
50 }
51
Popular Tags