diff flys-artifacts/src/main/java/de/intevation/flys/exports/AxisSection.java @ 2053:f9a972d375ba

Use the user defined font size to set Y axes label fonts sizes. flys-artifacts/trunk@3543 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 27 Dec 2011 08:22:07 +0000
parents 4ba5036109d2
children f97cf2e350c9
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/AxisSection.java	Tue Dec 27 08:04:12 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/AxisSection.java	Tue Dec 27 08:22:07 2011 +0000
@@ -88,6 +88,12 @@
     }
 
 
+    public Integer getFontSize() {
+        IntegerAttribute attr = (IntegerAttribute) getAttribute(FONTSIZE_ATTR);
+        return attr != null ? (Integer) attr.getValue() : null;
+    }
+
+
     public void setFixed(boolean fixed) {
         Attribute attr = getAttribute(FIXATION_ATTR);
         if (attr == null) {

http://dive4elements.wald.intevation.org