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

Class SingleColor

    • Constructor Summary

      Constructors 
      Constructor and Description
      SingleColor(java.awt.Paint color)
      Creates a new instance with the specified color.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      java.awt.Paint get(int value)
      Returns the Paint according to the specified value.
      java.awt.Paint getColor()
      Returns the color of this ColorMapper.
      int hashCode() 
      void setColor(java.awt.Paint color)
      Sets the color of this ColorMapper.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleColor

        public SingleColor(java.awt.Paint color)
        Creates a new instance with the specified color.
        Parameters:
        color - Color to use.
    • Method Detail

      • get

        public java.awt.Paint get(int value)
        Returns the Paint according to the specified value.
        Specified by:
        get in class IndexedColorMapper
        Parameters:
        value - Numeric index.
        Returns:
        Paint.
      • getColor

        public java.awt.Paint getColor()
        Returns the color of this ColorMapper.
        Returns:
        Color.
      • setColor

        public void setColor(java.awt.Paint color)
        Sets the color of this ColorMapper.
        Parameters:
        color - Color to be set.
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.