public class RadialPointLabels
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
Returns the axis instance.
|
RadialPointLabelCallback |
getCallback()
Returns the user callback to change point labels.
|
java.util.List<IsColor> |
getFontColor()
Returns the font color for tick labels.
|
java.util.List<java.lang.String> |
getFontColorAsString()
Returns the font color for tick labels.
|
java.lang.String |
getFontFamily()
Returns the font family for the tick labels, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size for the tick labels.
|
FontStyle |
getFontStyle()
Returns the font style for the tick labels, follows CSS font-style options (i.e.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
java.lang.String |
getLineHeightAsString()
Returns the height of an individual line of text.
|
boolean |
isDisplay()
If true, labels are shown
|
void |
setCallback(RadialPointLabelCallback callback)
Sets the user callback to change point labels.
|
void |
setDisplay(boolean display)
If true, labels are shown
|
void |
setFontColor(IsColor... fontColor)
Sets the font color for tick labels.
|
void |
setFontColor(java.lang.String... fontColor)
Sets the font color for tick labels.
|
void |
setFontFamily(java.lang.String fontFamily)
Sets the font family for the tick labels, follows CSS font-family options.
|
void |
setFontSize(int fontSize)
Sets the font size for the tick labels.
|
void |
setFontStyle(FontStyle fontStyle)
Sets the font style for the tick labels, follows CSS font-style options (i.e.
|
void |
setLineHeight(double lineHeight)
Sets the height of an individual line of text.
|
void |
setLineHeight(java.lang.String lineHeight)
Sets the height of an individual line of text.
|
public void setDisplay(boolean display)
display
- if true, labels are shownpublic boolean isDisplay()
public void setFontSize(int fontSize)
fontSize
- font size for the tick labels.public int getFontSize()
public void setFontStyle(FontStyle fontStyle)
fontStyle
- font style for the tick labels, follows CSS font-style options (i.e. normal, italic, oblique, initial,
inherit).public FontStyle getFontStyle()
public void setFontColor(IsColor... fontColor)
fontColor
- font color for tick labels.public void setFontColor(java.lang.String... fontColor)
fontColor
- font color for tick labels.public java.util.List<java.lang.String> getFontColorAsString()
public java.util.List<IsColor> getFontColor()
public void setFontFamily(java.lang.String fontFamily)
fontFamily
- font family for the tick labels, follows CSS font-family options.public java.lang.String getFontFamily()
public void setLineHeight(double lineHeight)
lineHeight
- height of an individual line of text.public void setLineHeight(java.lang.String lineHeight)
lineHeight
- height of an individual line of text.public double getLineHeight()
public java.lang.String getLineHeightAsString()
public RadialPointLabelCallback getCallback()
public void setCallback(RadialPointLabelCallback callback)
callback
- the callback to setpublic final Axis getAxis()