Revision 19356 trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/editabletextcomponent/EditableTextDecorator.java

View differences:

EditableTextDecorator.java
70 70
 * <p>All options will be about the edition of the text in the component.</p>
71 71
 *  
72 72
 * <p><b><i>How select an edition option using the mouse:</i></b> press the right button of the mouse on the text area, and a popup with the options will be displayed. Select and option.<br>
73
 * <b><i>How select an edition option using the keyboard:</i></b> 
73
 * <b><i>Default fast-access keys:</i></b> 
74 74
 * <ul>
75 75
 *  <li><b>COPY:</b> </li> CTRL + C. Copies from the text field to the clipboard.
76 76
 *  <li><b>CUT:</b> </li> CTRL + X. Cuts from the text field to the clipboad.
......
83 83
 * 
84 84
 * <p>This component by default stores 100 undo/redo actions. This value can be modified.</p>
85 85
 * 
86
 * @version 03/01/2008
86
 * <p>A developer would have to re-implement {@linkplain #defineEditorKeyListener() #defineEditorKeyListener()}, creating
87
 *  a new <code>editorKeyListener</code> for changing any fast-access key.</p>
88
 * 
89
 * @version 27/02/2008
87 90
 * @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
88 91
 */
89 92
public class EditableTextDecorator implements IEditableText {
......
101 104
	// END UNDO-REDO
102 105
	
103 106
	// LISTENERS
104
	private KeyListener editorKeyListener;
107
	protected KeyListener editorKeyListener;
105 108
	private MouseAdapter editorMouseListener;
106 109
	private PropertyChangeListener editionMenuListener;
107 110
	private EventListenerList undoRedoEditListeners;
......
220 223
	/**
221 224
	 * Defines a key listener for the editor of the text component.
222 225
	 */
223
	private void defineEditorKeyListener() {
226
	protected void defineEditorKeyListener() {
224 227
		editorKeyListener = new KeyAdapter() {
225 228
			/*
226 229
			 * (non-Javadoc)

Also available in: Unified diff