Interface PlotBuilder.DisplayDriver

Enclosing class:
PlotBuilder<T extends PlotBuilder<?>>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PlotBuilder.DisplayDriver
Interface for display drivers, which are responsible for displaying the resulting plot to the user, typically in some windowing system.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The default display driver that wraps the plot in a non-blocking window.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    show(PlotBuilder<?> builder, int width, int height)
    Displays the given plot.
  • Field Details

    • DEFAULT

      static final PlotBuilder.DisplayDriver DEFAULT
      The default display driver that wraps the plot in a non-blocking window.
  • Method Details

    • show

      void show(PlotBuilder<?> builder, int width, int height)
      Displays the given plot.
      Parameters:
      builder - the plot builder
      width - the requested display width
      height - the requested display height