Class DefaultPoint
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultPoint
-
- All Implemented Interfaces:
IsDefaultOptionsElement,IsDefaultPoint,IsDefaultPointStyleHandler
public final class DefaultPoint extends Object implements IsDefaultPoint
CHART.JS default values for POINT element.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackgroundColorAsString()Returns the background color.StringgetBorderColorAsString()Returns the border color.intgetBorderWidth()Returns the border width.doublegetHitRadius()Returns the pixel size of the non-displayed point that reacts to mouse events.StringgetHoverBackgroundColorAsString()Returns the background color when hovered.StringgetHoverBorderColorAsString()Returns the border color when hovered.intgetHoverBorderWidth()Returns the border width when hovered.doublegetHoverRadius()Returns the radius of the point when hovered.doublegetRadius()Returns the radius of the point.doublegetRotation()Returns the point rotation (in degrees).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElement
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPointStyleHandler
getPointStyle, getPointStyleAsCanvas, getPointStyleAsImage, getPointStyleType
-
-
-
-
Method Detail
-
getRadius
public double getRadius()
Description copied from interface:IsDefaultPointReturns the radius of the point.- Specified by:
getRadiusin interfaceIsDefaultPoint- Returns:
- the radius of the point
-
getHitRadius
public double getHitRadius()
Description copied from interface:IsDefaultPointReturns the pixel size of the non-displayed point that reacts to mouse events.- Specified by:
getHitRadiusin interfaceIsDefaultPoint- Returns:
- the pixel size of the non-displayed point.
-
getHoverRadius
public double getHoverRadius()
Description copied from interface:IsDefaultPointReturns the radius of the point when hovered.- Specified by:
getHoverRadiusin interfaceIsDefaultPoint- Returns:
- the radius of the point when hovered.
-
getHoverBorderWidth
public int getHoverBorderWidth()
Description copied from interface:IsDefaultOptionsElementReturns the border width when hovered.- Specified by:
getHoverBorderWidthin interfaceIsDefaultOptionsElement- Returns:
- the border width when hovered.
-
getRotation
public double getRotation()
Description copied from interface:IsDefaultPointReturns the point rotation (in degrees).- Specified by:
getRotationin interfaceIsDefaultPoint- Returns:
- the point rotation (in degrees).
-
getBackgroundColorAsString
public final String getBackgroundColorAsString()
Description copied from interface:IsDefaultOptionsElementReturns the background color.- Specified by:
getBackgroundColorAsStringin interfaceIsDefaultOptionsElement- Returns:
- the background color.
-
getBorderWidth
public final int getBorderWidth()
Description copied from interface:IsDefaultOptionsElementReturns the border width.- Specified by:
getBorderWidthin interfaceIsDefaultOptionsElement- Returns:
- the border width.
-
getBorderColorAsString
public final String getBorderColorAsString()
Description copied from interface:IsDefaultOptionsElementReturns the border color.- Specified by:
getBorderColorAsStringin interfaceIsDefaultOptionsElement- Returns:
- the border color.
-
getHoverBackgroundColorAsString
public String getHoverBackgroundColorAsString()
Description copied from interface:IsDefaultOptionsElementReturns the background color when hovered.- Specified by:
getHoverBackgroundColorAsStringin interfaceIsDefaultOptionsElement- Returns:
- the background color when hovered.
-
getHoverBorderColorAsString
public String getHoverBorderColorAsString()
Description copied from interface:IsDefaultOptionsElementReturns the border color when hovered.- Specified by:
getHoverBorderColorAsStringin interfaceIsDefaultOptionsElement- Returns:
- the border color when hovered.
-
-