001 // License: GPL. For details, see LICENSE file.
002 package org.openstreetmap.josm.gui.mappaint.xml;
003
004 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles.IconReference;
005 import org.openstreetmap.josm.gui.mappaint.Range;
006
007 public class IconPrototype extends Prototype {
008
009 public IconReference icon;
010 public Boolean annotate;
011
012 public IconPrototype (IconPrototype i, Range range) {
013 super(range);
014 this.icon = i.icon;
015 this.annotate = i.annotate;
016 this.priority = i.priority;
017 this.conditions = i.conditions;
018 }
019
020 public IconPrototype() { init(); }
021
022 public void init() {
023 priority = 0;
024 range = new Range();
025 icon = null;
026 annotate = null;
027 }
028 }