org.openstreetmap.josm.gui.tagging
Class TaggingPreset.Combo

java.lang.Object
  extended by org.openstreetmap.josm.gui.tagging.TaggingPreset.Item
      extended by org.openstreetmap.josm.gui.tagging.TaggingPreset.KeyedItem
          extended by org.openstreetmap.josm.gui.tagging.TaggingPreset.ComboMultiSelect
              extended by org.openstreetmap.josm.gui.tagging.TaggingPreset.Combo
Enclosing class:
TaggingPreset

public static class TaggingPreset.Combo
extends TaggingPreset.ComboMultiSelect


Field Summary
protected  JosmComboBox combo
           
 boolean editable
           
 
Fields inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.ComboMultiSelect
component, default_, delimiter, display_values, lhm, locale_display_values, locale_short_descriptions, locale_text, originalValue, short_descriptions, usage, use_last_as_default, values, values_context
 
Fields inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.KeyedItem
key, match, text, text_context
 
Constructor Summary
TaggingPreset.Combo()
           
 
Method Summary
protected  void addToPanelAnchor(javax.swing.JPanel p, java.lang.String def)
           
protected  java.lang.String getDisplayIfNull(java.lang.String display)
           
protected  java.lang.Object getSelectedItem()
           
 
Methods inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.ComboMultiSelect
addCommands, addListEntries, addListEntry, addToPanel, getDefaultMatch, getDelChar, getDisplayValues, getListCellRenderer, getValues, requestFocusInWindow
 
Methods inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.KeyedItem
matches
 
Methods inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.Item
initAutoCompletionField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editable

public boolean editable

combo

protected JosmComboBox combo
Constructor Detail

TaggingPreset.Combo

public TaggingPreset.Combo()
Method Detail

addToPanelAnchor

protected void addToPanelAnchor(javax.swing.JPanel p,
                                java.lang.String def)
Specified by:
addToPanelAnchor in class TaggingPreset.ComboMultiSelect

getSelectedItem

protected java.lang.Object getSelectedItem()
Specified by:
getSelectedItem in class TaggingPreset.ComboMultiSelect

getDisplayIfNull

protected java.lang.String getDisplayIfNull(java.lang.String display)
Overrides:
getDisplayIfNull in class TaggingPreset.ComboMultiSelect


JOSM