Interface HasPointStyle
-
- All Superinterfaces:
IsDefaultPointStyleHandler
- All Known Implementing Classes:
Bar,BubbleMapPoint,ChoroplethBar,LegendLabels,Point,PointAnnotation
public interface HasPointStyle extends IsDefaultPointStyleHandler
Interface to manage the style of the point options.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PointStylegetPointStyle()Returns the style of the point.default CanvasgetPointStyleAsCanvas()Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.default ImggetPointStyleAsImage()Returns the style of the point as image.
If property is missing or not an image, returnsnull.PointStyleHandlergetPointStyleHandler()Returns a point style handler instance to use in the default methods of this interface.default PointStyleTypegetPointStyleType()Returns the type of point style.default voidsetPointStyle(Canvas pointStyle)Sets the style of the point as canvas.default voidsetPointStyle(Img pointStyle)Sets the style of the point as image.default voidsetPointStyle(PointStyle pointStyle)Sets the style of the point.
-
-
-
Method Detail
-
getPointStyleHandler
PointStyleHandler getPointStyleHandler()
Returns a point style handler instance to use in the default methods of this interface.- Returns:
- a point style handler instance
-
setPointStyle
default void setPointStyle(PointStyle pointStyle)
Sets the style of the point.- Parameters:
pointStyle- array of the style of the point.
-
getPointStyle
default PointStyle getPointStyle()
Returns the style of the point.- Specified by:
getPointStylein interfaceIsDefaultPointStyleHandler- Returns:
- the style of the point or
nullif point style is set as image
-
setPointStyle
default void setPointStyle(Img pointStyle)
Sets the style of the point as image.- Parameters:
pointStyle- image element of the style of the point as image.
-
getPointStyleType
default PointStyleType getPointStyleType()
Returns the type of point style.- Specified by:
getPointStyleTypein interfaceIsDefaultPointStyleHandler- Returns:
- the type of point style
-
getPointStyleAsImage
default Img getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returnsnull.- Specified by:
getPointStyleAsImagein interfaceIsDefaultPointStyleHandler- Returns:
- image of the style of the point as image.
If property is missing or not a image, returnsnull.
-
setPointStyle
default void setPointStyle(Canvas pointStyle)
Sets the style of the point as canvas.- Parameters:
pointStyle- canvas element of the style of the point as canvas.
-
getPointStyleAsCanvas
default Canvas getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.- Specified by:
getPointStyleAsCanvasin interfaceIsDefaultPointStyleHandler- Returns:
- image of the style of the point as canvas.
If property is missing or not a canvas, returnsnull.
-
-