|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaxodraw.gui.panel.JaxoImportPanel
public class JaxoImportPanel
Brings up a dialog to choose an import format and a file to import.
Constructor Summary | |
---|---|
JaxoImportPanel(Component parentc,
List<JaxoImportPlugin> imp)
Constructor. |
Method Summary | |
---|---|
JaxoGraph |
getImportedGraph()
Returns the graph theat was imported by this panel. |
void |
setImports(List<JaxoImportPlugin> 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 ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxoImportPanel(Component parentc, List<JaxoImportPlugin> imp)
parentc
- Component whose Window to use a parent for dialogs.imp
- List of imports to show, in the format of
JaxoImport.getBuiltInFormats()
.Method Detail |
---|
public void setImports(List<JaxoImportPlugin> impts)
impts
- the list of import formats.public void updateLanguage()
JaxoPrefs.PREF_LANGUAGE
).
updateLanguage
in interface JaxoLocalized
public void show()
public JaxoGraph getImportedGraph()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |