Class ChartHints.Key

  • Enclosing class:
    ChartHints

    public static class ChartHints.Key
    extends java.awt.RenderingHints.Key
    A key for rendering hints that can be used with JFreeChart (in addition to the regular Java2D rendering hints).
    • Constructor Summary

      Constructors 
      Constructor Description
      Key​(int privateKey)
      Creates a new key.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isCompatibleValue​(java.lang.Object val)
      Returns true if val is a value that is compatible with this key, and false otherwise.
      • Methods inherited from class java.awt.RenderingHints.Key

        equals, hashCode, intKey
      • Methods inherited from class java.lang.Object

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

      • Key

        public Key​(int privateKey)
        Creates a new key.
        Parameters:
        privateKey - the private key.
    • Method Detail

      • isCompatibleValue

        public boolean isCompatibleValue​(java.lang.Object val)
        Returns true if val is a value that is compatible with this key, and false otherwise.
        Specified by:
        isCompatibleValue in class java.awt.RenderingHints.Key
        Parameters:
        val - the value.
        Returns:
        A boolean.