com.mucommander.ui.autocomplete
Class TypicalAutocompleterEditableCombobox

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

public class TypicalAutocompleterEditableCombobox
extends AutocompleterTextComponent

This AutocompleterTextComponent implements OnEnterPressed(java.awt.event.KeyEvent) and OnEscPressed(java.awt.event.KeyEvent) as the typical AutocompletedEditableCombobox's ops.

Author:
Arik Hadas

Field Summary
protected  AutocompletedEditableCombobox editableCombobox
           
 
Constructor Summary
TypicalAutocompleterEditableCombobox(AutocompletedEditableCombobox editableCombobox)
           
 
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
 

Field Detail

editableCombobox

protected AutocompletedEditableCombobox editableCombobox
Constructor Detail

TypicalAutocompleterEditableCombobox

public TypicalAutocompleterEditableCombobox(AutocompletedEditableCombobox editableCombobox)
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