01 /*
02 * StatusListener.java
03 *
04 * Copyright (c) 1995-2010, The University of Sheffield. See the file
05 * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
06 *
07 * This file is part of GATE (see http://gate.ac.uk/), and is free
08 * software, licenced under the GNU Library General Public License,
09 * Version 2, June 1991 (in the distribution as file licence.html,
10 * and also available at http://gate.ac.uk/gate/licence.html).
11 *
12 * Valentin Tablan, 03/07/2000
13 *
14 * $Id: StatusListener.java 12006 2009-12-01 17:24:28Z thomas_heitz $
15 */
16
17 package gate.event;
18
19 import java.util.EventListener;
20
21 /**
22 * This interface describes a listener that is interested in status events.
23 * This type of listener is intended to be used by components similar to a
24 * status bar which can display messages coming from more components.
25 *
26 */
27 public interface StatusListener extends EventListener{
28
29 /**
30 * Calleed when there a new status message.
31 *
32 * @param text
33 */
34 public void statusChanged(String text);
35
36 } // interface StatusListener
|