public static class TaggingPresetItems.CheckGroup extends TaggingPresetItem
TaggingPresetItems.Checks.| Modifier and Type | Field and Description |
|---|---|
List<TaggingPresetItems.Check> |
checks
List of checkboxes
|
String |
columns
Number of columns (positive integer)
|
| Constructor and Description |
|---|
CheckGroup() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addCommands(List<Tag> changedTags)
Adds the new tags to apply to selected OSM primitives when the preset holding this item is applied.
|
(package private) boolean |
addToPanel(JPanel p,
Collection<OsmPrimitive> sel)
Called by
TaggingPreset.createPanel(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPrimitive>) during tagging preset panel creation. |
String |
toString() |
initAutoCompletionField, matches, requestFocusInWindowpublic final List<TaggingPresetItems.Check> checks
public CheckGroup()
boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel)
TaggingPresetItemTaggingPreset.createPanel(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPrimitive>) during tagging preset panel creation.
All components defining this tagging preset item must be added to given panel.addToPanel in class TaggingPresetItemp - The panel where components must be addedsel - The related selected OSM primitivestrue if this item adds semantic tagging elements, false otherwise.void addCommands(List<Tag> changedTags)
TaggingPresetItemaddCommands in class TaggingPresetItemchangedTags - The list of changed tags to modify if needed