public class RadialLinearTick extends Object implements IsLinearTick
| Modifier and Type | Method and Description |
|---|---|
Axis |
getAxis()
Returns the axis instance.
|
IsColor |
getBackdropColor()
Returns the color of label backdrops.
|
String |
getBackdropColorAsString()
Returns the color of label backdrops.
|
ColorCallback<ScaleContext> |
getBackdropColorCallback()
Returns the backdrop color callback instance.
|
Padding |
getBackdropPadding()
Returns the padding of label backdrop.
|
TickCallback |
getCallback()
Returns the user callback instance.
|
IsColor |
getColor()
Returns the font color.
|
String |
getColorAsString()
Returns the font color as string.
|
ColorCallback<ScaleContext> |
getColorCallback()
Returns the color callback, if set, otherwise
null. |
Font |
getFont()
Returns the font element.
|
FontCallback<ScaleContext> |
getFontCallback()
Returns the font callback, if set, otherwise
null. |
Major |
getMajor()
Returns major tick element.
|
IsNumberFormat |
getNumberFormat()
Returns the number format instance.
|
int |
getPadding()
Returns the padding between the tick label and the axis.
|
ShowLabelBackdropCallback |
getShowLabelBackdropCallback()
Returns the show label backdrop callback instance.
|
IsColor |
getTextStrokeColor()
Returns the text stroke color.
|
String |
getTextStrokeColorAsString()
Returns the text stroke color as string.
|
ColorCallback<ScaleContext> |
getTextStrokeColorCallback()
Returns the text stroke color callback, if set, otherwise
null. |
int |
getTextStrokeWidth()
Returns the text stroke width.
|
WidthCallback<ScaleContext> |
getTextStrokeWidthCallback()
Returns the text stroke width callback, if set, otherwise
null. |
org.pepstock.charba.client.configuration.LinearTickOptionsHandler |
getTickOptionsHandler()
Returns the linear tick options handler instance, for callbacks.
|
int |
getZ()
Returns z-index of tick layer.
|
boolean |
isDisplay()
If true, show tick marks
|
boolean |
isShowLabelBackdrop()
If true, draw a background behind the tick labels.
|
void |
setBackdropColor(ColorCallback<ScaleContext> backdropColorCallback)
Sets the backdrop color callback instance.
|
void |
setBackdropColor(IsColor backdropColor)
Sets the color of label backdrops.
|
void |
setBackdropColor(NativeCallback backdropColorCallback)
Sets the backdrop color callback instance.
|
void |
setBackdropColor(String backdropColor)
Sets the color of label backdrops.
|
void |
setCallback(TickCallback callback)
Sets the user callback instance.
|
void |
setColor(ColorCallback<ScaleContext> colorCallback)
Sets the color callback.
|
void |
setColor(IsColor color)
Sets the font color.
|
void |
setColor(NativeCallback colorCallback)
Sets the color callback.
|
void |
setColor(String color)
Sets the font color.
|
void |
setDisplay(boolean display)
If true, show tick marks.
|
void |
setFont(FontCallback<ScaleContext> fontCallback)
Sets the font callback.
|
void |
setFont(NativeCallback fontCallback)
Sets the font callback.
|
void |
setPadding(int padding)
Sets the padding between the tick label and the axis.
|
void |
setShowLabelBackdrop(boolean showLabelBackdrop)
If true, draw a background behind the tick labels.
|
void |
setShowLabelBackdrop(NativeCallback showLabelBackdropCallback)
Sets the show label backdrop callback instance.
|
void |
setShowLabelBackdrop(ShowLabelBackdropCallback showLabelBackdropCallback)
Sets the show label backdrop callback instance.
|
void |
setTextStrokeColor(ColorCallback<ScaleContext> textStrokeColorCallback)
Sets the text stroke color callback.
|
void |
setTextStrokeColor(IsColor color)
Sets the text stroke color.
|
void |
setTextStrokeColor(NativeCallback textStrokeColorCallback)
Sets the text stroke color callback.
|
void |
setTextStrokeColor(String color)
Sets the text stroke color.
|
void |
setTextStrokeWidth(int textStrokeWidth)
Sets the text stroke width.
|
void |
setTextStrokeWidth(NativeCallback textStrokeWidthCallback)
Sets the text stroke width callback.
|
void |
setTextStrokeWidth(WidthCallback<ScaleContext> textStrokeWidthCallback)
Sets the text stroke width callback.
|
void |
setZ(int z)
Sets z-index of tick layer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAxis, getCount, getCountCallback, getMaxTicksLimit, getMaxTicksLimitCallback, getPrecision, getPrecisionCallback, getStepSize, getStepSizeCallback, setCount, setCount, setCount, setMaxTicksLimit, setMaxTicksLimit, setMaxTicksLimit, setPrecision, setPrecision, setPrecision, setStepSize, setStepSize, setStepSizegetNumberFormatCallback, setNumberFormat, setNumberFormatpublic final org.pepstock.charba.client.configuration.LinearTickOptionsHandler getTickOptionsHandler()
IsLinearTickgetTickOptionsHandler in interface IsLinearTickgetTickOptionsHandler in interface IsNumericTickpublic IsNumberFormat getNumberFormat()
IsNumericTickgetNumberFormat in interface IsNumericTickpublic TickCallback getCallback()
public void setCallback(TickCallback callback)
callback - the callback to setpublic Major getMajor()
public Font getFont()
public Padding getBackdropPadding()
public void setColor(IsColor color)
color - font color.public void setColor(String color)
color - font color.public String getColorAsString()
public IsColor getColor()
public void setDisplay(boolean display)
display - if true, show tick markspublic boolean isDisplay()
public void setZ(int z)
z - z-index of tick layer. Useful when ticks are drawn on chart area.public int getZ()
public void setTextStrokeColor(IsColor color)
color - the text stroke colorpublic void setTextStrokeColor(String color)
color - the text stroke color.public String getTextStrokeColorAsString()
public IsColor getTextStrokeColor()
public void setTextStrokeWidth(int textStrokeWidth)
textStrokeWidth - the text stroke width.public int getTextStrokeWidth()
public void setPadding(int padding)
padding - padding between the tick label and the axis. When set on a vertical axis, this applies in the horizontal (X) direction. When set on a horizontal axis, this
applies in the vertical (Y) direction.public int getPadding()
public void setBackdropColor(IsColor backdropColor)
backdropColor - color of label backdrops.public void setBackdropColor(String backdropColor)
backdropColor - color of label backdrops.public String getBackdropColorAsString()
public IsColor getBackdropColor()
public void setShowLabelBackdrop(boolean showLabelBackdrop)
showLabelBackdrop - if true, draw a background behind the tick labels.public boolean isShowLabelBackdrop()
public FontCallback<ScaleContext> getFontCallback()
null.getFontCallback in interface IsScriptableFontProvider<ScaleContext>null.public ColorCallback<ScaleContext> getColorCallback()
null.null.public ColorCallback<ScaleContext> getTextStrokeColorCallback()
null.null.public WidthCallback<ScaleContext> getTextStrokeWidthCallback()
null.null.public ColorCallback<ScaleContext> getBackdropColorCallback()
public ShowLabelBackdropCallback getShowLabelBackdropCallback()
public void setColor(ColorCallback<ScaleContext> colorCallback)
colorCallback - the color callback to setpublic void setColor(NativeCallback colorCallback)
colorCallback - the color callback to setpublic void setTextStrokeColor(ColorCallback<ScaleContext> textStrokeColorCallback)
textStrokeColorCallback - the text stroke color callback to setpublic void setTextStrokeColor(NativeCallback textStrokeColorCallback)
textStrokeColorCallback - the text stroke color callback to setpublic void setTextStrokeWidth(WidthCallback<ScaleContext> textStrokeWidthCallback)
textStrokeWidthCallback - the text stroke width callback to setpublic void setTextStrokeWidth(NativeCallback textStrokeWidthCallback)
textStrokeWidthCallback - the text stroke width callback to setpublic void setFont(FontCallback<ScaleContext> fontCallback)
setFont in interface IsScriptableFontProvider<ScaleContext>fontCallback - the font callback to setpublic void setFont(NativeCallback fontCallback)
setFont in interface IsScriptableFontProvider<ScaleContext>fontCallback - the font callback to setpublic void setBackdropColor(ColorCallback<ScaleContext> backdropColorCallback)
backdropColorCallback - the backdrop color callback instancepublic void setBackdropColor(NativeCallback backdropColorCallback)
backdropColorCallback - the backdrop color callback instancepublic void setShowLabelBackdrop(ShowLabelBackdropCallback showLabelBackdropCallback)
showLabelBackdropCallback - the show label backdrop callback instancepublic void setShowLabelBackdrop(NativeCallback showLabelBackdropCallback)
showLabelBackdropCallback - the show label backdrop callback instancepublic final Axis getAxis()