Projet

Général

Profil

Télécharger (1,13 ko) Statistiques
| Branche: | Tag: | Révision:
/*
* This program is a part of the IoTa project.
*
* Copyright © 2008-2012 Université de Caen Basse-Normandie, GREYC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <http://www.gnu.org/licenses/>
*
* See AUTHORS for a list of contributors.
*/
package fr.unicaen.iota.validator.operations;

import fr.unicaen.iota.validator.gui.ChartType;

/**
*
*/
public class XYChartPreferences extends ChartPreferences {

public XYChartPreferences(String type, int value) {
super(ChartType.XY_CHART);
prefs.put(type, value);

}

public Integer getValue(String param) {
Object o = prefs.get(param);
return o == null ? null : (Integer) o;
}
}
(10-10/10)