Klasse GaugeUtil

java.lang.Object
libsidutils.oscilloscope.GaugeUtil

public abstract class GaugeUtil extends Object
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    private static final int
     
    private float[]
    data plots normalized between -1 .. 1
    private float[]
    data plots normalized between -1 .. 1
    private int
    Position within data buffer
    private static final int[]
     
    private int
     
    private int
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    GaugeUtil(int width, int height)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    accumulate(float value)
     
    void
     
    void
    draw(SIDEmu sidemu)
     
    protected abstract void
    drawLine(int x, int y1, int x2, int y2, int color)
     
    void
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • ALPHA

      private static final int ALPHA
      Siehe auch:
    • gaugeColors

      private static final int[] gaugeColors
    • width

      private int width
    • height

      private int height
    • dataMin

      private float[] dataMin
      data plots normalized between -1 .. 1
    • dataMax

      private float[] dataMax
      data plots normalized between -1 .. 1
    • dataPos

      private int dataPos
      Position within data buffer
  • Konstruktordetails

    • GaugeUtil

      public GaugeUtil(int width, int height)
  • Methodendetails

    • accumulate

      public void accumulate(float value)
    • advance

      public void advance()
    • reset

      public void reset()
    • draw

      public void draw(SIDEmu sidemu)
    • drawLine

      protected abstract void drawLine(int x, int y1, int x2, int y2, int color)