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

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.Key
Enclosing class:
TaggingPreset

public static class TaggingPreset.Key
extends TaggingPreset.KeyedItem


Field Summary
 java.lang.String value
           
 
Fields inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.KeyedItem
key, match, text, text_context
 
Constructor Summary
TaggingPreset.Key()
           
 
Method Summary
 void addCommands(java.util.List<Tag> changedTags)
           
 boolean addToPanel(javax.swing.JPanel p, java.util.Collection<OsmPrimitive> sel)
           
 TaggingPreset.MatchType getDefaultMatch()
           
 java.util.Collection<java.lang.String> getValues()
           
 
Methods inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.KeyedItem
matches
 
Methods inherited from class org.openstreetmap.josm.gui.tagging.TaggingPreset.Item
initAutoCompletionField, requestFocusInWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public java.lang.String value
Constructor Detail

TaggingPreset.Key

public TaggingPreset.Key()
Method Detail

addToPanel

public boolean addToPanel(javax.swing.JPanel p,
                          java.util.Collection<OsmPrimitive> sel)
Specified by:
addToPanel in class TaggingPreset.Item

addCommands

public void addCommands(java.util.List<Tag> changedTags)
Specified by:
addCommands in class TaggingPreset.Item

getDefaultMatch

public TaggingPreset.MatchType getDefaultMatch()
Specified by:
getDefaultMatch in class TaggingPreset.KeyedItem

getValues

public java.util.Collection<java.lang.String> getValues()
Specified by:
getValues in class TaggingPreset.KeyedItem


JOSM