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()
SetupChangeListener s 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, wait
setViewer
public RealARGBColorConverterSetup(int setupId, ColorConverter... converters)
public RealARGBColorConverterSetup(int setupId, List<ColorConverter> converters)
public org.scijava.listeners.Listeners<ConverterSetup.SetupChangeListener> setupChangeListeners()
ConverterSetup
SetupChangeListener
s can be added/removed here, and will be
notified about changes to this ConverterSetup
.setupChangeListeners
in interface ConverterSetup
public void setDisplayRange(double min, double max)
ConverterSetup
setDisplayRange
in interface ConverterSetup
min
- 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)
ConverterSetup
setColor
in interface ConverterSetup
public boolean supportsColor()
supportsColor
in interface ConverterSetup
public int getSetupId()
ConverterSetup
BasicViewSetup
this converter acts on.getSetupId
in interface ConverterSetup
BasicViewSetup
this converter acts on.public double getDisplayRangeMin()
ConverterSetup
getDisplayRangeMin
in interface ConverterSetup
public double getDisplayRangeMax()
ConverterSetup
getDisplayRangeMax
in interface ConverterSetup
public ARGBType getColor()
ConverterSetup
getColor
in interface ConverterSetup
Copyright © 2015–2021 Fiji. All rights reserved.