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 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(List<TextField> colors,
List<Panel> swatches) |
protected ij.gui.GenericDialog |
constructDialog() |
private Panel |
createSwatch(Color color) |
private int |
getColorValue(TextField colorField) |
private List<TextField> |
getNumericFields(ij.gui.GenericDialog gd) |
protected boolean |
harvestResults(ij.gui.GenericDialog gd) |
private String |
makeLabel(String baseLabel,
int s,
int c) |
protected boolean |
needPrompt() |
displayDialog, showDialogaddCheckbox, addChoice, sleepprivate static final Dimension SWATCH_SIZE
public 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 int getColorValue(TextField colorField)
Copyright © 2016 Open Microscopy Environment