Package d3.plots
Class D3PlotInfo
java.lang.Object
dataPlots.data.TDDataInfo
d3.plots.D3PlotInfo
- 
Field Summary
FieldsFields inherited from class dataPlots.data.TDDataInfo
UNITS_ANGLE, UNITS_TEMPERATURE - 
Constructor Summary
ConstructorsConstructorDescriptionD3PlotInfo(D3Control d3Control, D3DataPlotProvider tdDataProvider, TDGraph tdGraph, D3DataBlock d3DataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidClear any residual drawing objects that get held between calls, e.g.drawDataUnit(PamDataUnit pamDataUnit, Graphics g, Rectangle windowRect, int orientation, PamAxis timeAxis, long scrollStart, PamAxis yAxis, int type) Draw a data unit.getDataValue(PamDataUnit pamDataUnit) Gets a value for a specific data unit which should be in the same units as the scale information.voidnotifyModelChanged(int changeType) Get notifications from the main controller.Methods inherited from class dataPlots.data.TDDataInfo
addDataUnits, drawData, drawHighLightData, editOptions, getCurrentDataLine, getCurrentDataLineIndex, getDataBlock, getDataDimensions, getDataLineInfos, getDataName, getDataProvider, getFixedScaleInformation, getHidingDialogComponent, getPamDataBlock, getScaleInformation, getShortName, getStoredSettings, getTdDataProvider, getTdGraph, getToolTipText, hasAxisName, hasOptions, isShowing, isViewer, removeData, selectDataLine, setCurrentAxisName, setFixedScaleInformation, setShowing, setStoredSettings, timeRangeSpinnerChange, timeScrollRangeChanged, timeScrollValueChanged 
- 
Field Details
- 
depthInfo
 
 - 
 - 
Constructor Details
- 
D3PlotInfo
public D3PlotInfo(D3Control d3Control, D3DataPlotProvider tdDataProvider, TDGraph tdGraph, D3DataBlock d3DataBlock)  
 - 
 - 
Method Details
- 
getDataValue
Description copied from class:TDDataInfoGets 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:
 getDataValuein classTDDataInfo- Parameters:
 pamDataUnit-- Returns:
 - data value or null if this data poit should not be plotted.
 
 - 
drawDataUnit
public Polygon drawDataUnit(PamDataUnit pamDataUnit, Graphics g, Rectangle windowRect, int orientation, PamAxis timeAxis, long scrollStart, PamAxis yAxis, int type) Description copied from class:TDDataInfoDraw a data unit.- Overrides:
 drawDataUnitin classTDDataInfo- Parameters:
 pamDataUnit- data unit to drawg- graphics handle to draw onwindowRect-orientation- orientation of the displaytimeAxis- start time of the displayyAxis- yAxis (used for scale information for the data point)type- flag for which type of symbol to draw. e.g normal or highlighted.- Returns:
 - polygon of area drawn on.
 
 - 
getSymbolChooser
- Specified by:
 getSymbolChooserin classTDDataInfo- Returns:
 - a class containing functions to chose a symbol to plot.
 
 - 
notifyModelChanged
public void notifyModelChanged(int changeType) Description copied from class:TDDataInfoGet notifications from the main controller.- Overrides:
 notifyModelChangedin classTDDataInfo- Parameters:
 changeType-
 - 
clearDraw
public void clearDraw()Description copied from class:TDDataInfoClear any residual drawing objects that get held between calls, e.g. the point of the previous unit plotted which may have been held so that lines can be drawn between points.- Overrides:
 clearDrawin classTDDataInfo
 
 -