Package dataPlots.data
Class StandardBearingInfo
java.lang.Object
dataPlots.data.TDDataInfo
dataPlots.data.StandardBearingInfo
Create a standard set of bearing information that can be used with any data block
capable of generating bearing information.
- Author:
- doug
-
Field Summary
Fields inherited from class dataPlots.data.TDDataInfo
UNITS_ANGLE, UNITS_TEMPERATURE
-
Constructor Summary
ConstructorDescriptionStandardBearingInfo
(TDDataProvider tdDataProvider, TDGraph tdGraph, PamDataBlock dataBlock) -
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
-
StandardBearingInfo
-
-
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.
-