Package net.sf.jaxodraw.gui.panel
Class JaxoLatexPackage
java.lang.Object
net.sf.jaxodraw.gui.panel.JaxoLatexPackage
- All Implemented Interfaces:
EventListener
,ListSelectionListener
Brings up a dialog that allows the inclusion of custom Latex packages
in the Latex output.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionJaxoLatexPackage
(Component parent, List<String> vector) Constructor: initializes the dialog with the current list of included Latex packages (at least axodraw and color). -
Method Summary
Modifier and TypeMethodDescriptionReturns the Vector holding the list of Latex packages.final void
Executes the corresponding action when the list of Latex packages has been changed.final boolean
Cheks if the dialog was closed via the cancel button.
-
Constructor Details
-
JaxoLatexPackage
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
Executes the corresponding action when the list of Latex packages has been changed.- Specified by:
valueChanged
in interfaceListSelectionListener
- 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
Returns the Vector holding the list of Latex packages.- Returns:
- The vector holding the list of Latex packages.
-