org.free.garminimg.swing
Class FileExporter

java.lang.Object
  extended by org.free.garminimg.swing.FileExporter
Direct Known Subclasses:
PdfFileExporter, SimpleFileExporter

public abstract class FileExporter
extends java.lang.Object


Field Summary
static FileExporter[] exporters
           
 
Constructor Summary
FileExporter()
           
 
Method Summary
abstract  void finishSave()
           
abstract  javax.swing.JPanel getConfigurationPanel(FileExporterConfigListener itemListener)
           
static FileExporter getExporterForFile(java.io.File f)
           
abstract  java.lang.String getExtension()
           
 float getFontSize()
           
abstract  java.awt.Graphics2D getG2()
           
abstract  void setup(java.io.File selectedFile, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exporters

public static final FileExporter[] exporters
Constructor Detail

FileExporter

public FileExporter()
Method Detail

getExtension

public abstract java.lang.String getExtension()

setup

public abstract void setup(java.io.File selectedFile,
                           int width,
                           int height)
                    throws java.io.IOException
Throws:
java.io.IOException

getG2

public abstract java.awt.Graphics2D getG2()

finishSave

public abstract void finishSave()
                         throws java.io.IOException
Throws:
java.io.IOException

getConfigurationPanel

public abstract javax.swing.JPanel getConfigurationPanel(FileExporterConfigListener itemListener)

getExporterForFile

public static FileExporter getExporterForFile(java.io.File f)

getFontSize

public float getFontSize()


Copyright © 2008. All Rights Reserved.