|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExportProvider
Defines the interface that export classes must comply to.
The purpose of an ExportProvider is to write the inspector's displayed
object information to external sources (e.g. files).
| Method Summary | |
|---|---|
boolean |
export(AbstractObjectSpy objSpy,
java.awt.Frame parent)
An export method that allows the provider to show a dialog (e.g. file dialog) before actually writing the data. |
boolean |
export(AbstractObjectSpy objSpy,
java.lang.String filename)
An export method that writes the data immediately to the file with the specified name. |
java.lang.String |
exportLabel()
Returns the label that will be shown in an inspector's 'File' menu. |
java.lang.String |
getVendor()
Returns the vendor of the provider |
java.lang.String |
getVersion()
Returns the version of the provider |
| Method Detail |
|---|
java.lang.String getVersion()
java.lang.String getVendor()
boolean export(AbstractObjectSpy objSpy,
java.awt.Frame parent)
throws java.lang.Exception
objSpy - The wrapped object to be exportedparent - The parent window. Usually that is the inspector window
java.lang.Exception
boolean export(AbstractObjectSpy objSpy,
java.lang.String filename)
throws java.lang.Exception
objSpy - The wrapped object to be exportedfilename - The name of the output file
java.lang.Exceptionjava.lang.String exportLabel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||