Package difar.plots

Class DifarSymbolChooser

java.lang.Object
difar.plots.DifarSymbolChooser
All Implemented Interfaces:
TDSymbolChooser

public class DifarSymbolChooser extends Object implements TDSymbolChooser
Set the symbols for DIFAR Time-Data plots. A few things to do: 1). Lookup the symbol from the DIFAR data unit 2). Set the color of the fill to that of the Channel (i.e. blue for ch 0, red for ch 1). 3). Set the size of the symbol to that of the amplitude TODO: Make the baseline size a user-adjustable parameter
Author:
brian_mil
  • Constructor Details

    • DifarSymbolChooser

      public DifarSymbolChooser()
  • Method Details

    • getPamSymbol

      public PamSymbol getPamSymbol(PamDataUnit dataUnit, int type)
      Specified by:
      getPamSymbol in interface TDSymbolChooser
    • getDrawTypes

      public int getDrawTypes()
      Specified by:
      getDrawTypes in interface TDSymbolChooser
    • setDrawTypes

      public void setDrawTypes(int drawTypes)
      Parameters:
      drawTypes - the drawTypes to set, can be a combination of DRAW_LINES and DRAW_SYMBOLS