Class JaxoLatexPackage

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ListSelectionListener

    public class JaxoLatexPackage
    extends java.lang.Object
    implements javax.swing.event.ListSelectionListener
    Brings up a dialog that allows the inclusion of custom Latex packages in the Latex output.
    Since:
    2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      JaxoLatexPackage​(java.awt.Component parent, java.util.List<java.lang.String> vector)
      Constructor: initializes the dialog with the current list of included Latex packages (at least axodraw and color).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getPackageList()
      Returns the Vector holding the list of Latex packages.
      void valueChanged​(javax.swing.event.ListSelectionEvent e)
      Executes the corresponding action when the list of Latex packages has been changed.
      boolean wasCancelled()
      Cheks if the dialog was closed via the cancel button.
      • Methods inherited from class java.lang.Object

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

      • JaxoLatexPackage

        public JaxoLatexPackage​(java.awt.Component parent,
                                java.util.List<java.lang.String> vector)
        Constructor: initializes the dialog with the current list of included Latex packages (at least axodraw and color).
        Parameters:
        parent - The parent component.
        vector - The list of currently included Latex packages
    • Method Detail

      • valueChanged

        public final void valueChanged​(javax.swing.event.ListSelectionEvent e)
        Executes the corresponding action when the list of Latex packages has been changed.
        Specified by:
        valueChanged in interface javax.swing.event.ListSelectionListener
        Parameters:
        e - The ListSelectionEvent
      • wasCancelled

        public final boolean wasCancelled()
        Cheks if the dialog was closed via the cancel button.
        Returns:
        True if the dialog was cancelled..
      • getPackageList

        public final java.util.List<java.lang.String> getPackageList()
        Returns the Vector holding the list of Latex packages.
        Returns:
        The vector holding the list of Latex packages.