Documentation of 'kcl.waterloo.tex.TexSupportInterface' Java class
TexSupportInterface
kcl.waterloo.tex

Interface TexSupportInterface



  • public interface TexSupportInterface
    Defines an interface for TeX support. Currently, Waterloo graphics supports TeX via the GPL supplement, which uses JLatexMath or via JavaFX, which can display TeX in a WevView using MathJax. To guarantee portability to platforms without either installed, include a standard component using the image returned by getImage or the label returned by getLabel. For the kcl-gpl-tex package using JLatexMath these return a BufferedImage and a JLabel respectively.
    • Method Detail

      • isTeXSupported

        boolean isTeXSupported()
        Returns true if this object supports TeX
        Returns:
        the flag
      • getImage

        java.lang.Object getImage()
        Returns the TeX as an image. The class of the returned image is not specified. For Swing it will generally be a java.awt.image.BufferedImage.
        Returns:
        an image object
      • getLabel

        java.lang.Object getLabel()
        Returns the TeX as a label. The class of the returned label is not specified. For Swing it will generally be a javax.swing.JLabel.
        Returns:
        a label object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.