org.biojava.bio.structure.gui.util.color
public abstract class ContinuousColorMapperTransform extends java.lang.Object implements ContinuousColorMapper
Modifier and Type | Field and Description |
---|---|
protected ContinuousColorMapper |
mapper |
Constructor and Description |
---|
ContinuousColorMapperTransform(ContinuousColorMapper submapper)
Creates a transform.
|
protected ContinuousColorMapper mapper
public ContinuousColorMapperTransform(ContinuousColorMapper submapper)
submapper
- A color mapper which acts on the transformed input value.public java.awt.Color getColor(double value)
getColor
in interface ContinuousColorMapper
value
- Value to be mappedContinuousColorMapper.getColor(double)
public abstract double transform(double value)
the
- input value