public class BaseTickMajor extends Object
| Modifier and Type | Method and Description |
|---|---|
Axis |
getAxis()
Returns the axis instance.
|
IsColor |
getFontColor()
Returns the font color for tick
|
String |
getFontColorAsString()
Returns the font color for tick
|
String |
getFontFamily()
Returns the font family for the tick, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size for tick.
|
FontStyle |
getFontStyle()
Returns the font style for the tick, follows CSS font-style options (i.e.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
String |
getLineHeightAsString()
Returns the height of an individual line of text.
|
boolean |
isEnabled()
If
true, major tick options are used to show major ticks. |
void |
setEnabled(boolean enabled)
If
true, major tick options are used to show major ticks. |
void |
setFontColor(IsColor fontColor)
Sets the font color for tick
|
void |
setFontColor(String fontColor)
Sets the font color for tick
|
void |
setFontFamily(String fontFamily)
Sets the font family for the tick, follows CSS font-family options.
|
void |
setFontSize(int fontSize)
Sets the font size for tick.
|
void |
setFontStyle(FontStyle fontStyle)
Sets the font style for the tick, follows CSS font-style options (i.e.
|
void |
setLineHeight(double lineHeight)
Sets the height of an individual line of text.
|
void |
setLineHeight(String lineHeight)
Sets the height of an individual line of text.
|
public void setEnabled(boolean enabled)
true, major tick options are used to show major ticks.enabled - if true, major tick options are used to show major tickspublic boolean isEnabled()
true, major tick options are used to show major ticks.true, major tick options are used to show major tickspublic void setFontSize(int fontSize)
fontSize - the font size for tick.public int getFontSize()
public void setFontStyle(FontStyle fontStyle)
fontStyle - Font style for the tick, follows CSS font-style options (i.e. normal, italic, oblique, initial,
inherit).public FontStyle getFontStyle()
public void setFontColor(IsColor fontColor)
fontColor - Font color for tickpublic void setFontColor(String fontColor)
fontColor - Font color for tickpublic String getFontColorAsString()
public IsColor getFontColor()
public void setFontFamily(String fontFamily)
fontFamily - Font family for the tick, follows CSS font-family options.public String getFontFamily()
public void setLineHeight(double lineHeight)
lineHeight - height of an individual line of text.public void setLineHeight(String lineHeight)
lineHeight - height of an individual line of text.public double getLineHeight()
public String getLineHeightAsString()
public final Axis getAxis()