Last change
on this file since 8513 was 8513, checked in by Don-vip, 9 years ago |
checkstyle: blocks
|
-
Property svn:eol-style
set to
native
|
File size:
819 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.mappaint.xml;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.gui.mappaint.MapPaintStyles.IconReference;
|
---|
5 | import org.openstreetmap.josm.gui.mappaint.Range;
|
---|
6 |
|
---|
7 | public class IconPrototype extends Prototype {
|
---|
8 |
|
---|
9 | public IconReference icon;
|
---|
10 | public Boolean annotate;
|
---|
11 |
|
---|
12 | public IconPrototype(IconPrototype i, Range range) {
|
---|
13 | super(range);
|
---|
14 | this.icon = i.icon;
|
---|
15 | this.annotate = i.annotate;
|
---|
16 | this.priority = i.priority;
|
---|
17 | this.conditions = i.conditions;
|
---|
18 | }
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * Constructs a new {@code IconPrototype}.
|
---|
22 | */
|
---|
23 | public IconPrototype() {
|
---|
24 | init();
|
---|
25 | }
|
---|
26 |
|
---|
27 | public final void init() {
|
---|
28 | priority = 0;
|
---|
29 | range = Range.ZERO_TO_INFINITY;
|
---|
30 | icon = null;
|
---|
31 | annotate = null;
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.