org.xnap.commons.gui.completion
Class DropDownListCompletionMode
java.lang.Object
org.xnap.commons.gui.completion.AbstractCompletionMode
org.xnap.commons.gui.completion.DropDownListCompletionMode
- All Implemented Interfaces:
- CompletionMode
public class DropDownListCompletionMode
- extends AbstractCompletionMode
Uses a CompletionPopup
to present
its completions to the user.
- Author:
- Felix Berger
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. |
protected void |
showPopup()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
popup
protected CompletionPopup popup
listener
protected DocumentListener listener
DropDownListCompletionMode
public DropDownListCompletionMode()
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
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
showPopup
protected void showPopup()
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.