Revision 312

tmp/org.txm.chartsengine.jfreechart.core/src/org/txm/chartsengine/jfreechart/core/themes/highcharts/defaulttheme/HighchartsDefaultTheme.java (revision 312)
48 48
import org.txm.chartsengine.jfreechart.core.themes.highcharts.defaulttheme.renderers.ItemSelectionXYSplineRenderer;
49 49
import org.txm.chartsengine.jfreechart.core.themes.highcharts.defaulttheme.renderers.ItemSelectionXYStepRenderer;
50 50
import org.txm.core.preferences.TXMPreferences;
51
import org.txm.core.results.ITXMResult;
51 52

  
52 53
/**
53 54
 * Highcharts GWT library default rendering theme.
......
143 144
	 * (The theme can not be used with ChartFactory.setChartTheme() because of additional plot, renderer and chart settings according to the type of chart.)
144 145
	 * @param chart
145 146
	 */
146
    public void applyThemeToChart(JFreeChart chart, Object resultData, String preferencesNode, boolean applySeriesStrokes)	{
147
    public void applyThemeToChart(JFreeChart chart, ITXMResult resultData, String preferencesNode, boolean applySeriesStrokes)	{
147 148

  
148 149
    	this.createFonts(resultData, preferencesNode);
149 150

  
tmp/org.txm.chartsengine.jfreechart.core/src/org/txm/chartsengine/jfreechart/core/themes/base/JFCTheme.java (revision 312)
37 37
import org.txm.chartsengine.jfreechart.core.JFCChartsEngine;
38 38
import org.txm.chartsengine.jfreechart.core.renderers.XYCardinalSplineRenderer;
39 39
import org.txm.core.preferences.TXMPreferences;
40
import org.txm.core.results.ITXMResult;
40 41

  
41 42
public class JFCTheme extends StandardChartTheme {
42 43

  
......
147 148
	/**
148 149
	 * Creates fonts from the charts engine preferences current font.
149 150
	 */
150
	protected void createFonts(Object resultData, String preferencesNode)	{
151
	protected void createFonts(ITXMResult resultData, String preferencesNode)	{
151 152

  
152 153
		Font baseFont = ChartsEngine.createFont(TXMPreferences.getString(preferencesNode, resultData, ChartsEnginePreferences.FONT));
153 154
		
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/results/IChartResult.java (revision 312)
1
/**
2
 * 
3
 */
4 1
package org.txm.chartsengine.core.results;
5 2

  
6 3
import org.txm.core.results.ITXMResult;
tmp/org.txm.ca.core/src/org/txm/ca/core/functions/CA.java (revision 312)
43 43
import org.txm.ca.core.statsengine.r.functions.ICA;
44 44
import org.txm.chartsengine.core.results.IChartResult;
45 45
import org.txm.core.preferences.TXMPreferences;
46
import org.txm.core.results.ITXMResult;
47 46
import org.txm.functions.Function;
48 47
import org.txm.lexicaltable.core.functions.LexicalTableFactory;
49 48
import org.txm.lexicaltable.core.statsengine.data.LexicalTable;
tmp/org.txm.core/src/java/org/txm/core/preferences/TXMPreferences.java (revision 312)
500 500
		return nodeQualifier;
501 501
	}
502 502
	
503
	
503
	/**
504
	 * 
505
	 * @param nodeQualifier
506
	 * @param key
507
	 * @param value
508
	 */
504 509
	public static void put(String nodeQualifier, String key, String value) {
505 510
		scope.getNode(nodeQualifier).put(key, value);
506 511
	}
507 512

  
513
	/**
514
	 * 
515
	 * @param nodeQualifier
516
	 * @param key
517
	 * @param value
518
	 */
508 519
	public static void putInt(String nodeQualifier, String key, int value) {
509 520
		scope.getNode(nodeQualifier).putInt(key, value);
510 521
	}
511 522

  
523
	/**
524
	 * 
525
	 * @param nodeQualifier
526
	 * @param key
527
	 * @param value
528
	 */
512 529
	public static void putFloat(String nodeQualifier, String key, float value) {
513 530
		scope.getNode(nodeQualifier).putFloat(key, value);
514 531
	}
515 532

  
533
	/**
534
	 * 
535
	 * @param nodeQualifier
536
	 * @param key
537
	 * @param value
538
	 */
516 539
	public static void putDouble(String nodeQualifier, String key, double value) {
517 540
		scope.getNode(nodeQualifier).putDouble(key, value);
518 541
	}
519 542

  
543
	/**
544
	 * 
545
	 * @param nodeQualifier
546
	 * @param key
547
	 * @param value
548
	 */
520 549
	public static void putByteArray(String nodeQualifier, String key, byte[] value) {
521 550
		scope.getNode(nodeQualifier).putByteArray(key, value);
522 551
	}
523 552

  
553
	/**
554
	 * 
555
	 * @param nodeQualifier
556
	 * @param key
557
	 * @param value
558
	 */
524 559
	public static void putBoolean(String nodeQualifier, String key, boolean value) {
525 560
		scope.getNode(nodeQualifier).putBoolean(key, value);
526 561
	}
527 562

  
563
	/**
564
	 * 
565
	 * @param nodeQualifier
566
	 * @param key
567
	 * @param value
568
	 */
528 569
	public static void putLong(String nodeQualifier, String key, long value) {
529 570
		scope.getNode(nodeQualifier).putLong(key, value);
530 571
	}

Also available in: Unified diff