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