01: /*
02: * MCS Media Computer Software
03: * Copyright (c) 2005 by MCS
04: * --------------------------------------
05: * Created on 23.04.2005 by w.klaas
06: *
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: */
19: package de.mcs.jmeasurement.renderer;
20:
21: import de.mcs.jmeasurement.MeasurePoint;
22:
23: /**
24: * This interface is used in the <code>getReport()</code> methode of the
25: * <code>MeasureFactory</code>. If the datarenderer has implemented this
26: * interface the report will first call this methode with an empty MeasurePoint.
27: * With this you can determine the data names and descriptions before any data
28: * is get.
29: * @author w.klaas
30: */
31: public interface MeasureDataRendererColumnHeader {
32:
33: /**
34: * This methode will generate the string representation of the header of the
35: * desired renderer for measure points.
36: * @param point goes in.
37: * @return String the string representation of the column headers
38: */
39: String getColumnHeaderAsString(MeasurePoint point);
40:
41: }
|