org.xnap.commons.gui.completion
Class ManualCompletionMode

java.lang.Object
  extended by org.xnap.commons.gui.completion.AbstractCompletionMode
      extended by org.xnap.commons.gui.completion.ManualCompletionMode
All Implemented Interfaces:
CompletionMode

public class ManualCompletionMode
extends AbstractCompletionMode

This mode provides manual completion similar to the one offered by KDE. Completion has to be triggered manually using a shortcut which can be configured in the ShortcutManager framework.

Author:
Felix Berger

Constructor Summary
ManualCompletionMode()
           
 
Method Summary
 void disable()
          Disables the completion mode letting it remove its listeners from the text component.
protected  void enable()
          Has to be implemented by subclasses which don't have to worry about setting the completion object and simply use the accessors provided here.
 
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

ManualCompletionMode

public ManualCompletionMode()
Method Detail

disable

public void disable()
Description copied from interface: CompletionMode
Disables the completion mode letting it remove its listeners from the text component.

Specified by:
disable in interface CompletionMode
Specified by:
disable in class AbstractCompletionMode

enable

protected void enable()
Description copied from class: AbstractCompletionMode
Has to be implemented by subclasses which don't have to worry about setting the completion object and simply use the accessors provided here.

Specified by:
enable in class AbstractCompletionMode


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