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, wait
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
public BorderSkipped getBorderSkipped()
IsDefaultBar
getBorderSkipped
in interface IsDefaultBar
public int getBorderRadius()
IsDefaultBar
getBorderRadius
in interface IsDefaultBar
public PointStyle getPointStyle()
IsDefaultPointStyleHandler
getPointStyle
in interface IsDefaultPointStyleHandler
public PointStyleType getPointStyleType()
IsDefaultPointStyleHandler
getPointStyleType
in interface IsDefaultPointStyleHandler
public Img getPointStyleAsImage()
IsDefaultPointStyleHandler
null
.getPointStyleAsImage
in interface IsDefaultPointStyleHandler
null
.public Canvas getPointStyleAsCanvas()
IsDefaultPointStyleHandler
null
.getPointStyleAsCanvas
in interface IsDefaultPointStyleHandler
null
.public int getHoverBorderRadius()
IsDefaultBar
getHoverBorderRadius
in interface IsDefaultBar
public boolean isEnableBorderRadius()
IsDefaultBar
true
, it only shows the borderRadius of a bar when the bar is at the end of the stack.isEnableBorderRadius
in interface IsDefaultBar
true
, it only shows the borderRadius of a bar when the bar is at the end of the stackpublic final String getBackgroundColorAsString()
IsDefaultOptionsElement
getBackgroundColorAsString
in interface IsDefaultOptionsElement
public final int getBorderWidth()
IsDefaultOptionsElement
getBorderWidth
in interface IsDefaultOptionsElement
public final String getBorderColorAsString()
IsDefaultOptionsElement
getBorderColorAsString
in interface IsDefaultOptionsElement
public String getHoverBackgroundColorAsString()
IsDefaultOptionsElement
getHoverBackgroundColorAsString
in interface IsDefaultOptionsElement
public int getHoverBorderWidth()
IsDefaultOptionsElement
getHoverBorderWidth
in interface IsDefaultOptionsElement
public String getHoverBorderColorAsString()
IsDefaultOptionsElement
getHoverBorderColorAsString
in interface IsDefaultOptionsElement