edu.jhu.tmaj.client.arraybuilder.data
Class ArrayBlockExporter
java.lang.Object
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. )
|
Method Summary |
void |
exportFull(boolean toExcel)
Exports full detail on each of the ArrayCores in the ArrayBlock to a file. |
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 |
ArrayBlockExporter
public ArrayBlockExporter(ArrayBlockBean arrayBlockBean,
ArrayBuilderTable arrayBuilderTable,
ArrayCoreReferenceBean arrayCoreReferenceBean,
java.awt.Component parent_component)
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.
exportFull
public void exportFull(boolean toExcel)
- Exports full detail on each of the ArrayCores in the ArrayBlock to a file. Each ArrayCore is
one row, so there will be NumberOfRows*NumberOfColumns rows in the exported file.