Constructor and Description |
---|
ControllerType(String type,
Type chartType,
ControllerProvider provider)
Creates new chart type based on existing chart type, as extension.
Scale type is the existing chart one. |
ControllerType(String type,
Type chartType,
ControllerProvider provider,
boolean cloneDefaults)
Creates new chart type based on existing chart type, as extension.
Scale type is the existing chart one. |
ControllerType(String type,
Type chartType,
ControllerProvider provider,
ControllerRegistrationHandler handler)
Creates new chart type based on existing chart type, as extension.
Scale type is the existing chart one. |
ControllerType(String type,
Type chartType,
ControllerProvider provider,
ControllerRegistrationHandler handler,
boolean cloneDefaults)
Creates new chart type based on existing chart type, as extension.
Scale type is the existing chart one. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Type |
getChartType()
Returns the extended chart type of controller.
|
int |
hashCode() |
boolean |
isCloneDefaults()
Returns
true if it clones the default options of base chart type. |
boolean |
register()
Registers the controller if it is not already registered.
|
ScaleType |
scaleType()
Returns the scale type of the chart.
|
String |
value()
Returns the name value of property
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
checkAndGetIfValid, checkIfValid, isValid
checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public ControllerType(String type, Type chartType, ControllerProvider provider)
type
- new chart type as string.chartType
- existing chart type, as extension.provider
- controller provider instance to use for controller registeringpublic ControllerType(String type, Type chartType, ControllerProvider provider, ControllerRegistrationHandler handler)
type
- new chart type as string.chartType
- existing chart type, as extension.provider
- controller provider instance to use for controller registeringhandler
- controller registration handler instancepublic ControllerType(String type, Type chartType, ControllerProvider provider, boolean cloneDefaults)
type
- new chart type as string.chartType
- existing chart type, as extension.provider
- controller provider instance to use for controller registeringcloneDefaults
- if true
, clones the default options of base chart type.public ControllerType(String type, Type chartType, ControllerProvider provider, ControllerRegistrationHandler handler, boolean cloneDefaults)
type
- new chart type as string.chartType
- existing chart type, as extension.provider
- controller provider instance to use for controller registeringhandler
- controller registration handler instancecloneDefaults
- if true
, clones the default options of base chart type.public String value()
Key
public ScaleType scaleType()
Type
public Type getChartType()
public boolean isCloneDefaults()
true
if it clones the default options of base chart type.true
if it clones the default options of base chart typepublic boolean register()
true
if registered, otherwise false
if the controller is already registered with the controller type of controller instance.