public class ColorDialog extends ImporterDialog
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.| Modifier and Type | Field and Description |
|---|---|
private static java.awt.Dimension |
SWATCH_SIZE |
options, processIS_GLITCHED, optionsList, STATUS_CANCELED, STATUS_FINISHED, STATUS_OK| Constructor and Description |
|---|
ColorDialog(ImportProcess process) |
| Modifier and Type | Method and Description |
|---|---|
private void |
attachListeners(java.util.List<java.awt.TextField> colors,
java.util.List<java.awt.Panel> swatches) |
protected ij.gui.GenericDialog |
constructDialog() |
private java.awt.Panel |
createSwatch(java.awt.Color color) |
private int |
getColorValue(java.awt.TextField colorField) |
private java.util.List<java.awt.TextField> |
getNumericFields(ij.gui.GenericDialog gd) |
protected boolean |
harvestResults(ij.gui.GenericDialog gd) |
private java.lang.String |
makeLabel(java.lang.String baseLabel,
int s,
int c) |
protected boolean |
needPrompt() |
displayDialog, showDialogaddCheckbox, addChoice, sleeppublic ColorDialog(ImportProcess process)
protected boolean needPrompt()
needPrompt in class ImporterDialogprotected ij.gui.GenericDialog constructDialog()
constructDialog in class ImporterDialogprotected boolean harvestResults(ij.gui.GenericDialog gd)
harvestResults in class ImporterDialogprivate java.lang.String makeLabel(java.lang.String baseLabel,
int s,
int c)
private java.awt.Panel createSwatch(java.awt.Color color)
private void attachListeners(java.util.List<java.awt.TextField> colors,
java.util.List<java.awt.Panel> swatches)
private int getColorValue(java.awt.TextField colorField)
private java.util.List<java.awt.TextField> getNumericFields(ij.gui.GenericDialog gd)
Copyright © 2018 Open Microscopy Environment