Last change
on this file since 24955 was 18544, checked in by pieren, 15 years ago |
Add licence in headers for GPL compliance.
|
-
Property svn:eol-style
set to
native
|
File size:
870 bytes
|
Line | |
---|
1 | // License: GPL. v2 and later. Copyright 2008-2009 by Pieren <pieren3@gmail.com> and others
|
---|
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 | public String toString() {
|
---|
27 | return value;
|
---|
28 | }
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.