Package gpl.graphfx
Class GPLDetPlotinfo
java.lang.Object
dataPlotsFX.data.TDDataInfoFX
gpl.graphfx.GPLDetPlotinfo
-
Nested Class Summary
Nested classes/interfaces inherited from class dataPlotsFX.data.TDDataInfoFX
TDDataInfoFX.DataLoadObserver
-
Field Summary
Fields inherited from class dataPlotsFX.data.TDDataInfoFX
dataPlugIns, scaleInfoIndex
-
Constructor Summary
ConstructorDescriptionGPLDetPlotinfo
(TDDataProviderFX tdDataProvider, GPLControlledUnit gplControlledUnit, TDGraphFX tdGraph, GPLDetectionBlock gplDetectionBlock) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.shape.Polygon
drawContour
(int plotNumber, GPLDetection gplDetection, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) javafx.scene.shape.Polygon
drawDataUnit
(int plotNumber, PamDataUnit pamDataUnit, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) Draw a data unit.javafx.scene.shape.Polygon
drawFrequencyBox
(int plotNumber, GPLDetection gplDetection, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) javafx.scene.shape.Polygon
drawOnSpectrogram
(int plotNumber, PamDataUnit pamDataUnit, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) getDataValue
(PamDataUnit pamDataUnit) Gets a value for a specific data unit which should be in the same units as the scale information.Return a hiding settings node which will get incorporated into a larger tabbed sliding pane.boolean
shouldDraw
(int plotNumber, int sequenceMap) Do we want to draw this channel on this panel ?Methods inherited from class dataPlotsFX.data.TDDataInfoFX
addScaleInfo, clearDraw, drawAllDataUnits, drawData, drawHighLightData, editOptions, getCurrentScaleInfo, getDataBlock, getDataDimensions, getDataName, getDataObserver, getDataProvider, getDDataProvider, getDisplayColType, getLastDrawPoints, getMasterClockOverride, getMenuNodes, getPreviousDataUnit, getRequiredDataHistory, getScaleInfo, getScaleInfo, getScaleInfoIndex, getScaleInfos, getShortName, getSourceDataBlock, getStoredSettings, getTDGraph, getToolTipText, hasAxisName, hasOptions, isPaused, isScrollChanging, isShowing, isViewer, lastUnitDrawn, notifyChange, removeData, removeScaleInfo, selectScaleInfo, setCurrentAxisName, setNPlotPanes, setShowing, setStoredSettings, shouldDraw, timeRangeSpinnerChange, timeScrollRangeChanged, timeScrollValueChanged
-
Constructor Details
-
GPLDetPlotinfo
public GPLDetPlotinfo(TDDataProviderFX tdDataProvider, GPLControlledUnit gplControlledUnit, TDGraphFX tdGraph, GPLDetectionBlock gplDetectionBlock)
-
-
Method Details
-
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
- Returns:
- data value or null if this data point should not be plotted.
-
shouldDraw
public boolean shouldDraw(int plotNumber, int sequenceMap) Description copied from class:TDDataInfoFX
Do we want to draw this channel on this panel ?- Overrides:
shouldDraw
in classTDDataInfoFX
- Parameters:
plotNumber
- panel numbersequenceMap
- channel map- Returns:
- true if data unit should be drawn.
-
getSymbolChooser
- Specified by:
getSymbolChooser
in classTDDataInfoFX
- Returns:
- a class containing functions to chose a symbol to plot.
-
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.
-
drawOnSpectrogram
public javafx.scene.shape.Polygon drawOnSpectrogram(int plotNumber, PamDataUnit pamDataUnit, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) -
drawContour
public javafx.scene.shape.Polygon drawContour(int plotNumber, GPLDetection gplDetection, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) -
drawFrequencyBox
public javafx.scene.shape.Polygon drawFrequencyBox(int plotNumber, GPLDetection gplDetection, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) -
getGraphSettingsPane
Description copied from class:TDDataInfoFX
Return a hiding settings node which will get incorporated into a larger tabbed sliding pane.- Overrides:
getGraphSettingsPane
in classTDDataInfoFX
- Returns:
- sliding dialog component.
-