use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class BenchmarkFit method createTable.
private void createTable() {
if (summaryTable == null || !summaryTable.isVisible()) {
summaryTable = new TextWindow(TITLE, createHeader(false), "", 1000, 300);
summaryTable.setVisible(true);
}
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class BenchmarkFit method createAnalysisTable.
private void createAnalysisTable() {
if (analysisTable == null || !analysisTable.isVisible()) {
analysisTable = new TextWindow(TITLE + " Combined Analysis", createHeader(true), "", 1000, 300);
analysisTable.setVisible(true);
}
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class BenchmarkSmartSpotRanking method createTable.
private void createTable() {
if (summaryTable == null || !summaryTable.isVisible()) {
summaryTable = new TextWindow(TITLE, createHeader(false), "", 1000, 300);
summaryTable.setVisible(true);
}
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class BenchmarkSpotFilter method getTable.
private BufferedTextWindow getTable(boolean batchSummary) {
if (batchSummary) {
if (batchSummaryTable == null || !batchSummaryTable.isVisible()) {
TextWindow table = new TextWindow(TITLE + " Batch", createHeader(), "", 1000, 300);
table.setVisible(true);
batchSummaryTable = new BufferedTextWindow(table);
}
return batchSummaryTable;
} else {
if (summaryTable == null || !summaryTable.isVisible()) {
TextWindow table = new TextWindow(TITLE, createHeader(), "", 1000, 300);
table.setVisible(true);
summaryTable = new BufferedTextWindow(table);
}
return summaryTable;
}
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class PCPALMFitting method createResultsTable.
private void createResultsTable() {
if (resultsTable == null || !resultsTable.isVisible()) {
StringBuilder sb = new StringBuilder();
sb.append("Model\t");
sb.append("Colour\t");
sb.append("Valid\t");
sb.append("Precision (nm)\t");
sb.append("Density (um^-2)\t");
sb.append("Domain Radius (nm)\t");
// TODO - Find out the units of the domain density
sb.append("Domain Density\t");
sb.append("N-cluster\t");
sb.append("Coherence\t");
sb.append("cAIC\t");
resultsTable = new TextWindow(TITLE, sb.toString(), (String) null, 800, 300);
}
}
Aggregations