Package loci.plugins.in
Class ColorDialog
java.lang.Object
loci.plugins.prefs.OptionsDialog
loci.plugins.in.ImporterDialog
loci.plugins.in.ColorDialog
Bio-Formats Importer custom color chooser dialog box.
Heavily adapted from
ColorChooser.
ColorChooser is not used because there is no way to change the slider
labels—this means that we can't record macros in which custom colors
are chosen for multiple channels.- Author:
- Melissa Linkert melissa at glencoesoftware.com, Curtis Rueden ctrueden at wisc.edu
-
Field Summary
FieldsFields inherited from class loci.plugins.in.ImporterDialog
options, processFields inherited from class loci.plugins.prefs.OptionsDialog
IS_GLITCHED, optionsList, STATUS_CANCELED, STATUS_FINISHED, STATUS_OK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidattachListeners(List<TextField> colors, List<Panel> swatches) protected ij.gui.GenericDialogprivate PanelcreateSwatch(Color color) private intgetColorValue(TextField colorField) getNumericFields(ij.gui.GenericDialog gd) protected booleanharvestResults(ij.gui.GenericDialog gd) private Stringprotected booleanMethods inherited from class loci.plugins.in.ImporterDialog
displayDialog, showDialogMethods inherited from class loci.plugins.prefs.OptionsDialog
addCheckbox, addChoice, sleep
-
Field Details
-
SWATCH_SIZE
-
-
Constructor Details
-
ColorDialog
-
-
Method Details
-
needPrompt
protected boolean needPrompt()- Specified by:
needPromptin classImporterDialog
-
constructDialog
protected ij.gui.GenericDialog constructDialog()- Specified by:
constructDialogin classImporterDialog
-
harvestResults
protected boolean harvestResults(ij.gui.GenericDialog gd) - Specified by:
harvestResultsin classImporterDialog
-
makeLabel
-
createSwatch
-
attachListeners
-
getColorValue
-
getNumericFields
-