Changeset 885 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/AreaElemStyle.java
- Timestamp:
- 2008-08-28T22:07:04+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/AreaElemStyle.java
r874 r885 4 4 public class AreaElemStyle extends ElemStyle 5 5 { 6 public Color colo ur;6 public Color color; 7 7 public LineElemStyle line = null; 8 8 9 public AreaElemStyle (Color colour, long maxScale, long minScale) { 10 this.colour = colour; 9 public AreaElemStyle (AreaElemStyle a, long maxScale, long minScale) { 10 this.color = a.color; 11 this.priority = a.priority; 11 12 this.maxScale = maxScale; 12 13 this.minScale = minScale; … … 15 16 public AreaElemStyle(AreaElemStyle a, LineElemStyle l) 16 17 { 17 this.colour = a.colour; 18 this.color = a.color; 19 this.priority = a.priority; 18 20 this.maxScale = a.maxScale; 19 21 this.minScale = a.minScale; … … 21 23 } 22 24 23 @Override public String toString() { 24 return "AreaElemStyle: colour=" + colour; 25 public AreaElemStyle() { init(); } 26 27 public void init() 28 { 29 color = null; 30 priority = 0; 25 31 } 26 32 }
Note:
See TracChangeset
for help on using the changeset viewer.