Class ColorInformation


  • public class ColorInformation
    extends java.lang.Object
    Since 3.6.0
    • Constructor Detail

      • ColorInformation

        public ColorInformation()
      • ColorInformation

        public ColorInformation​(Range range,
                                Color color)
    • Method Detail

      • getRange

        public Range getRange()
        The range in the document where this color appears.
      • setRange

        public void setRange​(Range range)
        The range in the document where this color appears.
      • getColor

        public Color getColor()
        The actual color value for this color range.
      • setColor

        public void setColor​(Color color)
        The actual color value for this color range.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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