/*
* Created on 2004/08/10
* Author aki@www.xucker.jpn.org
* License Apache2.0 or Common Public License
*/
package org.jpn.xucker.commons.swt.series;
import java.util.Hashtable;
import org.eclipse.swt.graphics.Color;
/**
*
*
*/
public class ResultData {
private Hashtable hash=new Hashtable();
private Color color;
private boolean valid=true;
public boolean isValid() {
return valid;
}
public void setValid(boolean valid) {
this.valid = valid;
}
public Color getColor() {
return color;
}
public void setColor(Color color) {
this.color = color;
}
public void setValue(String name,String value){
hash.put(name,value);
}
public void setValue(String name,int value){
hash.put(name,""+value);
}
public String getValue(String name){
return (String)hash.get(name);
}
}
|