org::gel::mauve::gui::ExportFrame Class Reference

Collaboration diagram for org::gel::mauve::gui::ExportFrame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExportFrame (RearrangementPanel rrpanel)

Private Member Functions

void doExport ()
void export (File outputFile, double scale, String formatName)
File getFileWithExtension (String fileName, String format)
void scaleWidth (int width)
void writeJpeg (File outputFile, BufferedImage img) throws IOException

Private Attributes

JFileChooser fc = new JFileChooser()
JComboBox formatSelector = new JComboBox()
JFormattedTextField heightBox = new JFormattedTextField(FORMAT)
float jpegQuality = 0.75f
JTextField outputFile = new JTextField()
ButtonGroup qualityGroup = new ButtonGroup()
RearrangementPanel rrpanel
double scale = 1.0
boolean scaleChanging = false
JFormattedTextField widthBox = new JFormattedTextField(FORMAT)

Static Private Attributes

final DecimalFormat FORMAT = new DecimalFormat("##########")

Constructor & Destructor Documentation

org::gel::mauve::gui::ExportFrame::ExportFrame RearrangementPanel  rrpanel  )  [inline]
 

Definition at line 59 of file ExportFrame.java.

References formatSelector.


Member Function Documentation

void org::gel::mauve::gui::ExportFrame::doExport  )  [inline, private]
 

Definition at line 343 of file ExportFrame.java.

void org::gel::mauve::gui::ExportFrame::export File  outputFile,
double  scale,
String  formatName
[inline, private]
 

Definition at line 371 of file ExportFrame.java.

File org::gel::mauve::gui::ExportFrame::getFileWithExtension String  fileName,
String  format
[inline, private]
 

Definition at line 350 of file ExportFrame.java.

void org::gel::mauve::gui::ExportFrame::scaleWidth int  width  )  [inline, private]
 

Definition at line 458 of file ExportFrame.java.

void org::gel::mauve::gui::ExportFrame::writeJpeg File  outputFile,
BufferedImage  img
throws IOException [inline, private]
 

Parameters:
outputFile 
img 
Exceptions:
IOException 

Definition at line 430 of file ExportFrame.java.


Member Data Documentation

JFileChooser org::gel::mauve::gui::ExportFrame::fc = new JFileChooser() [private]
 

Definition at line 48 of file ExportFrame.java.

final DecimalFormat org::gel::mauve::gui::ExportFrame::FORMAT = new DecimalFormat("##########") [static, private]
 

Definition at line 44 of file ExportFrame.java.

JComboBox org::gel::mauve::gui::ExportFrame::formatSelector = new JComboBox() [private]
 

Definition at line 49 of file ExportFrame.java.

Referenced by ExportFrame().

JFormattedTextField org::gel::mauve::gui::ExportFrame::heightBox = new JFormattedTextField(FORMAT) [private]
 

Definition at line 53 of file ExportFrame.java.

float org::gel::mauve::gui::ExportFrame::jpegQuality = 0.75f [private]
 

Definition at line 56 of file ExportFrame.java.

JTextField org::gel::mauve::gui::ExportFrame::outputFile = new JTextField() [private]
 

Definition at line 47 of file ExportFrame.java.

ButtonGroup org::gel::mauve::gui::ExportFrame::qualityGroup = new ButtonGroup() [private]
 

Definition at line 57 of file ExportFrame.java.

RearrangementPanel org::gel::mauve::gui::ExportFrame::rrpanel [private]
 

Definition at line 46 of file ExportFrame.java.

double org::gel::mauve::gui::ExportFrame::scale = 1.0 [private]
 

Definition at line 51 of file ExportFrame.java.

boolean org::gel::mauve::gui::ExportFrame::scaleChanging = false [private]
 

Definition at line 54 of file ExportFrame.java.

JFormattedTextField org::gel::mauve::gui::ExportFrame::widthBox = new JFormattedTextField(FORMAT) [private]
 

Definition at line 52 of file ExportFrame.java.


The documentation for this class was generated from the following file:
Generated on Mon Aug 19 06:04:02 2013 for Mauve by doxygen 1.3.6