net.sf.jaxodraw.gui.panel
Class JaxoLatexPackage

java.lang.Object
  extended by 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 Summary
JaxoLatexPackage(Component parent, List<String> vector)
          Constructor: initializes the dialog with the current list of included Latex packages (at least axodraw and color).
 
Method Summary
 List<String> getPackageList()
          Returns the Vector holding the list of Latex packages.
 void valueChanged(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(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 Detail

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.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.