public class FileOpener extends org.freehep.application.studio.Plugin implements org.freehep.application.studio.StudioListener, ActionListener, PreferencesTopic
Modifier and Type | Class and Description |
---|---|
class |
FileOpener.Commands |
Constructor and Description |
---|
FileOpener() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
addDropTargetFileOpener(Component c) |
boolean |
apply(JComponent panel)
Called when the user pushes the apply button in the preferences dialog.
|
JComponent |
component()
Get the component to display in the preferences dialog
|
void |
handleEvent(EventObject event) |
void |
init() |
String[] |
path()
Specifies where in the preferences tree this item should appear.
|
public void init() throws SAXException, IOException
init
in class org.freehep.application.studio.Plugin
SAXException
IOException
public void addDropTargetFileOpener(Component c)
public void handleEvent(EventObject event)
handleEvent
in interface org.freehep.application.studio.StudioListener
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
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
Copyright © 2018. All rights reserved.