|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface NodeViewExport.ExportType
Interface for export types.
Method Summary | |
---|---|
void |
export(File destination,
Component cont,
int width,
int height)
Called when the component is to be exported. |
String |
getDescription()
A description for export type, this should be a one-liner such as "PNG - Portable Network Graphics" or "SVG - Scalable Vector Graphics". |
String |
getFileSuffix()
Suffix of the file being written. |
Method Detail |
---|
String getDescription()
null
.String getFileSuffix()
null
.void export(File destination, Component cont, int width, int height) throws IOException
destination
- The destination file.cont
- The component to draw.width
- The width of the component.height
- The height of the component.
IOException
- If this fails for any reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |