Uses of Class
org.openstreetmap.josm.gui.tagging.presets.items.PresetListEntry
-
Packages that use PresetListEntry Package Description org.openstreetmap.josm.gui.tagging.presets.items Provides classes for handling tagging presets items. -
-
Uses of PresetListEntry in org.openstreetmap.josm.gui.tagging.presets.items
Fields in org.openstreetmap.josm.gui.tagging.presets.items declared as PresetListEntry Modifier and Type Field Description protected static PresetListEntry
PresetListEntry. ENTRY_DIFFERENT
Used to display an entry matching several different values.protected static PresetListEntry
PresetListEntry. ENTRY_EMPTY
Used to display an empty entry used to clear values.Fields in org.openstreetmap.josm.gui.tagging.presets.items with type parameters of type PresetListEntry Modifier and Type Field Description protected JosmComboBox<PresetListEntry>
Combo. combobox
protected AutoCompComboBoxModel<PresetListEntry>
Combo. dropDownModel
protected JList<PresetListEntry>
MultiSelect. list
The swing componentprotected DefaultListModel<PresetListEntry>
MultiSelect. model
The model for the JListprotected List<PresetListEntry>
ComboMultiSelect. presetListEntries
The standard entries in the combobox dropdown or multiselect list.protected Map<String,PresetListEntry>
ComboMultiSelect. seenValues
Helps avoid duplicate list entriesMethods in org.openstreetmap.josm.gui.tagging.presets.items that return PresetListEntry Modifier and Type Method Description private PresetListEntry
Combo. find(String value)
Finds the PresetListEntry that matches value.protected PresetListEntry
Combo. getSelectedItem()
protected abstract PresetListEntry
ComboMultiSelect. getSelectedItem()
Returns the value selected in the combobox or a synthetic value if a multiselect.protected PresetListEntry
MultiSelect. getSelectedItem()
Methods in org.openstreetmap.josm.gui.tagging.presets.items with parameters of type PresetListEntry Modifier and Type Method Description private void
Combo. addEntry(PresetListEntry entry)
private void
MultiSelect. addEntry(PresetListEntry entry)
void
ComboMultiSelect. addListEntry(PresetListEntry e)
Adds a preset list entry.int
PresetListEntry. compareTo(PresetListEntry o)
JLabel
ComboMultiSelect.ComboMultiSelectListCellRenderer. getListCellRendererComponent(JList<? extends PresetListEntry> list, PresetListEntry value, int index, boolean isSelected, boolean cellHasFocus)
Method parameters in org.openstreetmap.josm.gui.tagging.presets.items with type arguments of type PresetListEntry Modifier and Type Method Description void
ComboMultiSelect. addListEntries(Collection<PresetListEntry> e)
Adds a collection of preset list entries.JLabel
ComboMultiSelect.ComboMultiSelectListCellRenderer. getListCellRendererComponent(JList<? extends PresetListEntry> list, PresetListEntry value, int index, boolean isSelected, boolean cellHasFocus)
Constructor parameters in org.openstreetmap.josm.gui.tagging.presets.items with type arguments of type PresetListEntry Constructor Description ComboMultiSelectListCellRenderer(Component component, ListCellRenderer<? super PresetListEntry> renderer, int width, String key)
-