public class XMLIOPlugin extends org.freehep.application.studio.Plugin implements PreferencesTopic
Modifier and Type | Class and Description |
---|---|
class |
XMLIOPlugin.XMLIOCommands |
Constructor and Description |
---|
XMLIOPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(JComponent panel)
Called when the user pushes the apply button in the preferences dialog.
|
protected String |
chooseFile(File oldFile,
String buttonText) |
JComponent |
component()
Get the component to display in the preferences dialog
|
protected String |
getDefaultFile() |
protected String |
getLastFile() |
protected boolean |
getRestoreAtStart() |
protected boolean |
getSaveAtExit() |
protected void |
init() |
String[] |
path()
Specifies where in the preferences tree this item should appear.
|
void |
restoreAtStart() |
boolean |
saveAtExit() |
protected void |
setDefaultFile(String defaultFile) |
protected void |
setLastFile(String lastFile) |
protected void |
setRestoreAtStart(boolean restoreAtStart) |
protected void |
setSaveAtExit(boolean saveAtExit) |
protected void init() throws SAXException, IOException
init
in class org.freehep.application.studio.Plugin
SAXException
IOException
public void restoreAtStart()
public boolean saveAtExit()
public boolean apply(JComponent panel)
PreferencesTopic
apply
in interface PreferencesTopic
panel
- The component currently being displayedPreferencesTopic.component()
public JComponent component()
PreferencesTopic
component
in interface PreferencesTopic
public String[] path()
PreferencesTopic
path
in interface PreferencesTopic
protected String getDefaultFile()
protected void setDefaultFile(String defaultFile)
protected String getLastFile()
protected void setLastFile(String lastFile)
protected boolean getRestoreAtStart()
protected void setRestoreAtStart(boolean restoreAtStart)
protected boolean getSaveAtExit()
protected void setSaveAtExit(boolean saveAtExit)
Copyright © 2016. All rights reserved.