com.mucommander.ui.autocomplete
Class OtherTextComponentCompletion

java.lang.Object
  extended by com.mucommander.ui.autocomplete.CompletionType
      extended by com.mucommander.ui.autocomplete.OtherTextComponentCompletion

public class OtherTextComponentCompletion
extends CompletionType

OtherTextComponentCompleter is a CompleterType which suite to text components other than editable combobox and text-field (such as textArea for example). This class was not tested.

Author:
Arik Hadas, based on the code of Santhosh Kumar: http://www.jroller.com/santhosh/entry/file_path_autocompletion

Nested Class Summary
 
Nested classes/interfaces inherited from class com.mucommander.ui.autocomplete.CompletionType
CompletionType.ShowingThread
 
Field Summary
 
Fields inherited from class com.mucommander.ui.autocomplete.CompletionType
autocompletedtextComp, documentListener, list, popup, POPUP_DELAY_AFTER_ACCEPTING_LIST_ITEM, POPUP_DELAY_AT_TEXT_DELETION, POPUP_DELAY_AT_TEXT_INSERTION, showingThread, VISIBLE_ROW_COUNT
 
Constructor Summary
OtherTextComponentCompletion(AutocompleterTextComponent comp, Completer completer)
           
 
Method Summary
protected  void hideAutocompletionPopup()
          Hide the auto-completion popup window.
protected  void startNewShowingThread(int delay)
          Start a new thread that implement ShowingThread with the given delay.
 
Methods inherited from class com.mucommander.ui.autocomplete.CompletionType
acceptListItem, createNewShowingThread, isItemSelectedAtPopupList, isPopupListShowing, selectFirstValue, selectLastValue, selectNextPage, selectNextPossibleValue, selectPreviousPage, selectPreviousPossibleValue, updateListData, updateTextComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherTextComponentCompletion

public OtherTextComponentCompletion(AutocompleterTextComponent comp,
                                    Completer completer)
Method Detail

hideAutocompletionPopup

protected void hideAutocompletionPopup()
Description copied from class: CompletionType
Hide the auto-completion popup window.

Specified by:
hideAutocompletionPopup in class CompletionType

startNewShowingThread

protected void startNewShowingThread(int delay)
Description copied from class: CompletionType
Start a new thread that implement ShowingThread with the given delay.

Specified by:
startNewShowingThread in class CompletionType


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