edu.jhu.tmaj.client.arraybuilder.data
Class ArrayBlockExporter

java.lang.Object
  extended by edu.jhu.tmaj.client.arraybuilder.data.ArrayBlockExporter

public final class ArrayBlockExporter
extends java.lang.Object

Class provides functions that export the design of an ArrayBlock to a file. These export formats are designed to be consise so the exported file can be printed on just one sheet. A "Standard" export prints information for each ArrayCore,which possibly wastes space if some are repeated. The exportFull() prints in a horizontal format, non-array format, printing each ArrayCore as one row in a table and giving full details.

Export Grouped Option

The exportGrouped option will only work for some formats and is designed to save space. Some labs "group" ArrayCores together, for example, by putting the same tissue in 4 consecutive cores. If an a designer uses this special format, they can save more space by using a grouped exporter designed in the class GroupArrayBlockExporter. (Note: The exportedGrouped function has been discontinued. )


Nested Class Summary
static class ArrayBlockExporter.ArrayExportFormat
          Represents different formats for exporting ArrayBuilder data in an Array-like text file.
 
Constructor Summary
ArrayBlockExporter(ArrayBlockBean arrayBlockBean, ArrayBuilderTable arrayBuilderTable, ArrayCoreReferenceBean arrayCoreReferenceBean, CellLinesReferenceBean cellLinesReferenceBean, java.awt.Component parent_component)
           
 
Method Summary
 void exportCellLine(boolean toExcel)
           
 void exportStandard(ArrayBlockExporter.ArrayExportFormat arrayExportFormat, boolean toExcel)
          Exports the arrayBlock design to a tab-delimited file in a grid format, where each grid location corresponds to an ArrayCore position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayBlockExporter

public ArrayBlockExporter(ArrayBlockBean arrayBlockBean,
                          ArrayBuilderTable arrayBuilderTable,
                          ArrayCoreReferenceBean arrayCoreReferenceBean,
                          CellLinesReferenceBean cellLinesReferenceBean,
                          java.awt.Component parent_component)
Method Detail

exportStandard

public void exportStandard(ArrayBlockExporter.ArrayExportFormat arrayExportFormat,
                           boolean toExcel)
Exports the arrayBlock design to a tab-delimited file in a grid format, where each grid location corresponds to an ArrayCore position. Each arrayCore position will have information on the donor-block from where its tissue was obtained.


exportCellLine

public void exportCellLine(boolean toExcel)