Gets the font for xLabel ('x'), yLabel('y'), numbers ('f' for 'frame') or the legend ('l'). Returns null if the given PlotObject does not exist or its font is null
(char c)
| 1320 | /** Gets the font for xLabel ('x'), yLabel('y'), numbers ('f' for 'frame') or the legend ('l'). |
| 1321 | * Returns null if the given PlotObject does not exist or its font is null */ |
| 1322 | public Font getFont(char c) { |
| 1323 | PlotObject plotObject = pp.getPlotObject(c); |
| 1324 | if (plotObject != null) |
| 1325 | return plotObject.getFont(); |
| 1326 | else |
| 1327 | return null; |
| 1328 | } |
| 1329 | |
| 1330 | /** Sets the font for xLabel ('x'), yLabel('y'), numbers ('f' for 'frame') or the legend ('l') */ |
| 1331 | public void setFont(char c, Font font) { |
nothing calls this directly
no test coverage detected