Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartStyle.java @ 222:3e82b4f1c455
Removed some Compilation-Errors according to API-Changes in the ArtifactDatabase.
Added the possibility to switch to an alternative Transition.
gnv-artifacts/trunk@284 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 05 Nov 2009 14:45:54 +0000 |
parents | 7fb9441dd8af |
children |
rev | line source |
---|---|
65
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 /* Copyright (C) 2007 con terra GmbH (http://www.conterra.de) |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 * All rights reserved |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 * |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 * $Id: ChartStyle.java,v 1.2 2007/12/21 12:31:15 blume Exp $ |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 * |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 * created by: drewnak |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 * created at : 10.12.2007 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 * created at : 13:07:44 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 * |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 * modified by: $Author: blume $ |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 * modified at: $Date: 2007/12/21 12:31:15 $ |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 */ |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 package de.intevation.gnv.chart; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
15 import java.awt.Color; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
16 import java.awt.Dimension; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
17 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
18 /** |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
19 * @author drewnak |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
20 */ |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 public class ChartStyle { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 private Color mCanvasColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
24 private Color mPlotBackgroundColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 private Color mDomainGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 private Color mRangeGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 private boolean mDomainCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
28 private boolean mRangeCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
29 private Insets mAxisOffset; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
30 private boolean mOverrideDefaultChartWidth = false; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
31 private Dimension mChartSize; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
33 private boolean mUseUpperDataLevel = false; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
34 private boolean mUseLowerDataLevel = false; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
35 private int mUpperLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
36 private int mLowerLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
37 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
38 /** |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
39 * @param pCanvasColor |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
40 * @param pPlotBackgroundColor |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
41 * @param pDomainGridlineColor |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
42 * @param pRangeGridlineColor |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
43 * @param pDomainCrosshairVisible |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
44 * @param pRangeCrosshairVisible |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
45 * @param pAxisOffset |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
46 */ |
171
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
65
diff
changeset
|
47 public ChartStyle(Color pCanvasColor, Color pPlotBackgroundColor, |
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
65
diff
changeset
|
48 Color pDomainGridlineColor, Color pRangeGridlineColor, |
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
65
diff
changeset
|
49 boolean pDomainCrosshairVisible, |
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
65
diff
changeset
|
50 boolean pRangeCrosshairVisible, Insets pAxisOffset, |
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
65
diff
changeset
|
51 Dimension pChartSize) { |
65
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
52 super(); |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
53 mCanvasColor = pCanvasColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
54 mPlotBackgroundColor = pPlotBackgroundColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
55 mDomainGridlineColor = pDomainGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
56 mRangeGridlineColor = pRangeGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
57 mDomainCrosshairVisible = pDomainCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
58 mRangeCrosshairVisible = pRangeCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
59 mAxisOffset = pAxisOffset; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
60 mChartSize = pChartSize; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
61 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
62 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
63 public Color getCanvasColor() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
64 return mCanvasColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
65 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
66 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
67 public void setCanvasColor(Color pCanvasColor) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
68 mCanvasColor = pCanvasColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
69 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
70 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
71 public Color getDomainGridlineColor() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
72 return mDomainGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
73 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
74 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
75 public void setDomainGridlineColor(Color pDomainGridlineColor) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
76 mDomainGridlineColor = pDomainGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
77 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
78 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
79 public Color getRangeGridlineColor() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
80 return mRangeGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
81 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
82 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
83 public void setRangeGridlineColor(Color pRangeGridlineColor) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
84 mRangeGridlineColor = pRangeGridlineColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
85 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
86 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
87 public boolean isDomainCrosshairVisible() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
88 return mDomainCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
89 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
90 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
91 public void setDomainCrosshairVisible(boolean pDomainCrosshairVisible) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
92 mDomainCrosshairVisible = pDomainCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
93 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
94 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
95 public boolean isRangeCrosshairVisible() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
96 return mRangeCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
97 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
98 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
99 public void setRangeCrosshairVisible(boolean pRangeCrosshairVisible) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
100 mRangeCrosshairVisible = pRangeCrosshairVisible; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
101 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
102 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
103 public Insets getAxisOffset() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
104 return mAxisOffset; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
105 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
106 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
107 public void setAxisOffset(Insets pAxisOffset) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
108 mAxisOffset = pAxisOffset; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
109 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
110 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
111 public Color getPlotBackgroundColor() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
112 return mPlotBackgroundColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
113 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
114 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
115 public void setPlotBackgroundColor(Color pPlotBackgroundColor) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
116 mPlotBackgroundColor = pPlotBackgroundColor; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
117 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
118 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
119 public Dimension getChartSize() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
120 return mChartSize; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
121 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
122 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
123 public void setChartSize(Dimension pChartSize) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
124 mChartSize = pChartSize; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
125 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
126 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
127 public boolean isOverrideDefaultChartWidth() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
128 return mOverrideDefaultChartWidth; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
129 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
130 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
131 public void setOverrideDefaultChartWidth(boolean pOverrideDefaultChartWidth) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
132 mOverrideDefaultChartWidth = pOverrideDefaultChartWidth; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
133 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
134 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
135 public void setNewChartWidth(int pNewChartWidth) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
136 mChartSize.setSize(pNewChartWidth, mChartSize.getHeight()); |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
137 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
138 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
139 public boolean isUseUpperDataLevel() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
140 return mUseUpperDataLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
141 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
142 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
143 public void setUseUpperDataLevel(boolean pUseUpperDataLevel) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
144 mUseUpperDataLevel = pUseUpperDataLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
145 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
146 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
147 public boolean isUseLowerDataLevel() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
148 return mUseLowerDataLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
149 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
150 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
151 public void setUseLowerDataLevel(boolean pUseLowerDataLevel) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
152 mUseLowerDataLevel = pUseLowerDataLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
153 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
154 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
155 public int getUpperLevel() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
156 return mUpperLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
157 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
158 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
159 public void setUpperLevel(int pUpperLevel) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
160 mUpperLevel = pUpperLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
161 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
162 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
163 public int getLowerLevel() { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
164 return mLowerLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
165 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
166 |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
167 public void setLowerLevel(int pLowerLevel) { |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
168 mLowerLevel = pLowerLevel; |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
169 } |
8b75d01fa5b5
Insert Chart-Classes from old Repository
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
170 } |