Interface IAxisTitlePropertyOwner<T>
- All Known Implementing Classes:
BarChartNumericYAxis,GanttChartCategoryYAxis,GanttChartNumericXAxis,GanttChartTimeXAxis,HeatmapChartXAxis,HeatmapChartYAxis,LineChartNumericXAxis,LineChartNumericYAxis,LineChartTimeXAxis
public interface IAxisTitlePropertyOwner<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetTitle()Returns the title of this axis, ornullif title has not been specified.javafx.scene.paint.ColorReturns the color of this axis title.javafx.scene.text.FontReturns the font of this axis title.intReturns the font size of this axis title.booleanChecks whether this axis title should be drawn.Sets the new title to this axis.setTitleColor(Color color) Sets the new color to this axis title.setTitleColor(javafx.scene.paint.Color color) Sets the new color to this axis title.setTitleFont(javafx.scene.text.Font font) Sets the new font to this axis title.setTitleFontSize(int fontSize) Sets the new font size to this axis title.setTitleVisible(boolean visible) Specifies whether this axis title should be drawn.
-
Method Details
-
setTitle
Sets the new title to this axis. Redraws this axis and it's parent chart if title is changed.- Parameters:
title- new axis title- Returns:
- reference to this object
- See Also:
-
setTitleVisible
Specifies whether this axis title should be drawn. Redraws this axis and it's parent chart if visibility is changed.- Parameters:
visible- new axis title visibility- Returns:
- reference to this object
- See Also:
-
setTitleFont
Sets the new font to this axis title. Redraws this axis and it's parent chart if font is changed.- Parameters:
font- new axis title font- Returns:
- reference to this object
- See Also:
-
setTitleFontSize
Sets the new font size to this axis title. Redraws this axis and it's parent chart if font size is changed.- Parameters:
fontSize- new axis title font size- Returns:
- reference to this object
- See Also:
-
setTitleColor
Sets the new color to this axis title. Redraws this axis and it's parent chart if color is changed.- Parameters:
color- new axis title color- Returns:
- reference to this object
- See Also:
-
setTitleColor
Sets the new color to this axis title. Redraws this axis and it's parent chart if color is changed.- Parameters:
color- new axis title color- Returns:
- reference to this object
- See Also:
-
getTitleColor
javafx.scene.paint.Color getTitleColor()Returns the color of this axis title.- Returns:
- the color of this axis title
-
getTitle
String getTitle()Returns the title of this axis, ornullif title has not been specified.- Returns:
- the title of this axis, or
nullif title has not been specified
-
isTitleVisible
boolean isTitleVisible()Checks whether this axis title should be drawn.- Returns:
trueif this axis title should be drawn,falseotherwise
-
getTitleFont
javafx.scene.text.Font getTitleFont()Returns the font of this axis title.- Returns:
- axis title font
-
getTitleFontSize
int getTitleFontSize()Returns the font size of this axis title.- Returns:
- the font size of this axis title
-