4 @SuppressWarnings public class QwtPlotCurve: QwtPlotItem{
52 public enum CurveAttribute
79 public enum LegendAttribute
85 LegendNoAttribute = 0x00,
91 LegendShowLine = 0x01,
96 LegendShowSymbol = 0x02,
102 LegendShowBrush = 0x04
110 public enum PaintAttribute
132 MinimizeMemory = 0x04,
165 FilterPointsAggressive = 0x10
168 nativehandle = QtXnl.createNObject(QType.qtQwtPlotCurve, 0);
169 if (nativehandle == 0){
175 QtXnl.widget_slot_string(nativehandle, Constant.QwtPlotCurve_setTitle, title);
178 public void setPen(
int color,
float stroke){
179 QtXnl.widget_set_v2int_double_value(nativehandle, Constant.QwtPlotCurve_setPen, color, stroke, 0);
183 QtXnl.pointer_intlong2(yData, Constant.QwtPlotCurve_setSamples, nativehandle, size);
186 public void setSamples(
float [] xData,
float [] yData,
int size ){
187 float [] total =
new float[size *2];
190 QtXnl.pointer_intlong2(total, Constant.QwtPlotCurve_setSamples2, nativehandle, size);
194 QtXnl.widget_set_double_value(nativehandle,Constant.QwtPlotCurve_setBaseline, v);
198 QtXnl.widget_set_native_value(nativehandle, Constant.QwtPlotCurve_setSymbol, s.nativehandle);
202 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotCurve_setCurveAttribute, n, on ? 1 : 0);
206 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotCurve_setPaintAttribute, n, on ? 1 : 0);
210 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotCurve_setLegendAttributes, n, 0);
214 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotCurve_setStyle, style, 0);
218 QtXnl.widget_slot(nativehandle, Constant.QwtPlotCurve_CTOR);
static final void arrayCopy(Object, long, Object, long, long)
void setSymbol(QwtSymbol s)
void setStyle(CurveStyle style )
void setSamples(float [] xData, float [] yData, int size )
void setBaseline(double v)
void setTitle(String title)
void setSamples(float [] yData, int size )
void setCurveAttribute(CurveAttribute n, bool on )
void setLegendAttributes( LegendAttribute n)
void setPaintAttribute(PaintAttribute n, bool on )
void setPen(int color, float stroke)