source: osm/applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Scale.java@ 17707

Last change on this file since 17707 was 15961, checked in by stoecker, 16 years ago

fix build issues

  • Property svn:eol-style set to native
File size: 778 bytes
Line 
1package cadastre_fr;
2
3/**
4 * List of possible grab factors each time we call the grab action.
5 * X1 means that only one bounding box is grabbed where X2 means that the current
6 * view is split in 2x2 bounding boxes and X3 is 3x3 boxes.
7 * SQUARE_100M is a special value where bounding boxes have a fixed size of 100x100 meters
8 * and east,north are rounded to the lowest 100 meter as well, thus none of the bounding boxes
9 * are overlapping each others.
10 */
11public enum Scale {
12 X1("1"),
13 X2("2"),
14 X3("3"),
15 SQUARE_100M("4");
16
17 /**
18 * value is the string equivalent stored in the preferences file
19 */
20 public final String value;
21
22 Scale(String value) {
23 this.value = value;
24 }
25 public String toString() {
26 return value;
27 }
28}
Note: See TracBrowser for help on using the repository browser.