All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants

public class JAutoSuggest extends JTextField
A JTextField that can make suggestions for auto-complete.
Author:
Andreas Prlic
See Also:
  • Constructor Details

    • JAutoSuggest

      public JAutoSuggest()
    • JAutoSuggest

      public JAutoSuggest(int size)
    • JAutoSuggest

      public JAutoSuggest(Frame owner)
  • Method Details

    • getDefaultText

      public String getDefaultText()
    • setDefaultText

      public void setDefaultText(String defaultText)
    • getAutoSuggestProvider

      public AutoSuggestProvider getAutoSuggestProvider()
    • setAutoSuggestProvider

      public void setAutoSuggestProvider(AutoSuggestProvider autoSuggestProvider)
    • showSuggest

      public void showSuggest()
      Force the suggestions to be displayed (Useful for buttons e.g. for using JSuggestionField like a ComboBox)
    • hideSuggest

      public void hideSuggest()
      Force the suggestions to be hidden (Useful for buttons, e.g. to use JSuggestionField like a ComboBox)
    • isSuggestVisible

      public boolean isSuggestVisible()
      Returns:
      boolean Visibility of the suggestion window