public final class ExtendedScale extends Scale
Constructor and Description |
---|
ExtendedScale(ConfigurationEnvelop<Scale> envelop,
IsDefaultScale defaultValues)
Creates a scale with the chart options scale as inner object.
|
ExtendedScale(ConfigurationEnvelop<ScaleId> envelop,
AxisType type,
AxisKind kind,
IsDefaultScale defaultValues)
Creates a scale with default provider.
The native object is created empty. |
Modifier and Type | Method and Description |
---|---|
int |
getCharbaId()
Returns the unique id of scale.
|
<T extends NativeObjectContainer> |
getRemappedOptions(ControllerMapperFactory<T> factory)
Returns the options, mapped with a custom object, used for controllers to map the options.
It uses a factory instance to create a customized options. If factory argument is not consistent, null is returned. |
void |
setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
CallbackProxy.Proxy proxy)
Adds a callback proxy function to a element node instance.
|
void |
setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
NativeCallback callback)
Adds a native callback function to a element node instance.
|
getAdapters, getAngleLines, getBackgroundColor, getBackgroundColorAsString, getBounds, getDisplay, getGrace, getGraceAsPercentage, getGrid, getLabelsHandler, getMax, getMaxAsDate, getMaxAsString, getMaxIndex, getMin, getMinAsDate, getMinAsString, getMinIndex, getPointLabels, getPosition, getStack, getStackWeight, getStartAngle, getSuggestedMax, getSuggestedMin, getTicks, getTime, getTitle, getWeight, isAlignToPixels, isAnimate, isBeginAtZero, isOffset, isReverse, isSingleStacked, isStacked, setAlignToPixels, setAnimate, setBackgroundColor, setBackgroundColor, setBeginAtZero, setBounds, setDisplay, setDisplay, setGrace, setGraceAsPercentage, setLabels, setLabels, setMax, setMax, setMax, setMaxIndex, setMin, setMin, setMin, setMinIndex, setOffset, setPosition, setReverse, setSingleStacked, setStack, setStacked, setStackWeight, setStartAngle, setSuggestedMax, setSuggestedMin, setWeight
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
checkAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public ExtendedScale(ConfigurationEnvelop<ScaleId> envelop, AxisType type, AxisKind kind, IsDefaultScale defaultValues)
envelop
- envelop with the scale idtype
- scale typekind
- kind of axisdefaultValues
- default provider.public ExtendedScale(ConfigurationEnvelop<Scale> envelop, IsDefaultScale defaultValues)
envelop
- envelop with the scale of chart optionsdefaultValues
- default provider.public int getCharbaId()
public void setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, CallbackProxy.Proxy proxy)
envelop
- contains the element node instance to updateproperty
- property nameproxy
- the function proxy to activatepublic void setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, NativeCallback callback)
envelop
- contains the element node instance to updateproperty
- property namecallback
- the function callback to activatepublic final <T extends NativeObjectContainer> T getRemappedOptions(ControllerMapperFactory<T> factory)
null
is returned.T
- type of customized options to returnfactory
- factory instance to create a customized optionsnull
is returned.