Package org.pepstock.charba.client.items
Interface ChartElementFactory
-
- All Superinterfaces:
NativeObjectContainerFactory<ChartElement>
public interface ChartElementFactory extends NativeObjectContainerFactory<ChartElement>
Maps the methods to implement an factory to mapChartElement
, used by each controlloer to draw the chart.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChartElementOptions
createOptions(ChartElement parent, NativeObject nativeObject)
Creates aChartElementOptions
instance by a native object.String
getType()
Returns the type of theChartElement
.-
Methods inherited from interface org.pepstock.charba.client.commons.NativeObjectContainerFactory
create, create
-
-
-
-
Method Detail
-
getType
String getType()
Returns the type of theChartElement
.- Returns:
- the type of the
ChartElement
-
createOptions
ChartElementOptions createOptions(ChartElement parent, NativeObject nativeObject)
Creates aChartElementOptions
instance by a native object.- Parameters:
parent
- chart element where the options belong tonativeObject
- native object- Returns:
- a
ChartElementOptions
instance by a native object
-
-