public final class DefaultBar extends Object implements IsDefaultBar
| Modifier and Type | Method and Description |
|---|---|
String |
getBackgroundColorAsString()
Returns the background color.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderRadius()
Returns the bar border radius (in pixels).
|
BorderSkipped |
getBorderSkipped()
Returns the edge to skip drawing the border for.
|
int |
getBorderWidth()
Returns the border width.
|
String |
getHoverBackgroundColorAsString()
Returns the background color when hovered.
|
String |
getHoverBorderColorAsString()
Returns the border color when hovered.
|
int |
getHoverBorderRadius()
Returns the bar border radius (in pixels) when hovered.
|
int |
getHoverBorderWidth()
Returns the border width when hovered.
|
PointStyle |
getPointStyle()
Returns the style of the point.
|
Canvas |
getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returns null. |
Img |
getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null. |
PointStyleType |
getPointStyleType()
Returns the type of point style.
|
boolean |
isEnableBorderRadius()
If
true, it only shows the borderRadius of a bar when the bar is at the end of the stack. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidthpublic BorderSkipped getBorderSkipped()
IsDefaultBargetBorderSkipped in interface IsDefaultBarpublic int getBorderRadius()
IsDefaultBargetBorderRadius in interface IsDefaultBarpublic PointStyle getPointStyle()
IsDefaultPointStyleHandlergetPointStyle in interface IsDefaultPointStyleHandlerpublic PointStyleType getPointStyleType()
IsDefaultPointStyleHandlergetPointStyleType in interface IsDefaultPointStyleHandlerpublic Img getPointStyleAsImage()
IsDefaultPointStyleHandlernull.getPointStyleAsImage in interface IsDefaultPointStyleHandlernull.public Canvas getPointStyleAsCanvas()
IsDefaultPointStyleHandlernull.getPointStyleAsCanvas in interface IsDefaultPointStyleHandlernull.public int getHoverBorderRadius()
IsDefaultBargetHoverBorderRadius in interface IsDefaultBarpublic boolean isEnableBorderRadius()
IsDefaultBartrue, it only shows the borderRadius of a bar when the bar is at the end of the stack.isEnableBorderRadius in interface IsDefaultBartrue, it only shows the borderRadius of a bar when the bar is at the end of the stackpublic final String getBackgroundColorAsString()
IsDefaultOptionsElementgetBackgroundColorAsString in interface IsDefaultOptionsElementpublic final int getBorderWidth()
IsDefaultOptionsElementgetBorderWidth in interface IsDefaultOptionsElementpublic final String getBorderColorAsString()
IsDefaultOptionsElementgetBorderColorAsString in interface IsDefaultOptionsElementpublic String getHoverBackgroundColorAsString()
IsDefaultOptionsElementgetHoverBackgroundColorAsString in interface IsDefaultOptionsElementpublic int getHoverBorderWidth()
IsDefaultOptionsElementgetHoverBorderWidth in interface IsDefaultOptionsElementpublic String getHoverBorderColorAsString()
IsDefaultOptionsElementgetHoverBorderColorAsString in interface IsDefaultOptionsElement