svn-gvsig-desktop / trunk / libraries / libUIComponent / src / org / gvsig / gui / beans / editabletextcomponent / event / UndoRedoEditListener.java @ 18795
History | View | Annotate | Download (1.98 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*/
|
19 |
|
20 |
package org.gvsig.gui.beans.editabletextcomponent.event; |
21 |
|
22 |
import java.util.EventListener; |
23 |
|
24 |
/**
|
25 |
* <p>The listener interface for receiving events from undo or redo operations on a text edition.</p>
|
26 |
*
|
27 |
* <p>The listener object created from that class is then registered with a
|
28 |
* component using the component's <code>addUndoRedoEditListener</code>
|
29 |
* method. An event of this kind of operations is generated when an <code>EditableTextDecorator</code>
|
30 |
* executes an <code>undo</code> or <code>redo</code> operation. The relevant method in the listener
|
31 |
* object is then invoked, and the <code>UndoRedoEditEvent</code> is passed to it.</p>
|
32 |
*
|
33 |
* @see UndoRedoEditEvent
|
34 |
*
|
35 |
* @version 12/02/2008
|
36 |
* @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
|
37 |
*/
|
38 |
public interface UndoRedoEditListener extends EventListener { |
39 |
/**
|
40 |
* Invoked when an <i>undo</i> or <i>redo</i> operation has been executed.
|
41 |
* See the class description for {@link UndoRedoEditEvent UndoRedoEditEvent} for a notification of
|
42 |
* an <i>undo</i> or <i>redo</i> operation executed on an editable text component.
|
43 |
*/
|
44 |
public void operationExecuted(UndoRedoEditEvent e); |
45 |
} |