public interface ConverterSetup
Modifier and Type | Interface and Description |
---|---|
static interface |
ConverterSetup.SetupChangeListener
ConverterSetup.SetupChangeListener s are notified about changes to a
ConverterSetup . |
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 . |
default void |
setViewer(RequestRepaint viewer)
Deprecated.
|
boolean |
supportsColor() |
org.scijava.listeners.Listeners<ConverterSetup.SetupChangeListener> setupChangeListeners()
SetupChangeListener
s can be added/removed here, and will be
notified about changes to this ConverterSetup
.int getSetupId()
BasicViewSetup
this converter acts on.BasicViewSetup
this converter acts on.void setDisplayRange(double min, double max)
min
- source value to map to minimum of the target range.max
- source value to map to maximum of the target range.void setColor(ARGBType color)
boolean supportsColor()
double getDisplayRangeMin()
double getDisplayRangeMax()
ARGBType getColor()
@Deprecated default void setViewer(RequestRepaint viewer)
setupChangeListeners().add( s -> viewer.requestRepaint() )
" instead.
Set the RequestRepaint
that should be notified if
ConverterSetup
settings change.
viewer
- Copyright © 2015–2021 Fiji. All rights reserved.