public class JaxoImportPanel extends java.lang.Object implements JaxoLocalized
Constructor and Description |
---|
JaxoImportPanel(java.awt.Component parentc,
java.util.List imp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
JaxoGraph |
getImportedGraph()
Returns the graph theat was imported by this panel.
|
void |
setImports(java.util.List impts)
Updates the list of import formats.
|
void |
show()
Shows the import panel.
|
void |
updateLanguage()
Updates the component with the current language as set in the
preferences (
JaxoPrefs.PREF_LANGUAGE ). |
public JaxoImportPanel(java.awt.Component parentc, java.util.List imp)
parentc
- Component whose Window to use a parent for dialogs.imp
- List of imports to show, in the format of
JaxoImport.getBuiltInFormats()
.public void setImports(java.util.List impts)
impts
- the list of import formats.public void updateLanguage()
JaxoPrefs.PREF_LANGUAGE
).updateLanguage
in interface JaxoLocalized
public void show()
public JaxoGraph getImportedGraph()
Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.