001 package de.mospace.swing.event;
002
003 /* de.mospace.swing library
004 * Copyright (C) 2005 Moritz Ringler
005 * $Id: MessageListener.java 12 2007-07-27 09:48:53Z ringler $
006 *
007 * This program is free software; you can redistribute it and/or
008 * modify it under the terms of the GNU General Public License
009 * as published by the Free Software Foundation; either version 2
010 * of the License, or (at your option) any later version.
011 *
012 * This program is distributed in the hope that it will be useful,
013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
015 * GNU General Public License for more details.
016 *
017 * You should have received a copy of the GNU General Public License
018 * along with this program; if not, write to the Free Software
019 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
020 */
021
022 import java.util.EventListener;
023
024 /** A listener for {@link MessageEvent MessageEvents}.
025 * @see de.mospace.swing.event.MessageEvent
026 *
027 * @version $Revision: 12 $ ($Date: 2007-07-27 11:48:53 +0200 (Fr, 27 Jul 2007) $)
028 * @author Moritz Ringler
029 **/
030 public interface MessageListener extends EventListener{
031
032 /** Performs some action when a MessageEvent occurred.
033 * @param e a MessageEvent
034 */
035 public void messageSent(MessageEvent e);
036 }