|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.norvelle.textcite.gui.action.OpenCitebookAction
public class OpenCitebookAction
OpenCitebookAction: An Action class that can be assigned directly to a JMenuItem or ToolbarButton, that saves the current CiteBook. Provides a file chooser, allowing the user to choose the CiteBook that he wishes to open, then calls the Application.load() method to actually perform the data load.
Constructor Summary | |
---|---|
OpenCitebookAction(MainFrame frame)
Construct the Action, passing the action type as parameter. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Called by the menu or toolbar when the user chooses the action. |
void |
performOpen()
File | Open Citebook action performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenCitebookAction(MainFrame frame)
actionType
- The type of action, either SAVE_ACTION or SAVE_AS_ACTIONMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed
in interface java.awt.event.ActionListener
public void performOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |