Interface HasFill
-
- All Superinterfaces:
IsDefaultFillHandler
- All Known Implementing Classes:
AreaDataset
,Line
,LineDataset
,LiningDataset
,RadarDataset
,ScatterDataset
,StackedAreaDataset
,StackedLineDataset
,TimeSeriesLineDataset
,VerticalLineDataset
public interface HasFill extends IsDefaultFillHandler
Defines a configuration element which is managing the FILL property.
It has being used in the options and datasets instances where FILL is required.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IsFill
getFill()
Returns how to fill the area under the line.FillHandler
getFillHandler()
Returns a fill handler instance to use in the default methods of this interface.default void
setFill(boolean fill)
Sets how to fill the area under the line.default void
setFill(int index)
Sets how to fill the area under the line, by absolute dataset index.default void
setFill(String index)
Sets how to fill the area under the line, by relative dataset index.default void
setFill(IsFill fill)
Sets how to fill the area under the line.
-
-
-
Method Detail
-
getFillHandler
FillHandler getFillHandler()
Returns a fill handler instance to use in the default methods of this interface.- Returns:
- a fill handler instance
-
setFill
default void setFill(boolean fill)
Sets how to fill the area under the line.- Parameters:
fill
-true
to fill, otherwisefalse
.
-
setFill
default void setFill(int index)
Sets how to fill the area under the line, by absolute dataset index.- Parameters:
index
- absolute dataset index of the chart.
-
setFill
default void setFill(String index)
Sets how to fill the area under the line, by relative dataset index.- Parameters:
index
- relative dataset index of the chart.
-
setFill
default void setFill(IsFill fill)
Sets how to fill the area under the line.- Parameters:
fill
- how to fill the area under the line.
-
getFill
default IsFill getFill()
Returns how to fill the area under the line.- Specified by:
getFill
in interfaceIsDefaultFillHandler
- Returns:
- how to fill the area under the line.
-
-