Package org.jfree.chart
Class ChartHints.Key
java.lang.Object
java.awt.RenderingHints.Key
org.jfree.chart.ChartHints.Key
- Enclosing class:
ChartHints
A key for rendering hints that can be used with JFreeChart (in
addition to the regular Java2D rendering hints).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCompatibleValue(Object val) Returnstrueifvalis a value that is compatible with this key, andfalseotherwise.Methods inherited from class java.awt.RenderingHints.Key
equals, hashCode, intKey
-
Constructor Details
-
Key
Creates a new key.- Parameters:
privateKey- the private key.
-
-
Method Details
-
isCompatibleValue
Returnstrueifvalis a value that is compatible with this key, andfalseotherwise.- Specified by:
isCompatibleValuein classRenderingHints.Key- Parameters:
val- the value.- Returns:
- A boolean.
-