org.xnap.commons.gui.completion
Class NoCompletionMode
java.lang.Object
org.xnap.commons.gui.completion.NoCompletionMode
- All Implemented Interfaces:
- CompletionMode
public class NoCompletionMode
- extends Object
- implements CompletionMode
A null completion mode that provides no completion whatsoever.
- Author:
- Felix Berger
Method Summary |
void |
disable()
Disables the completion mode letting it remove its listeners from the
text component. |
void |
enable(Completion completion)
Enables the completion mode letting it add its listeners to the text
component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoCompletionMode
public NoCompletionMode()
enable
public void enable(Completion completion)
- Description copied from interface:
CompletionMode
- Enables the completion mode letting it add its listeners to the text
component.
- Specified by:
enable
in interface CompletionMode
- Parameters:
completion
- provides all components and information the completion
mode must know about
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
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.