textmaven.application.swinggui
Class DocListener

java.lang.Object
  extended bytextmaven.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

Constructor Summary
DocListener(IDictionary aDictionary, javax.swing.JList list, Editor editor)
           
 
Method Summary
 void changedUpdate(javax.swing.event.DocumentEvent e)
           
 IDictionary getDictionary()
           
 Editor getEditor()
           
protected  java.lang.String getKey(javax.swing.event.DocumentEvent e)
           
 javax.swing.JList getList()
           
 void insertUpdate(javax.swing.event.DocumentEvent e)
           
 void removeUpdate(javax.swing.event.DocumentEvent e)
           
protected  void textChanged(javax.swing.event.DocumentEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocListener

public DocListener(IDictionary aDictionary,
                   javax.swing.JList list,
                   Editor editor)
Method Detail

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.