Home
Categories
Dictionary
Download
Project Details
Changes Log
FAQ
License

text.autocomplete



The autocomplete package contains classes which allows to add an AutoComplete functionality to text components:
  • The Dictionnary
  • The AutoComplete interface
  • The AutoComplete engine
This package does not contain any GUI class. See swing.autocomplete jfx.autocompleteand for informations on how to use it.

Dictionary

The creation of the dictionary and categories can be performed directly in the AutoCompleteDictionary or through the Swing or JavaFX AutoComplete implementations.

Dictionary items

Dictionary items items can be added by:

Adding item interfaces allows to use rich data for the items in the dictionary and use them in the AutoComplete listeners. Note that:
  • The item getText() method returns the text will be used for text replacement
  • The item toString() method defines which text will be presented in the AutoComplete Popup

See also


Categories: jfx | packages | swing

Copyright 2006-2024 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 and Apache 2.0 licences