org.siebengeisslein.ide.source
Class AutoCompleter

java.lang.Object
  extended by org.siebengeisslein.ide.source.AutoCompleter

public class AutoCompleter
extends java.lang.Object


Constructor Summary
AutoCompleter(EditorComponent comp)
           
 
Method Summary
 void accept(ViewFactory viewFactory)
           
protected  void acceptedListItem(Suggestion selected, ViewFactory viewFactory)
           
 void hidePopup()
           
 boolean isVisible()
           
protected  void selectNextPossibleValue()
          Selects the next item in the list.
protected  void selectPreviousPossibleValue()
          Selects the previous item in the list.
protected  boolean updateListData(ViewFactory viewFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoCompleter

public AutoCompleter(EditorComponent comp)
Method Detail

accept

public void accept(ViewFactory viewFactory)

selectNextPossibleValue

protected void selectNextPossibleValue()
Selects the next item in the list. It won't change the selection if the currently selected item is already the last item.


selectPreviousPossibleValue

protected void selectPreviousPossibleValue()
Selects the previous item in the list. It won't change the selection if the currently selected item is already the first item.


updateListData

protected boolean updateListData(ViewFactory viewFactory)

acceptedListItem

protected void acceptedListItem(Suggestion selected,
                                ViewFactory viewFactory)

isVisible

public boolean isVisible()

hidePopup

public void hidePopup()