Module platform

Class ChartHints.Key

java.lang.Object
java.awt.RenderingHints.Key
org.jfree.chart.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 Details

    • Key

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

    • 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.