Package org.jfree.chart
Class ChartHints.Key
- java.lang.Object
-
- java.awt.RenderingHints.Key
-
- org.jfree.chart.ChartHints.Key
-
- Enclosing class:
- ChartHints
public static class ChartHints.Key extends java.awt.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 boolean
isCompatibleValue(java.lang.Object val)
Returnstrue
ifval
is a value that is compatible with this key, andfalse
otherwise.
-
-
-
Constructor Detail
-
Key
public Key(int privateKey)
Creates a new key.- Parameters:
privateKey
- the private key.
-
-
Method Detail
-
isCompatibleValue
public boolean isCompatibleValue(java.lang.Object val)
Returnstrue
ifval
is a value that is compatible with this key, andfalse
otherwise.- Specified by:
isCompatibleValue
in classjava.awt.RenderingHints.Key
- Parameters:
val
- the value.- Returns:
- A boolean.
-
-