Package jline.io.tikz

Class TikZViewer

  • All Implemented Interfaces:

    
    public class TikZViewer
    
                        

    Displays PDF files generated from TikZ diagrams using external viewers.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      TikZViewer()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void displayPDF(File pdfFile) Displays a PDF file using an external viewer.
      static void displayPDF(File pdfFile, String title) Displays a PDF file using an external viewer.
      static boolean isPdfViewerAvailable() Checks if a PDF viewer is available on the system.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TikZViewer

        TikZViewer()
    • Method Detail

      • displayPDF

         static void displayPDF(File pdfFile)

        Displays a PDF file using an external viewer.

        Parameters:
        pdfFile - The PDF file to display
      • displayPDF

         static void displayPDF(File pdfFile, String title)

        Displays a PDF file using an external viewer.

        Parameters:
        pdfFile - The PDF file to display
        title - Optional title for logging
      • isPdfViewerAvailable

         static boolean isPdfViewerAvailable()

        Checks if a PDF viewer is available on the system.