Package dataPlots.data
Class StandardDataInfo
java.lang.Object
dataPlots.data.TDDataInfo
dataPlots.data.StandardDataInfo
-
Field Summary
Fields inherited from class dataPlots.data.TDDataInfo
UNITS_ANGLE, UNITS_TEMPERATURE
-
Constructor Summary
ConstructorDescriptionStandardDataInfo
(TDDataProvider tdDataProvider, TDGraph tdGraph, PamDataBlock dataBlock, DataLineInfo dataUnits, TDScaleInfo scaleInformation) StandardDataInfo
(TDDataProvider tdDataProvider, TDGraph tdGraph, PamDataBlock dataBlock, DataLineInfo dataUnits, TDScaleInfo scaleInformation, int dataDimensions) -
Method Summary
Modifier and TypeMethodDescriptionint
getDataValue
(PamDataUnit pamDataUnit) Gets a value for a specific data unit which should be in the same units as the scale information.getScaleInformation
(int orientation, boolean autoScale) void
setSymbolChooser
(TDSymbolChooser symbolChooser) Methods inherited from class dataPlots.data.TDDataInfo
addDataUnits, clearDraw, drawData, drawDataUnit, drawHighLightData, editOptions, getCurrentDataLine, getCurrentDataLineIndex, getDataBlock, getDataLineInfos, getDataName, getDataProvider, getFixedScaleInformation, getHidingDialogComponent, getShortName, getStoredSettings, getTdGraph, getToolTipText, hasAxisName, hasOptions, isShowing, notifyModelChanged, removeData, selectDataLine, setCurrentAxisName, setFixedScaleInformation, setShowing, setStoredSettings, timeRangeSpinnerChange, timeScrollRangeChanged, timeScrollValueChanged
-
Constructor Details
-
StandardDataInfo
public StandardDataInfo(TDDataProvider tdDataProvider, TDGraph tdGraph, PamDataBlock dataBlock, DataLineInfo dataUnits, TDScaleInfo scaleInformation) -
StandardDataInfo
public StandardDataInfo(TDDataProvider tdDataProvider, TDGraph tdGraph, PamDataBlock dataBlock, DataLineInfo dataUnits, TDScaleInfo scaleInformation, int dataDimensions)
-
-
Method Details
-
getScaleInformation
- Overrides:
getScaleInformation
in classTDDataInfo
- Returns:
- Information about the scales of the data.
-
getDataDimensions
public int getDataDimensions()- Overrides:
getDataDimensions
in classTDDataInfo
- Returns:
- 1 or 2 for the data (lines are 1, things that will make a 3D plot, such as spectrograms, get 2.
-
getSymbolChooser
- Specified by:
getSymbolChooser
in classTDDataInfo
- Returns:
- a class containing functions to chose a symbol to plot.
-
setSymbolChooser
- Parameters:
symbolChooser
- the symbolChooser to set
-
getDataValue
Description copied from class:TDDataInfo
Gets a value for a specific data unit which should be in the same units as the scale information. This will then be converted into a plot position by the TDGraph.- Specified by:
getDataValue
in classTDDataInfo
- Returns:
- data value or null if this data poit should not be plotted.
-