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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCompatibleValue
(Object val) Returnstrue
ifval
is a value that is compatible with this key, andfalse
otherwise.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
Returnstrue
ifval
is a value that is compatible with this key, andfalse
otherwise.- Specified by:
isCompatibleValue
in classRenderingHints.Key
- Parameters:
val
- the value.- Returns:
- A boolean.
-