Package | Description |
---|---|
org.jdesktop.swingx.autocomplete |
Contains classes to enable automatic completion for JComboBox and other
components.
|
Modifier and Type | Field and Description |
---|---|
static ObjectToStringConverter |
ObjectToStringConverter.DEFAULT_IMPLEMENTATION
This field contains the default implementation, that returns item.toString()
for any item !=null.
|
Modifier and Type | Method and Description |
---|---|
static void |
AutoCompleteDecorator.decorate(JComboBox comboBox,
ObjectToStringConverter stringConverter)
Enables automatic completion for the given JComboBox.
|
static void |
AutoCompleteDecorator.decorate(JList list,
JTextComponent textComponent,
ObjectToStringConverter stringConverter)
Enables automatic completion for the given JTextComponent based on the
items contained in the given JList.
|
static void |
AutoCompleteDecorator.decorate(JTextComponent textComponent,
List<?> items,
boolean strictMatching,
ObjectToStringConverter stringConverter)
Enables automatic completion for the given JTextComponent based on the
items contained in the given List.
|
Constructor and Description |
---|
AutoCompleteComboBoxEditor(ComboBoxEditor wrapped,
ObjectToStringConverter stringConverter)
Creates a new AutoCompleteComboBoxEditor.
|
AutoCompleteDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter)
Creates a new AutoCompleteDocument for the given AbstractAutoCompleteAdaptor.
|
AutoCompleteDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter,
Document delegate)
Creates a new AutoCompleteDocument for the given AbstractAutoCompleteAdaptor.
|
AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter) |
AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter,
StyledDocument delegate) |
ListAdaptor(JList list,
JTextComponent textComponent,
ObjectToStringConverter stringConverter)
Creates a new JListAdaptor for the given list and text component.
|
Copyright © 2020. All rights reserved.