org.xnap.gui.component
Class AutomaticCompletionMode

java.lang.Object
  extended by org.xnap.gui.component.CompletionMode
      extended by org.xnap.gui.component.ShortAutomaticCompletionMode
          extended by org.xnap.gui.component.AutomaticCompletionMode
Direct Known Subclasses:
AutomaticDropDownCompletionMode

public class AutomaticCompletionMode
extends ShortAutomaticCompletionMode


Constructor Summary
AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent)
           
AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent, boolean wholeText)
           
AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent, CompletionModel model)
           
AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent, CompletionModel model, boolean wholeText)
           
 
Method Summary
protected  void complete(java.lang.String prefix)
           
 java.lang.String getName()
          Returns the name of this completion mode.
 
Methods inherited from class org.xnap.gui.component.ShortAutomaticCompletionMode
disable, enable
 
Methods inherited from class org.xnap.gui.component.CompletionMode
getModel, getText, getTextComponent, isEnabled, isWholeTextCompletion, setEnabled, setModel, setText, setText, setTextComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomaticCompletionMode

public AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent,
                               CompletionModel model,
                               boolean wholeText)
Parameters:
textComponent -
model -
wholeText -

AutomaticCompletionMode

public AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent,
                               boolean wholeText)
Parameters:
textComponent -
wholeText -

AutomaticCompletionMode

public AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent,
                               CompletionModel model)
Parameters:
textComponent -
model -

AutomaticCompletionMode

public AutomaticCompletionMode(javax.swing.text.JTextComponent textComponent)
Parameters:
textComponent -
Method Detail

getName

public java.lang.String getName()
Description copied from class: CompletionMode
Returns the name of this completion mode. This should be localized since it's shown to the user.

Overrides:
getName in class ShortAutomaticCompletionMode

complete

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


Copyright © 2001-2005 XNap Team. All Rights Reserved.