private class JFXyAxes.AxisStyleAdapter extends Object implements ChartTextStyle
| Modifier and Type | Field and Description |
|---|---|
private org.jfree.chart.axis.Axis |
axis |
| Modifier | Constructor and Description |
|---|---|
private |
AxisStyleAdapter(org.jfree.chart.axis.Axis axis)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ChartTextStyle |
withColor(Color color)
Sets the text color
|
ChartTextStyle |
withFont(Font font)
Sets the font for this text style
|
private AxisStyleAdapter(org.jfree.chart.axis.Axis axis)
axis - the axis for this adapterpublic ChartTextStyle withColor(Color color)
ChartTextStylewithColor in interface ChartTextStylecolor - color valuepublic ChartTextStyle withFont(Font font)
ChartTextStylewithFont in interface ChartTextStylefont - sets the font for textCopyright 2014-2017, Xavier Witdouck