public class BaseTick extends ChartContainer
Modifier and Type | Method and Description |
---|---|
TickCallback |
getCallback() |
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.
|
protected java.lang.String |
onCallback(GenericJavaScriptObject object)
Called to change the tick marks to include information about the data type.
|
void |
setCallback(TickCallback callback) |
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.
|
getChart
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
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).FontStyle
public FontStyle getFontStyle()
FontStyle
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 TickCallback getCallback()
public void setCallback(TickCallback callback)
callback
- the callback to setprotected java.lang.String onCallback(GenericJavaScriptObject object)
object
- java script object element of a single tick.TickItem