public class CartesianScaleLabel extends Object
Modifier and Type | Method and Description |
---|---|
IsColor |
getFontColor()
Returns the font color for scale label
|
String |
getFontColorAsString()
Returns the font color for scale label
|
String |
getFontFamily()
Returns the font family for the scale label, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size for scale label.
|
FontStyle |
getFontStyle()
Returns the font style for the scale label, follows CSS font-style options (i.e.
|
String |
getLabelString()
Returns the text for the label.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
CartesianPadding |
getPadding()
Returns the padding element.
|
boolean |
isDisplay()
If true, display the axis title.
|
void |
setDisplay(boolean display)
If true, display the axis title.
|
void |
setFontColor(IsColor fontColor)
Sets the font color for scale label
|
void |
setFontColor(String fontColor)
Sets the font color for scale label
|
void |
setFontFamily(String fontFamily)
Sets the font family for the scale label, follows CSS font-family options.
|
void |
setFontSize(int fontSize)
Sets the font size for scale label.
|
void |
setFontStyle(FontStyle fontStyle)
Sets the font style for the scale label, follows CSS font-style options (i.e.
|
void |
setLabelString(String labelString)
Sets the text for the label.
|
void |
setLineHeight(double lineHeight)
Sets the height of an individual line of text.
|
public CartesianPadding getPadding()
public void setDisplay(boolean display)
display
- If true, display the axis title.public boolean isDisplay()
public void setLabelString(String labelString)
labelString
- The text for the label.public String getLabelString()
public void setLineHeight(double lineHeight)
lineHeight
- Height of an individual line of text.public double getLineHeight()
public void setFontSize(int fontSize)
fontSize
- Font size for scale label.public int getFontSize()
public void setFontStyle(FontStyle fontStyle)
fontStyle
- Font style for the scale label, follows CSS font-style options (i.e. normal, italic, oblique, initial,
inherit).public FontStyle getFontStyle()
public void setFontColor(IsColor fontColor)
fontColor
- Font color for scale labelpublic void setFontColor(String fontColor)
fontColor
- Font color for scale labelpublic String getFontColorAsString()
public IsColor getFontColor()
public void setFontFamily(String fontFamily)
fontFamily
- Font family for the scale label, follows CSS font-family options.public String getFontFamily()