Documentation of 'de.erichseifert.gral.plots.colors.AbstractColorMapper' Java class
AbstractColorMapper
de.erichseifert.gral.plots.colors

Class AbstractColorMapper<T extends java.lang.Number>

  • Type Parameters:
    T - Data type of input values.
    All Implemented Interfaces:
    ColorMapper, java.io.Serializable
    Direct Known Subclasses:
    ContinuousColorMapper, IndexedColorMapper


    public abstract class AbstractColorMapper<T extends java.lang.Number>
    extends java.lang.Object
    implements ColorMapper, java.io.Serializable
    Interface that maps numbers to Paint objects. This can be used to generate colors or gradients for various elements in a plot, e.g. lines, areas, etc.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractColorMapper()
      Initializes a new instance with default values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ColorMapper.Mode getMode()
      Returns how values outside of the mapping range will be handled.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.erichseifert.gral.plots.colors.ColorMapper

        get
    • Constructor Detail

      • AbstractColorMapper

        public AbstractColorMapper()
        Initializes a new instance with default values.
    • Method Detail

      • getMode

        public ColorMapper.Mode getMode()
        Returns how values outside of the mapping range will be handled.
        Specified by:
        getMode in interface ColorMapper
        Returns:
        Handling of values outside of the mapping range.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.