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