Package gpl.graphfx

Class GPLDetPlotinfo


public class GPLDetPlotinfo extends TDDataInfoFX
  • Constructor Details

  • Method Details

    • getDataValue

      public Double getDataValue(PamDataUnit pamDataUnit)
      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 class TDDataInfoFX
      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 class TDDataInfoFX
      Parameters:
      plotNumber - panel number
      sequenceMap - channel map
      Returns:
      true if data unit should be drawn.
    • getSymbolChooser

      public TDSymbolChooserFX getSymbolChooser()
      Specified by:
      getSymbolChooser in class TDDataInfoFX
      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 class TDDataInfoFX
      Parameters:
      pamDataUnit - data unit to draw
      g - graphicsContext handle to draw on
      type - 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

      public TDSettingsPane getGraphSettingsPane()
      Description copied from class: TDDataInfoFX
      Return a hiding settings node which will get incorporated into a larger tabbed sliding pane.
      Overrides:
      getGraphSettingsPane in class TDDataInfoFX
      Returns:
      sliding dialog component.