svn-document-layout / trunk / org.gvsig.app.document.layout2.app / org.gvsig.app.document.layout2.app.mainplugin / src / main / java / org / gvsig / app / extension / reportfromlayout / ConfigureReportFromLayoutParametersImpl.java @ 1607
History | View | Annotate | Download (3.56 KB)
1 |
/*
|
---|---|
2 |
* To change this license header, choose License Headers in Project Properties.
|
3 |
* To change this template file, choose Tools | Templates
|
4 |
* and open the template in the editor.
|
5 |
*/
|
6 |
package org.gvsig.app.extension.reportfromlayout; |
7 |
|
8 |
import java.awt.Color; |
9 |
import org.gvsig.app.project.documents.layout.LayoutDocument; |
10 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
11 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
12 |
|
13 |
/**
|
14 |
*
|
15 |
* @author fdiaz
|
16 |
*/
|
17 |
public class ConfigureReportFromLayoutParametersImpl implements ConfigureReportFromLayoutParameters { |
18 |
LayoutDocument layout; |
19 |
FeatureStore source; |
20 |
String identifier;
|
21 |
String label;
|
22 |
private boolean centerToCurrentRow; |
23 |
private boolean zoomToCurrentRow; |
24 |
private double bufferSize; |
25 |
private boolean useIntervalPdfViewer; |
26 |
private boolean highlightRecord; |
27 |
private String viewTag; |
28 |
// private Color fillColor;
|
29 |
// private Color lineColor;
|
30 |
private ISymbol highLightSymbol;
|
31 |
|
32 |
@Override
|
33 |
public LayoutDocument getLayout() {
|
34 |
return layout;
|
35 |
} |
36 |
|
37 |
@Override
|
38 |
public void setLayout(LayoutDocument layout) { |
39 |
this.layout = layout;
|
40 |
} |
41 |
|
42 |
@Override
|
43 |
public FeatureStore getSource() {
|
44 |
return source;
|
45 |
} |
46 |
|
47 |
@Override
|
48 |
public void setSource(FeatureStore source) { |
49 |
this.source = source;
|
50 |
} |
51 |
|
52 |
@Override
|
53 |
public String getIdentifier() { |
54 |
return identifier;
|
55 |
} |
56 |
|
57 |
@Override
|
58 |
public void setIdentifier(String identifier) { |
59 |
this.identifier = identifier;
|
60 |
} |
61 |
|
62 |
@Override
|
63 |
public String getLabel() { |
64 |
return this.label; |
65 |
} |
66 |
|
67 |
@Override
|
68 |
public void setLabel(String label) { |
69 |
this.label = label;
|
70 |
} |
71 |
|
72 |
@Override
|
73 |
public boolean isCenterToCurrentRow() { |
74 |
return this.centerToCurrentRow; |
75 |
} |
76 |
|
77 |
@Override
|
78 |
public void setCenterToCurrentRow(boolean centerToCurrentRow) { |
79 |
this.centerToCurrentRow = centerToCurrentRow;
|
80 |
} |
81 |
|
82 |
@Override
|
83 |
public boolean isZoomToCurrentRow() { |
84 |
return this.zoomToCurrentRow; |
85 |
} |
86 |
|
87 |
@Override
|
88 |
public void setZoomToCurrentRow(boolean zoomToCurrentRow) { |
89 |
this.zoomToCurrentRow = zoomToCurrentRow;
|
90 |
} |
91 |
|
92 |
@Override
|
93 |
public double getBufferSize() { |
94 |
return this.bufferSize; |
95 |
} |
96 |
|
97 |
@Override
|
98 |
public void setBufferSize(double bufferSize) { |
99 |
this.bufferSize = bufferSize;
|
100 |
} |
101 |
|
102 |
@Override
|
103 |
public boolean isHighlightRecord() { |
104 |
return this.highlightRecord; |
105 |
} |
106 |
|
107 |
@Override
|
108 |
public void setHighlightRecord(boolean b) { |
109 |
this.highlightRecord = b;
|
110 |
} |
111 |
|
112 |
@Override
|
113 |
public boolean isUseIntervalPdfViewer() { |
114 |
return useIntervalPdfViewer;
|
115 |
} |
116 |
|
117 |
@Override
|
118 |
public void setUseIntervalPdfViewer(boolean useIntervalPdfViewer) { |
119 |
this.useIntervalPdfViewer = useIntervalPdfViewer;
|
120 |
} |
121 |
|
122 |
@Override
|
123 |
public String getViewTag() { |
124 |
return this.viewTag; |
125 |
} |
126 |
|
127 |
@Override
|
128 |
public void setViewTag(String viewTag) { |
129 |
this.viewTag = viewTag;
|
130 |
} |
131 |
|
132 |
// @Override
|
133 |
// public Color getFillColor() {
|
134 |
// return this.fillColor;
|
135 |
// }
|
136 |
//
|
137 |
// @Override
|
138 |
// public void setFillColor(Color color) {
|
139 |
// this.fillColor = color;
|
140 |
// }
|
141 |
//
|
142 |
// @Override
|
143 |
// public Color getLineColor() {
|
144 |
// return this.lineColor;
|
145 |
// }
|
146 |
//
|
147 |
// @Override
|
148 |
// public void setLineColor(Color color) {
|
149 |
// this.lineColor = color;
|
150 |
// }
|
151 |
|
152 |
@Override
|
153 |
public ISymbol getHighlightSymbol() {
|
154 |
return highLightSymbol;
|
155 |
} |
156 |
|
157 |
@Override
|
158 |
public void setHighlightSymbol(ISymbol symbol) { |
159 |
this.highLightSymbol = symbol;
|
160 |
} |
161 |
|
162 |
|
163 |
|
164 |
} |