Class ChartHints.Key

  • Enclosing class:
    ChartHints

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

      • Key

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

      • isCompatibleValue

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