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