Package d3.plots
Class D3PlotInfoFX
java.lang.Object
dataPlotsFX.data.TDDataInfoFX
d3.plots.D3PlotInfoFX
-
Nested Class Summary
Nested classes/interfaces inherited from class dataPlotsFX.data.TDDataInfoFX
TDDataInfoFX.DataLoadObserver
-
Field Summary
Fields inherited from class dataPlotsFX.data.TDDataInfoFX
dataPlugIns, isOrderring, isViewer, scaleInfoIndex
-
Constructor Summary
ConstructorsConstructorDescriptionD3PlotInfoFX
(D3Control d3Control, D3DataProviderFX d3DataProvider, TDGraphFX tdGraph, D3DataBlock pamDataBlock) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.shape.Polygon
drawDataUnit
(int plotNumber, PamDataUnit pamDataUnit, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, 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.void
notifyChange
(int changeType) Notify of changes from PamController.Methods inherited from class dataPlotsFX.data.TDDataInfoFX
addScaleInfo, clearDraw, drawAllDataUnits, drawData, drawHighLightData, editOptions, getCurrentScaleInfo, getDataBlock, getDataDimensions, getDataName, getDataObserver, getDataProvider, getDDataProvider, getDisplayColType, getGraphSettingsPane, getLastDrawPoints, getMasterClockOverride, getMenuNodes, getPreviousDataUnit, getRequiredDataHistory, getScaleInfo, getScaleInfo, getScaleInfoIndex, getScaleInfos, getShortName, getSourceDataBlock, getStoredSettings, getTdDataProvider, getTDGraph, getToolTipText, hasAxisName, hasOptions, isPaused, isScrollChanging, isShowing, isViewer, lastUnitDrawn, removeData, removeScaleInfo, selectScaleInfo, setCurrentAxisName, setNPlotPanes, setShowing, setStoredSettings, shouldDraw, shouldDraw, timeRangeSpinnerChange, timeScrollRangeChanged, timeScrollValueChanged
-
Constructor Details
-
D3PlotInfoFX
public D3PlotInfoFX(D3Control d3Control, D3DataProviderFX d3DataProvider, TDGraphFX tdGraph, D3DataBlock pamDataBlock)
-
-
Method Details
-
drawDataUnit
public javafx.scene.shape.Polygon drawDataUnit(int plotNumber, PamDataUnit pamDataUnit, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) Description copied from class:TDDataInfoFX
Draw a data unit.- Overrides:
drawDataUnit
in classTDDataInfoFX
- Parameters:
pamDataUnit
- data unit to drawg
- graphicsContext handle to draw ontype
- flag for which type of symbol to draw. e.g normal or highlighted.- Returns:
- polygon of area drawn on.
-
getDataValue
Description copied from class:TDDataInfoFX
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 classTDDataInfoFX
- Parameters:
pamDataUnit
-- Returns:
- data value or null if this data point should not be plotted.
-
getSymbolChooser
- Specified by:
getSymbolChooser
in classTDDataInfoFX
- Returns:
- a class containing functions to chose a symbol to plot.
-
notifyChange
public void notifyChange(int changeType) Description copied from class:TDDataInfoFX
Notify of changes from PamController.- Overrides:
notifyChange
in classTDDataInfoFX
- Parameters:
changeType
- - the chnage type.
-