Search in sources :

Example 31 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class SpotAnalysis method createResultsWindow.

private void createResultsWindow() {
    if (!resultsWindowShowing()) {
        resultsWindow = new TextWindow(TITLE + " Results", "Id\tcx\tcy\tSignal\tt-On (ms)\tt-Off (ms)\tBlinks\tAv.t-On\tAv.t-Off\tSource", "", 600, 200);
        resultsWindow.setVisible(true);
    }
}
Also used : TextWindow(ij.text.TextWindow)

Example 32 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class BenchmarkFilterAnalysis method createResultsWindow.

private void createResultsWindow() {
    if (!showResultsTable)
        return;
    if (isHeadless) {
        IJ.log(createResultsHeader(false));
    } else {
        if (resultsWindow == null || !resultsWindow.isShowing()) {
            String header = createResultsHeader(false);
            resultsWindow = new TextWindow(TITLE + " Results", header, "", 900, 300);
        }
        if (clearTables)
            resultsWindow.getTextPanel().clear();
    }
}
Also used : TextWindow(ij.text.TextWindow) BufferedTextWindow(gdsc.core.ij.BufferedTextWindow)

Example 33 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class FilterAnalysis method createSensitivityWindow.

private void createSensitivityWindow() {
    if (isHeadless) {
        IJ.log(createSensitivityHeader());
    } else {
        if (sensitivityWindow == null || !sensitivityWindow.isShowing()) {
            String header = createSensitivityHeader();
            sensitivityWindow = new TextWindow(TITLE + " Sensitivity", header, "", 900, 300);
        }
    }
}
Also used : TextWindow(ij.text.TextWindow)

Example 34 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class CreateData method createSummaryTable.

private void createSummaryTable() {
    if (java.awt.GraphicsEnvironment.isHeadless()) {
        if (header == null) {
            header = createHeader();
            IJ.log(header);
        }
    } else {
        if (summaryTable == null || !summaryTable.isVisible()) {
            summaryTable = new TextWindow("Data Summary", createHeader(), "", 800, 300);
            summaryTable.setVisible(true);
        }
    }
}
Also used : TextWindow(ij.text.TextWindow)

Example 35 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class DoubletAnalysis method createAnalysisTable.

/**
	 * Creates the analysis table.
	 */
private void createAnalysisTable() {
    if (analysisTable == null || !analysisTable.isVisible()) {
        analysisTable = new TextWindow(TITLE + " Analysis", createAnalysisHeader(), "", 1200, 300);
        analysisTable.setVisible(true);
    }
}
Also used : TextWindow(ij.text.TextWindow)

Aggregations

TextWindow (ij.text.TextWindow)61 Point (java.awt.Point)11 BufferedTextWindow (uk.ac.sussex.gdsc.core.ij.BufferedTextWindow)11 BufferedTextWindow (gdsc.core.ij.BufferedTextWindow)7 ArrayList (java.util.ArrayList)6 PointPair (uk.ac.sussex.gdsc.core.match.PointPair)5 IJ (ij.IJ)4 ImagePlus (ij.ImagePlus)4 LinkedList (java.util.LinkedList)4 Coordinate (uk.ac.sussex.gdsc.core.match.Coordinate)4 ImageROIPainter (gdsc.smlm.ij.utils.ImageROIPainter)3 List (java.util.List)3 PeakResultPoint (uk.ac.sussex.gdsc.smlm.results.PeakResultPoint)3 Coordinate (gdsc.core.match.Coordinate)2 MatchResult (gdsc.core.match.MatchResult)2 PointPair (gdsc.core.match.PointPair)2 TIntHashSet (gnu.trove.set.hash.TIntHashSet)2 GenericDialog (ij.gui.GenericDialog)2 ImageWindow (ij.gui.ImageWindow)2 PlotWindow (ij.gui.PlotWindow)2