Package difar.plots
Class DifarSymbolChooser
java.lang.Object
difar.plots.DifarSymbolChooser
- All Implemented Interfaces:
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
-
Field Summary
Fields inherited from interface dataPlots.data.TDSymbolChooser
DRAW_LINES, DRAW_SYMBOLS, HIGHLIGHT_SYMBOL, HIGHLIGHT_SYMBOL_MARKED, NORMAL_SYMBOL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getPamSymbol
(PamDataUnit dataUnit, int type) void
setDrawTypes
(int drawTypes)
-
Constructor Details
-
DifarSymbolChooser
public DifarSymbolChooser()
-
-
Method Details
-
getPamSymbol
- Specified by:
getPamSymbol
in interfaceTDSymbolChooser
-
getDrawTypes
public int getDrawTypes()- Specified by:
getDrawTypes
in interfaceTDSymbolChooser
-
setDrawTypes
public void setDrawTypes(int drawTypes) - Parameters:
drawTypes
- the drawTypes to set, can be a combination of DRAW_LINES and DRAW_SYMBOLS
-