KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > event > SDocumentListener


1 /* $Id $ */
2 /*
3  * $Id: SDocumentListener.java,v 1.3 2004/12/01 07:54:07 hengels Exp $
4  * Copyright 2000,2005 wingS development team.
5  *
6  * This file is part of wingS (http://www.j-wings.org).
7  *
8  * wingS is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2.1
11  * of the License, or (at your option) any later version.
12  *
13  * Please see COPYING for the complete licence.
14  */

15 package org.wings.event;
16
17 import java.util.EventListener JavaDoc;
18
19 /**
20  * @author hengels
21  * @version $Revision: 1.3 $
22  */

23 public interface SDocumentListener extends EventListener JavaDoc {
24     /**
25      * Gives notification that there was an insert into the document. The
26      * range given by the DocumentEvent bounds the freshly inserted region.
27      *
28      * @param e the document event
29      */

30     public void insertUpdate(SDocumentEvent e);
31
32     /**
33      * Gives notification that a portion of the document has been
34      * removed. The range is given in terms of what the view last
35      * saw (that is, before updating sticky positions).
36      *
37      * @param e the document event
38      */

39     public void removeUpdate(SDocumentEvent e);
40
41     /**
42      * Gives notification that an attribute or set of attributes changed.
43      *
44      * @param e the document event
45      */

46     public void changedUpdate(SDocumentEvent e);
47 }
48
Popular Tags