Class JaxoLatexPackage

java.lang.Object
net.sf.jaxodraw.gui.panel.JaxoLatexPackage
All Implemented Interfaces:
EventListener, ListSelectionListener

public class JaxoLatexPackage extends Object implements ListSelectionListener
Brings up a dialog that allows the inclusion of custom Latex packages in the Latex output.
Since:
2.0
  • Constructor Details

    • JaxoLatexPackage

      public JaxoLatexPackage(Component parent, List<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 Details

    • valueChanged

      public final void valueChanged(ListSelectionEvent e)
      Executes the corresponding action when the list of Latex packages has been changed.
      Specified by:
      valueChanged in interface 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 List<String> getPackageList()
      Returns the Vector holding the list of Latex packages.
      Returns:
      The vector holding the list of Latex packages.