Class IrPlotter

All Implemented Interfaces:
ImageObserver, MenuContainer, Closeable, Serializable, AutoCloseable, Accessible, IHarcPanel

public class IrPlotter extends HarcPanel
A plotter class, specialized for plotting IR signals. Not yet implemented: Printing, clipboard support.
See Also:
  • Constructor Details

    • IrPlotter

      public IrPlotter(boolean zoomSupport)
    • IrPlotter

      public IrPlotter()
    • IrPlotter

      public IrPlotter(IrPlotter irPlotter, boolean zoomSupport)
  • Method Details

    • plot

      public void plot(org.harctoolbox.ircore.ModulatedIrSequence irSequence, int noIntroBursts, int noRepeatBursts, int noRepetitions)
      Called to setup the plotter to plot the arguments.
      Parameters:
      irSequence -
      noIntroBursts -
      noRepeatBursts -
      noRepetitions -
    • plot

      public void plot(org.harctoolbox.ircore.ModulatedIrSequence irSequence)
      Called to setup the plotter to plot the argument.
      Parameters:
      irSequence -
    • plot

      public void plot(org.harctoolbox.ircore.IrSignal irSignal)
      Called to setup the plotter to plot the argument.
      Parameters:
      irSignal -
    • clear

      public void clear()
      Clears plot.
    • isEmpty

      public boolean isEmpty()
    • setIgnoreLast

      public void setIgnoreLast(boolean ignoreLast)
      Makes the last point, which is always a silence, be omitted from the plot.
      Parameters:
      ignoreLast -
    • reset

      public void reset()
      Resets the size and the axis of the plotting domain.
    • resetSize

      public void resetSize()
      Resets the size of the widget to its preferred size.
    • setWidth

      public void setWidth(int width)
      Sets the width of the plotter frame.
      Parameters:
      width -
    • paintComponent

      public void paintComponent(Graphics graphics)
      Overrides:
      paintComponent in class JComponent
    • createPopupClone

      public void createPopupClone()
      Create a read-only clone of the current plot in a new popup window.
    • getHelpMessage

      public String getHelpMessage()
    • getAboutMessage

      public String getAboutMessage()
    • getProgName

      public String getProgName()
    • getIconPath

      public String getIconPath()
    • close

      public void close() throws IOException
      Throws:
      IOException