public class BaseTickMajor extends Object
Modifier and Type | Method and Description |
---|---|
TickCallback |
getCallback()
Returns the user callback 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.
|
void |
setCallback(TickCallback callback)
Sets the user callback instance.
|
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.
|
public 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 TickCallback getCallback()
public void setCallback(TickCallback callback)
callback
- the callback to set