com.mucommander.ui.autocomplete
Class BasicAutocompleterTextComponent

java.lang.Object
  extended by com.mucommander.ui.autocomplete.AutocompleterTextComponent
      extended by com.mucommander.ui.autocomplete.BasicAutocompleterTextComponent

public class BasicAutocompleterTextComponent
extends AutocompleterTextComponent

This AutocompleterTextComponent implements OnEnterPressed(java.awt.event.KeyEvent) and OnEscPressed(java.awt.event.KeyEvent) as no-ops.

Author:
Maxence Bernard

Constructor Summary
BasicAutocompleterTextComponent(javax.swing.text.JTextComponent textComp)
           
 
Method Summary
 void OnEnterPressed(java.awt.event.KeyEvent keyEvent)
          This function will be called when the text component has the focus and enter key is pressed, while the auto-completion popup window is unvisible.
 void OnEscPressed(java.awt.event.KeyEvent keyEvent)
          This function will be called when the text component has the focus and escape key is pressed, while the auto-completion popup window is unvisible.
 
Methods inherited from class com.mucommander.ui.autocomplete.AutocompleterTextComponent
addFocusListener, addKeyListener, getCaretPosition, getDocument, getHeight, getItemNames, getText, getTextComponent, hasFocus, isCarentAtEndOfTextAtInsertion, isCarentAtEndOfTextAtRemoval, isComponentsPopupVisible, isEnabled, isShowing, modelToView, moveCarentToEndOfText, requestFocus, setComponentsPopupUnvisibe, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAutocompleterTextComponent

public BasicAutocompleterTextComponent(javax.swing.text.JTextComponent textComp)
Method Detail

OnEnterPressed

public void OnEnterPressed(java.awt.event.KeyEvent keyEvent)
Description copied from class: AutocompleterTextComponent
This function will be called when the text component has the focus and enter key is pressed, while the auto-completion popup window is unvisible.

Specified by:
OnEnterPressed in class AutocompleterTextComponent

OnEscPressed

public void OnEscPressed(java.awt.event.KeyEvent keyEvent)
Description copied from class: AutocompleterTextComponent
This function will be called when the text component has the focus and escape key is pressed, while the auto-completion popup window is unvisible.

Specified by:
OnEscPressed in class AutocompleterTextComponent


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard