public class BaseTickMajor
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
Returns the axis instance.
|
IsColor |
getFontColor()
Returns the font color for tick
|
java.lang.String |
getFontColorAsString()
Returns the font color for tick
|
java.lang.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.
|
java.lang.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(java.lang.String fontColor)
Sets the font color for tick
|
void |
setFontFamily(java.lang.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(java.lang.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(java.lang.String fontColor)
fontColor
- Font color for tickpublic java.lang.String getFontColorAsString()
public IsColor getFontColor()
public void setFontFamily(java.lang.String fontFamily)
fontFamily
- Font family for the tick, 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 final Axis getAxis()