Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/ChartSection.java @ 3618:b7867c03760a
Split logo placement property in two (vertical/horizontal).
flys-artifacts/trunk@5286 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 29 Aug 2012 07:58:08 +0000 |
parents | 05deafdcbf39 |
children |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartSection.java Tue Aug 28 15:53:05 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartSection.java Wed Aug 29 07:58:08 2012 +0000 @@ -14,7 +14,8 @@ public static final String SUBTITLE_ATTR = "subtitle"; public static final String DISPLAYGRID_ATTR = "display-grid"; public static final String DISPLAYLOGO_ATTR = "display-logo"; - public static final String LOGOPLACEMENT_ATTR = "logo-place"; + public static final String LOGOPLACEMENTH_ATTR = "logo-placeh"; + public static final String LOGOPLACEMENTV_ATTR = "logo-placev"; public ChartSection() { @@ -55,15 +56,27 @@ } - /** Get Property-value for logo-placement property. */ - public String getLogoPlacement() { - return getStringValue(LOGOPLACEMENT_ATTR); + /** Get Property-value for horizontal logo-placement property. */ + public String getLogoHPlacement() { + return getStringValue(LOGOPLACEMENTH_ATTR); } - /** Set Property-value for logo-placement property. */ - public void setLogoPlacement(String place) { - setChoiceStringValue(LOGOPLACEMENT_ATTR, place, "place"); + /** Set Property-value for horizontal logo-placement property. */ + public void setLogoHPlacement(String place) { + setChoiceStringValue(LOGOPLACEMENTH_ATTR, place, "placeh"); + } + + + /** Get Property-value for vertical logo-placement property. */ + public String getLogoVPlacement() { + return getStringValue(LOGOPLACEMENTV_ATTR); + } + + + /** Set Property-value for vertical logo-placement property. */ + public void setLogoVPlacement(String place) { + setChoiceStringValue(LOGOPLACEMENTV_ATTR, place, "placev"); }