Package | Description |
---|---|
org.openstreetmap.josm.gui.dialogs.properties |
Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.
|
org.openstreetmap.josm.gui.tagging.ac |
Provides classes for handling autocompletion of tags.
|
org.openstreetmap.josm.gui.widgets |
Provides GUI widgets customized for JOSM needs.
|
Modifier and Type | Field and Description |
---|---|
private ListCellRenderer<AutoCompletionListItem> |
TagEditHelper.EditTagDialog.cellRenderer |
private Comparator<AutoCompletionListItem> |
TagEditHelper.defaultACItemComparator |
private Comparator<AutoCompletionListItem> |
TagEditHelper.EditTagDialog.usedValuesAwareComparator |
Modifier and Type | Method and Description |
---|---|
protected FocusAdapter |
TagEditHelper.AbstractTagsDialog.addFocusAdapter(AutoCompletionManager autocomplete,
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 ArrayList<AutoCompletionListItem> |
AutoCompletionList.filtered
the filtered list of AutoCompletionItems
|
private List<AutoCompletionListItem> |
AutoCompletionList.list
the bare list of AutoCompletionItems
|
private Map<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 |
---|---|
List<AutoCompletionListItem> |
AutoCompletionManager.getKeys()
Returns the currently cached tag keys.
|
(package private) List<AutoCompletionListItem> |
AutoCompletionList.getList() |
(package private) List<AutoCompletionListItem> |
AutoCompletionList.getUnmodifiableList() |
List<AutoCompletionListItem> |
AutoCompletionManager.getValues(List<String> keys)
Returns the currently cached tag values for a given list of tag keys.
|
List<AutoCompletionListItem> |
AutoCompletionManager.getValues(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.
|
Component |
AutoCompletingComboBox.AutoCompleteListCellRenderer.getListCellRendererComponent(JList<? extends AutoCompletionListItem> list,
AutoCompletionListItem item,
int index,
boolean isSelected,
boolean cellHasFocus) |
Modifier and Type | Method and Description |
---|---|
void |
AutoCompletionList.add(List<AutoCompletionListItem> other)
adds a list of AutoCompletionListItem to this list.
|
Component |
AutoCompletingComboBox.AutoCompleteListCellRenderer.getListCellRendererComponent(JList<? extends AutoCompletionListItem> list,
AutoCompletionListItem item,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
AutoCompletingComboBox.setPossibleACItems(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 |
---|---|
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
|