00001
00002
00003
00004
00005
00006
00007 package org.swtchart;
00008
00009 import org.eclipse.swt.graphics.Color;
00010
00014 public interface IErrorBar {
00015
00019 public enum ErrorBarType {
00020
00022 BOTH("Both"),
00023
00025 PLUS("Plus"),
00026
00028 MINUS("Minus");
00029
00031 public final String label;
00032
00039 private ErrorBarType(String label) {
00040 this.label = label;
00041 }
00042 }
00043
00049 ErrorBarType getType();
00050
00057 void setType(ErrorBarType type);
00058
00064 Color getColor();
00065
00073 void setColor(Color color);
00074
00080 int getLineWidth();
00081
00088 void setLineWidth(int width);
00089
00095 double getError();
00096
00106 void setError(double error);
00107
00113 double[] getPlusErrors();
00114
00121 void setPlusErrors(double[] errors);
00122
00128 double[] getMinusErrors();
00129
00136 void setMinusErrors(double[] errors);
00137
00144 void setVisible(boolean visible);
00145
00151 boolean isVisible();
00152 }