Class TimeProjectorFX

java.lang.Object
PamView.GeneralProjector<PamCoordinate>
dataPlotsFX.projector.TimeProjectorFX
Direct Known Subclasses:
RawFFTPlot.FreqTimeProjector, TDProjectorFX

public abstract class TimeProjectorFX extends GeneralProjector<PamCoordinate>
  • Constructor Details

    • TimeProjectorFX

      public TimeProjectorFX(PamAxisFX timeAxis)
    • TimeProjectorFX

      public TimeProjectorFX()
  • Method Details

    • getTimeAxis

      public PamAxisFX getTimeAxis()
      Get the time axis
    • setTimeAxis

      public void setTimeAxis(PamAxisFX axis)
      Set the time axis.
      Parameters:
      axis - - the axis to set.
    • getVisibleTime

      public double getVisibleTime()
      Get time range in milliseconds.
      Returns:
      time range (max-min) in millis.
    • getGraphTimePixels

      public double getGraphTimePixels()
      Get the length of the time axis in pixels.
      Returns:
      the length of the axis in pixel.
    • getTimePix

      public double getTimePix(double timeMillis)
      Get the location in pixels for a time in millis.
      Parameters:
      timeMillis - - the time along the axis in millis (Note: the axis start at timeMillis=0).
      Returns:
      - the pixel location along the x axis (if horizontal)