1 |
alfonx |
1370 |
package skrueger.geotools; |
2 |
|
|
|
3 |
|
|
import schmitzm.geotools.gui.GeotoolsGUIUtil; |
4 |
|
|
|
5 |
|
|
/** |
6 |
|
|
* Possible values where to position a maplogo on the map |
7 |
|
|
*/ |
8 |
|
|
public enum LogoPosition { |
9 |
|
|
TOPRIGHT, TOPLEFT, BOTTOMRIGHT, BOTTOMLEFT; |
10 |
|
|
|
11 |
|
|
public String getDescription() { |
12 |
|
|
return GeotoolsGUIUtil.R("Logoposition." + this.toString()); |
13 |
|
|
} |
14 |
|
|
|
15 |
|
|
public boolean isBottom() { |
16 |
|
|
return this == BOTTOMLEFT || this == BOTTOMRIGHT; |
17 |
|
|
} |
18 |
|
|
|
19 |
|
|
public boolean isLeft() { |
20 |
|
|
return this == BOTTOMLEFT || this == TOPLEFT; |
21 |
|
|
} |
22 |
|
|
} |