Package | Description |
---|---|
org.openstreetmap.josm.gui.dialogs.properties | |
org.openstreetmap.josm.gui.tagging.ac | |
org.openstreetmap.josm.gui.widgets |
Modifier and Type | Field and Description |
---|---|
(package private) javax.swing.ListCellRenderer<AutoCompletionListItem> |
TagEditHelper.EditTagDialog.cellRenderer |
(package private) java.util.Comparator<AutoCompletionListItem> |
TagEditHelper.defaultACItemComparator |
(package private) java.util.Comparator<AutoCompletionListItem> |
TagEditHelper.EditTagDialog.usedValuesAwareComparator |
Modifier and Type | Method and Description |
---|---|
protected java.awt.event.FocusAdapter |
TagEditHelper.AbstractTagsDialog.addFocusAdapter(AutoCompletionManager autocomplete,
java.util.Comparator<AutoCompletionListItem> comparator)
Create a focus handling adapter and apply in to the editor component of value
autocompletion box.
|
Modifier and Type | Field and Description |
---|---|
private JosmComboBox<AutoCompletionListItem> |
AutoCompletingComboBox.AutoCompletingComboBoxDocument.comboBox |
private java.util.ArrayList<AutoCompletionListItem> |
AutoCompletionList.filtered
the filtered list of AutoCompletionItems
|
private java.util.List<AutoCompletionListItem> |
AutoCompletionList.list
the bare list of AutoCompletionItems
|
private java.util.Map<java.lang.String,AutoCompletionListItem> |
AutoCompletionList.valutToItemMap
map from value to priority
|
Modifier and Type | Method and Description |
---|---|
AutoCompletionListItem |
AutoCompletionList.getFilteredItem(int idx)
replies the idx-th item from the list of filtered items
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AutoCompletionListItem> |
AutoCompletionManager.getKeys()
Returns the currently cached tag keys.
|
(package private) java.util.List<AutoCompletionListItem> |
AutoCompletionList.getList() |
(package private) java.util.List<AutoCompletionListItem> |
AutoCompletionList.getUnmodifiableList() |
java.util.List<AutoCompletionListItem> |
AutoCompletionManager.getValues(java.util.List<java.lang.String> keys)
Returns the currently cached tag values for a given list of tag keys.
|
java.util.List<AutoCompletionListItem> |
AutoCompletionManager.getValues(java.lang.String key)
Returns the currently cached tag values for a given tag key.
|
Modifier and Type | Method and Description |
---|---|
void |
AutoCompletionList.add(AutoCompletionListItem item)
adds an AutoCompletionListItem to the list.
|
protected void |
AutoCompletionList.appendOrUpdatePriority(AutoCompletionListItem toAdd) |
int |
AutoCompletionListItem.compareTo(AutoCompletionListItem other) |
boolean |
AutoCompletionList.contains(AutoCompletionListItem item)
checks whether a specific item is already in the list.
|
java.awt.Component |
AutoCompletingComboBox.AutoCompleteListCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends AutoCompletionListItem> list,
AutoCompletionListItem item,
int index,
boolean isSelected,
boolean cellHasFocus) |
Modifier and Type | Method and Description |
---|---|
void |
AutoCompletionList.add(java.util.List<AutoCompletionListItem> other)
adds a list of AutoCompletionListItem to this list.
|
java.awt.Component |
AutoCompletingComboBox.AutoCompleteListCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends AutoCompletionListItem> list,
AutoCompletionListItem item,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
AutoCompletingComboBox.setPossibleACItems(java.util.Collection<AutoCompletionListItem> elems)
Sets the items of the combobox to the given
AutoCompletionListItem s. |
Constructor and Description |
---|
AutoCompletingComboBoxDocument(JosmComboBox<AutoCompletionListItem> comboBox)
Constructs a new
AutoCompletingComboBoxDocument . |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<AutoCompletionListItem> |
ComboBoxHistory.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
ComboBoxHistory.addElement(AutoCompletionListItem o)
Adds or moves an element to the top of the history
|