source: josm/trunk/src/org/openstreetmap/josm/gui/mappaint/xml/AreaPrototype.java@ 8513

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: 742 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.mappaint.xml;
3
4import java.awt.Color;
5
6import org.openstreetmap.josm.gui.mappaint.Range;
7
8public class AreaPrototype extends Prototype {
9 public Color color;
10 public boolean closed; // if true, it does not apply to unclosed ways
11
12 public AreaPrototype(AreaPrototype a, Range range) {
13 super(range);
14 this.color = a.color;
15 this.closed = a.closed;
16 this.priority = a.priority;
17 this.conditions = a.conditions;
18 }
19
20 public AreaPrototype() {
21 init();
22 }
23
24 public final void init() {
25 priority = 0;
26 range = Range.ZERO_TO_INFINITY;
27 closed = false;
28 color = null;
29 }
30}
Note: See TracBrowser for help on using the repository browser.