textmaven.application.swinggui
Class DocListener
java.lang.Object
textmaven.application.swinggui.DocListener
- All Implemented Interfaces:
- javax.swing.event.DocumentListener, java.util.EventListener
- Direct Known Subclasses:
- DocKeyListener
- public class DocListener
- extends java.lang.Object
- implements javax.swing.event.DocumentListener
- Author:
- krebtho
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocListener
public DocListener(IDictionary aDictionary,
javax.swing.JList list,
Editor editor)
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interface javax.swing.event.DocumentListener
removeUpdate
public final void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interface javax.swing.event.DocumentListener
changedUpdate
public final void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interface javax.swing.event.DocumentListener
getKey
protected final java.lang.String getKey(javax.swing.event.DocumentEvent e)
textChanged
protected void textChanged(javax.swing.event.DocumentEvent e)
getEditor
public Editor getEditor()
- Returns:
- editor instance
getList
public javax.swing.JList getList()
- Returns:
- word list
getDictionary
public IDictionary getDictionary()
- Returns:
- dictionary
Copyright © 2002-2005 Sourceforge. All Rights Reserved.