Package org.pepstock.charba.client.items
Interface ChartContextElementFactory
-
- All Superinterfaces:
ChartElementFactory
,NativeObjectContainerFactory<ChartElement>
public interface ChartContextElementFactory extends ChartElementFactory
Common interface for all elements which has got aDatasetContext
- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DatasetContext
createContext(NativeObject nativeObject)
Returns the context instance from an element.-
Methods inherited from interface org.pepstock.charba.client.items.ChartElementFactory
createOptions, getType
-
Methods inherited from interface org.pepstock.charba.client.commons.NativeObjectContainerFactory
create, create
-
-
-
-
Method Detail
-
createContext
default DatasetContext createContext(NativeObject nativeObject)
Description copied from interface:ChartElementFactory
Returns the context instance from an element.- Specified by:
createContext
in interfaceChartElementFactory
- Parameters:
nativeObject
- native object- Returns:
- the context instance from an element
-
-