Class ScaleDateAdapter
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.commons.AbstractNode
-
- org.pepstock.charba.client.options.AbstractModel<Adapters,IsDefaultDateAdapterOptions>
-
- org.pepstock.charba.client.options.ScaleDateAdapter
-
- All Implemented Interfaces:
IsDefaultDateAdapterOptions
public final class ScaleDateAdapter extends AbstractModel<Adapters,IsDefaultDateAdapterOptions> implements IsDefaultDateAdapterOptions
This is abstract date adapter object element of the chart options.- Author:
- Andrea "Stock" Stocchero
- See Also:
DateAdapterOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateAdapter
create()
Creates aDateAdapter
using a clone of this object as options for the date adapter instance.DateAdapterOptions
getDateAdapterOptions()
Returns theDateAdapterOptions
of the scale.CLocale
getLocale()
Returns the locale that LUXON must use by the date adapter.
See here the details about locale in LUXON.NumberingSystem
getNumberingSystem()
Returns the name of numbering systems that LUXON must use by the date adapter.
See here the details about numbering system in LUXON.Calendar
getOutputCalendar()
Returns the name of calendaring systems that LUXON must use by the date adapter.
See here the list of implemented and available.TimeZone
getZone()
Returns the zone that LUXON must use by the date adapter.
See here the details about time zone in LUXON.void
setLocale(CLocale locale)
Sets the locale that LUXON must use by the date adapter.
See here the details about locale in LUXON.void
setNumberingSystem(NumberingSystem numberingSystem)
Sets the name of numbering systems that LUXON must use by the date adapter.
See here the details about numbering system in LUXON.void
setOutputCalendar(Calendar outputCalendar)
Sets the name of calendaring systems that LUXON must use by the date adapter.
See here the list of implemented and available.void
setZone(TimeZone zone)
Sets the zone that LUXON must use by the date adapter.
See here the details about time zone in LUXON.-
Methods inherited from class org.pepstock.charba.client.options.AbstractModel
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
-
Methods inherited from class org.pepstock.charba.client.commons.AbstractNode
checkAndAddToParent, getChildKey, getParentNode, getRootNode, getUpdateListener, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setUpdateListener, setValueAndAddToParent, 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
-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkAndGetColor, 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, 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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Method Detail
-
getDateAdapterOptions
public DateAdapterOptions getDateAdapterOptions()
Returns theDateAdapterOptions
of the scale.- Returns:
- the
DateAdapterOptions
of the scale
-
create
public DateAdapter create()
Creates aDateAdapter
using a clone of this object as options for the date adapter instance.- Returns:
- a
DateAdapter
using a clone of this object as options for the date adapter instance
-
setLocale
public void setLocale(CLocale locale)
Sets the locale that LUXON must use by the date adapter.
See here the details about locale in LUXON.- Parameters:
locale
- the time zone that LUXON must use by the date adapter
-
getLocale
public CLocale getLocale()
Returns the locale that LUXON must use by the date adapter.
See here the details about locale in LUXON.- Specified by:
getLocale
in interfaceIsDefaultDateAdapterOptions
- Returns:
- the locale that LUXON must use by the date adapter
-
setZone
public void setZone(TimeZone zone)
Sets the zone that LUXON must use by the date adapter.
See here the details about time zone in LUXON.- Parameters:
zone
- the zone that LUXON must use by the date adapter
-
getZone
public TimeZone getZone()
Returns the zone that LUXON must use by the date adapter.
See here the details about time zone in LUXON.- Specified by:
getZone
in interfaceIsDefaultDateAdapterOptions
- Returns:
- the zone that LUXON must use by the date adapter
-
setOutputCalendar
public void setOutputCalendar(Calendar outputCalendar)
Sets the name of calendaring systems that LUXON must use by the date adapter.
See here the list of implemented and available. output calendar systems.- Parameters:
outputCalendar
- the name of calendaring systems that LUXON must use by the date adapter
-
getOutputCalendar
public Calendar getOutputCalendar()
Returns the name of calendaring systems that LUXON must use by the date adapter.
See here the list of implemented and available. output calendar systems.- Specified by:
getOutputCalendar
in interfaceIsDefaultDateAdapterOptions
- Returns:
- the name of calendaring systems that LUXON must use by the date adapter
-
setNumberingSystem
public void setNumberingSystem(NumberingSystem numberingSystem)
Sets the name of numbering systems that LUXON must use by the date adapter.
See here the details about numbering system in LUXON.- Parameters:
numberingSystem
- the name of numbering systems that LUXON must use by the date adapter
-
getNumberingSystem
public NumberingSystem getNumberingSystem()
Returns the name of numbering systems that LUXON must use by the date adapter.
See here the details about numbering system in LUXON.- Specified by:
getNumberingSystem
in interfaceIsDefaultDateAdapterOptions
- Returns:
- the name of numbering systems that LUXON must use by the date adapter
-
-