org.xnap.commons.gui.completion
Class AutomaticCompletionMode

java.lang.Object
  extended by org.xnap.commons.gui.completion.AbstractCompletionMode
      extended by org.xnap.commons.gui.completion.ShortAutomaticCompletionMode
          extended by org.xnap.commons.gui.completion.AutomaticCompletionMode
All Implemented Interfaces:
CompletionMode
Direct Known Subclasses:
AutomaticDropDownCompletionMode

public class AutomaticCompletionMode
extends ShortAutomaticCompletionMode

This mode provides automatic completion similar to the one provided in KDE. It inserts the first match it finds into the text component after the cursor.

Author:
Felix Berger

Constructor Summary
AutomaticCompletionMode()
           
 
Method Summary
protected  void complete(String prefix)
           
 
Methods inherited from class org.xnap.commons.gui.completion.ShortAutomaticCompletionMode
disable, enable
 
Methods inherited from class org.xnap.commons.gui.completion.AbstractCompletionMode
enable, getCompletion, getModel, getText, getTextComponent, setText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomaticCompletionMode

public AutomaticCompletionMode()
Method Detail

complete

protected void complete(String prefix)
Overrides:
complete in class ShortAutomaticCompletionMode


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.