Package net.sf.jaxodraw.gui.panel
Class JaxoLatexPackage
- java.lang.Object
-
- net.sf.jaxodraw.gui.panel.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.
-
-
-
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 interfacejavax.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.
-
-