comparison artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java @ 6905:1b35b2ddfc28

Artifacts: Introduce ThemeDocument & make stuff compileable again. THIS BREAKS THE SYSTEM! TODO: Move ThemeUtils into ThemeDocument.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 22 Aug 2013 23:31:38 +0200
parents
children 7a9cbb3a3d5a
comparison
equal deleted inserted replaced
6904:d710bd3df387 6905:1b35b2ddfc28
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU AGPL (>=v3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
6 * documentation coming with Dive4Elements River for details.
7 */
8
9 package org.dive4elements.river.themes;
10
11 import java.awt.Color;
12 import java.awt.Font;
13
14 import org.dive4elements.artifacts.CallMeta;
15 import org.w3c.dom.Document;
16
17 public class ThemeDocument
18 {
19 private Document document;
20
21 public ThemeDocument() {
22 }
23
24 public ThemeDocument(Document document) {
25 this.document = document;
26 }
27
28 public Document getDocument() {
29 return document;
30 }
31
32 public Color parseLineColorField() {
33 return null;
34 }
35
36 public boolean parseShowLineLabel() {
37 return false;
38 }
39
40 public boolean parseShowWidth() {
41 return false;
42 }
43
44 public boolean parseShowLevel() {
45 return false;
46 }
47
48 public boolean parseShowMiddleHeight() {
49 return false;
50 }
51
52 public boolean parseLabelShowBackground() {
53 return false;
54 }
55
56 public Font parseTextFont() {
57 return null;
58 }
59
60 public Color parseTextColor() {
61 return null;
62 }
63
64 public Color parseTextBackground() {
65 return null;
66 }
67
68 public int parseLineWidth() {
69 return 0;
70 }
71
72 public float [] parseLineStyle() {
73 return null;
74 }
75
76 public int parsePointWidth() {
77 return 0;
78 }
79
80 public Color parsePointColor() {
81 return null;
82 }
83
84 public boolean parseShowPoints() {
85 return false;
86 }
87
88 public boolean parseShowLine() {
89 return false;
90 }
91
92 public boolean parseShowMinimum() {
93 return false;
94 }
95
96 public boolean parseShowMaximum() {
97 return false;
98 }
99
100 public TextStyle parseTextStyle() {
101 // from ThemeAccess
102 return null;
103 }
104
105 public LineStyle parseComplexLineStyle() {
106 // from ThemeAccess
107 return null;
108 }
109
110 public Color parseComplexLineColorField() {
111 return null;
112 }
113
114 public boolean parseShowVerticalLine() {
115 return false;
116 }
117
118 public boolean parseShowHorizontalLine() {
119 return false;
120 }
121
122 public double parseBandWidth() {
123 return 0d;
124 }
125
126 public int parseAreaTransparency() {
127 return 0;
128 }
129
130 public static Color parseColor(String s) {
131 return null;
132 }
133
134 public String getAreaBackgroundColorString() {
135 return null;
136 }
137
138 public boolean parseAreaShowBorder() {
139 return false;
140 }
141
142 public boolean parseShowArea() {
143 return false;
144 }
145
146 public boolean parseShowPointLabel() {
147 return false;
148 }
149
150 public boolean parseShowExtraMark() {
151 return false;
152 }
153
154 public String createMapserverStyle() {
155 return null;
156 }
157
158 public String createDynamicMapserverStyle(
159 float from,
160 float to,
161 float step,
162 CallMeta meta
163 ) {
164 return null;
165 }
166
167 public Color parseAreaBackgroundColor() {
168 return null;
169 }
170
171 public static int parseInteger(String s, int def) {
172 return def;
173 }
174
175 public String getAreaTransparencyString() {
176 return null;
177 }
178
179 }
180 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
181

http://dive4elements.wald.intevation.org