|
JHotDraw 7.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExportableDocumentView
ExportableDocumentView is implemented by DocumentView's that support the ExportAction.
Method Summary | |
---|---|
void |
export(java.io.File f,
javax.swing.filechooser.FileFilter filter,
java.awt.Component accessory)
Exports the documentView. |
javax.swing.JFileChooser |
getExportChooser()
Gets the file chooser for exporting the documentView. |
Methods inherited from interface org.jhotdraw.application.DocumentView |
---|
addPropertyChangeListener, clear, destroy, execute, getAction, getComponent, getFile, getName, getOpenChooser, getSaveChooser, init, isEnabled, isModified, putAction, read, removePropertyChangeListener, setEnabled, setFile, setModified, setName, start, stop, 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 documentView.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 |