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 GenericDialog |
constructDialog() |
private Panel |
createSwatch(Color color) |
private int |
getColorValue(TextField colorField) |
private List<TextField> |
getNumericFields(GenericDialog gd) |
protected boolean |
harvestResults(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 GenericDialog constructDialog()
constructDialog in class ImporterDialogprotected boolean harvestResults(GenericDialog gd)
harvestResults in class ImporterDialogprivate int getColorValue(TextField colorField)
private List<TextField> getNumericFields(GenericDialog gd)
Copyright © 2015 Open Microscopy Environment