- 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 Summary
Constructors Constructor Description Key(int privateKey)Creates a new key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCompatibleValue(Object val)Returnstrueifvalis a value that is compatible with this key, andfalseotherwise.-
Methods inherited from class java.awt.RenderingHints.Key
equals, hashCode, intKey
-
-
-
-
Constructor Detail
-
Key
public Key(int privateKey)
Creates a new key.- Parameters:
privateKey- the private key.
-
-
Method Detail
-
isCompatibleValue
public boolean isCompatibleValue(Object val)
Returnstrueifvalis a value that is compatible with this key, andfalseotherwise.- Specified by:
isCompatibleValuein classRenderingHints.Key- Parameters:
val- the value.- Returns:
- A boolean.
-
-