001/* ----------------------------------------------------------------------------
002   The Kiwi Toolkit - A Java Class Library
003   Copyright (C) 1998-2004 Mark A. Lindner
004
005   This library is free software; you can redistribute it and/or
006   modify it under the terms of the GNU General Public License as
007   published by the Free Software Foundation; either version 2 of the
008   License, or (at your option) any later version.
009
010   This library is distributed in the hope that it will be useful,
011   but WITHOUT ANY WARRANTY; without even the implied warranty of
012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013   General Public License for more details.
014
015   You should have received a copy of the GNU General Public License
016   along with this library; if not, write to the Free Software
017   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
018   02111-1307, USA.
019 
020   The author may be contacted at: mark_a_lindner@yahoo.com
021   ----------------------------------------------------------------------------
022   $Log: KListModelListener.java,v $
023   Revision 1.1  2004/05/13 21:44:19  markl
024   new classes
025
026   ----------------------------------------------------------------------------
027*/
028
029package kiwi.event;
030
031import java.util.*;
032
033/** Event listener interface for <code>KListModelEvent</code>s.
034  *
035  * @author Mark Lindner
036  * @since Kiwi 2.0
037  */
038
039public interface KListModelListener extends EventListener
040  {
041
042  /** Invoked after items are inserted into the list. */
043
044  public void itemsAdded(KListModelEvent evt);
045
046  /** Invoked after items are removed from the list. */
047
048  public void itemsRemoved(KListModelEvent evt);
049
050  /** Invoked after items in the list are changed in some way. */
051
052  public void itemsChanged(KListModelEvent evt);
053
054  /** Invoked after the model undergoes a substantial change. */
055
056  public void dataChanged(KListModelEvent evt);
057  }
058
059/* end of source file */