Package com.storedobject.chart
Class DataZoom.HandleStyle
java.lang.Object
com.storedobject.chart.DataZoom.HandleStyle
- All Implemented Interfaces:
ComponentProperty
- Enclosing class:
DataZoom
Used to style the handle.
- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.final AbstractColorGet the border color.Get the type of the border.final intGet the border width.final AbstractColorgetColor()Get color.final ShadowgetShadow(boolean create) Get the shadow.voidsetBorderColor(AbstractColor color) Set the border color.voidsetBorderType(LineStyle.Type borderType) Set the type of the border.voidsetBorderWidth(int borderWidth) Set the border width.voidsetColor(AbstractColor color) Set color.voidSet the shadow.
-
Constructor Details
-
HandleStyle
public HandleStyle()Constructor.
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Parameters:
sb- Encoded JSON string to be appended to this.
-
getColor
-
setColor
-
getBorderColor
-
setBorderColor
Set the border color.- Parameters:
color- Border color.
-
getBorderWidth
public final int getBorderWidth()Get the border width.- Returns:
- Border width.
-
setBorderWidth
public void setBorderWidth(int borderWidth) Set the border width.- Parameters:
borderWidth- Border width.
-
getBorderType
-
setBorderType
Set the type of the border.- Parameters:
borderType- Border type.
-
getShadow
Get the shadow.- Parameters:
create- Whether to create if not exists or not.- Returns:
- Shadow.
-
setShadow
-