public interface FontSource<K>
Font instances associated with
keys. This is used by the PiePlot3D class to obtain section label
fonts for each data item(segment) in the chart. A default implementation
(StandardFontSource) is provided.| Modifier and Type | Method and Description |
|---|---|
java.awt.Font |
getFont(K key)
Returns a font based on the supplied key.
|
void |
setFont(K key,
java.awt.Font font)
Sets the font associated with a key.
|
void |
style(java.awt.Font font)
Restyles the source using the specified font.
|
java.awt.Font getFont(K key)
key - the key (null not permitted).null).void setFont(K key, java.awt.Font font)
key - the key (null not permitted).font - the font (null not permitted).void style(java.awt.Font font)
font - the font (null not permitted).