Class DrawGrafik2


public class DrawGrafik2
extends JComponent

Field Summary

(package private) int
anzahl
(package private) int[]
werte
(package private) int[]
xPoints

Constructor Summary

DrawGrafik2(List ywerte)
DrawGrafik2(int[] xPoints, int[] werte, int anzahl)

Method Summary

void
paint(Graphics g)
private int[]
skalierung(int[] x, String art)

Field Details

anzahl

(package private)  int anzahl

werte

(package private)  int[] werte

xPoints

(package private)  int[] xPoints

Constructor Details

DrawGrafik2

public DrawGrafik2(List ywerte)

DrawGrafik2

public DrawGrafik2(int[] xPoints,
                   int[] werte,
                   int anzahl)

Method Details

paint

public void paint(Graphics g)

skalierung

private int[] skalierung(int[] x,
                         String art)