public class RealARGBColorConverterSetup extends Object implements ConverterSetup
ConverterSetup.SetupChangeListener| Constructor and Description |
|---|
RealARGBColorConverterSetup(int setupId,
ColorConverter... converters) |
RealARGBColorConverterSetup(int setupId,
List<ColorConverter> converters) |
| Modifier and Type | Method and Description |
|---|---|
ARGBType |
getColor()
Get the color for this converter.
|
double |
getDisplayRangeMax()
Get the (smallest) source value that is mapped to the maximum of the
target range.
|
double |
getDisplayRangeMin()
Get the (largest) source value that is mapped to the minimum of the
target range.
|
int |
getSetupId()
Get the id of the
BasicViewSetup this converter acts on. |
void |
setColor(ARGBType color)
Set the color for this converter.
|
void |
setDisplayRange(double min,
double max)
Set the range of source values that is mapped to the full range of the
target type.
|
org.scijava.listeners.Listeners<ConverterSetup.SetupChangeListener> |
setupChangeListeners()
SetupChangeListeners can be added/removed here, and will be
notified about changes to this ConverterSetup. |
boolean |
supportsColor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetViewerpublic RealARGBColorConverterSetup(int setupId,
ColorConverter... converters)
public RealARGBColorConverterSetup(int setupId,
List<ColorConverter> converters)
public org.scijava.listeners.Listeners<ConverterSetup.SetupChangeListener> setupChangeListeners()
ConverterSetupSetupChangeListeners can be added/removed here, and will be
notified about changes to this ConverterSetup.setupChangeListeners in interface ConverterSetuppublic void setDisplayRange(double min,
double max)
ConverterSetupsetDisplayRange in interface ConverterSetupmin - source value to map to minimum of the target range.max - source value to map to maximum of the target range.public void setColor(ARGBType color)
ConverterSetupsetColor in interface ConverterSetuppublic boolean supportsColor()
supportsColor in interface ConverterSetuppublic int getSetupId()
ConverterSetupBasicViewSetup this converter acts on.getSetupId in interface ConverterSetupBasicViewSetup this converter acts on.public double getDisplayRangeMin()
ConverterSetupgetDisplayRangeMin in interface ConverterSetuppublic double getDisplayRangeMax()
ConverterSetupgetDisplayRangeMax in interface ConverterSetuppublic ARGBType getColor()
ConverterSetupgetColor in interface ConverterSetupCopyright © 2015–2021 Fiji. All rights reserved.