|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Translator
The Translator interface defines the methods for importing and exporting scenes in foreign file formats.
| Method Summary | |
|---|---|
boolean |
canExport()
Specify whether this translator can export files. |
boolean |
canImport()
Specify whether this translator can import files. |
void |
exportFile(buoy.widget.BFrame parent,
Scene theScene)
Prompt the user for a filename and any other necessary information, and export the scene. |
java.lang.String |
getName()
Get the name of the file format which this translator imports or exports. |
void |
importFile(buoy.widget.BFrame parent)
Prompt the user to select a file, read it, and create a new LayoutWindow containing the imported scene. |
| Method Detail |
|---|
java.lang.String getName()
boolean canImport()
boolean canExport()
void importFile(buoy.widget.BFrame parent)
void exportFile(buoy.widget.BFrame parent,
Scene theScene)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||