|
JHotDraw 7.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExportableProject
ExportableProject is implemented by Project's that support the ExportAction.
Method Summary | |
---|---|
void |
export(java.io.File f,
javax.swing.filechooser.FileFilter filter,
java.awt.Component accessory)
Exports the project. |
javax.swing.JFileChooser |
getExportChooser()
Gets the file chooser for exporting the project. |
Methods inherited from interface org.jhotdraw.app.Project |
---|
addPropertyChangeListener, clear, dispose, execute, getAction, getApplication, getComponent, getFile, getMultipleOpenId, getOpenChooser, getSaveChooser, hasUnsavedChanges, init, isEnabled, isShowing, markChangesAsSaved, putAction, read, removePropertyChangeListener, setApplication, setEnabled, setFile, setMultipleOpenId, setShowing, write |
Method Detail |
---|
javax.swing.JFileChooser getExportChooser()
void export(java.io.File f, javax.swing.filechooser.FileFilter filter, java.awt.Component accessory) throws java.io.IOException
f
- The file to which export the project.filter
- The FileFilter that was used to choose the file. This can be null.accessory
- The Accessory used by the JFileChooser. This can be null.
java.io.IOException
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |