public final class PlaceHolderConverterSetup extends Object implements ConverterSetup
ConverterSetup.SetupChangeListener| Constructor and Description |
|---|
PlaceHolderConverterSetup(int setupId,
double min,
double max,
ARGBType color) |
PlaceHolderConverterSetup(int setupId,
double min,
double max,
int rgb) |
| 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 |
setColor(int rgb) |
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 PlaceHolderConverterSetup(int setupId,
double min,
double max,
int rgb)
public PlaceHolderConverterSetup(int setupId,
double min,
double max,
ARGBType color)
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 int getSetupId()
ConverterSetupBasicViewSetup this converter acts on.getSetupId in interface ConverterSetupBasicViewSetup this converter acts on.public 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 void setColor(int rgb)
public boolean supportsColor()
supportsColor in interface ConverterSetuppublic double getDisplayRangeMin()
ConverterSetupgetDisplayRangeMin in interface ConverterSetuppublic double getDisplayRangeMax()
ConverterSetupgetDisplayRangeMax in interface ConverterSetuppublic ARGBType getColor()
ConverterSetupgetColor in interface ConverterSetupCopyright © 2015–2021 Fiji. All rights reserved.