/[schmitzm]/branches/2.4.x/src/skrueger/geotools/LogoPosition.java
ViewVC logotype

Annotation of /branches/2.4.x/src/skrueger/geotools/LogoPosition.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1383 - (hide annotations)
Wed Jan 26 13:46:20 2011 UTC (14 years, 1 month ago) by alfonx
File MIME type: text/plain
File size: 480 byte(s)
trunk becomes 2.4.x ... starting to create multiple modules

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     }

Properties

Name Value
svn:eol-style native
svn:keywords Id URL
svn:mime-type text/plain

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26