Package | Description |
---|---|
org.pepstock.charba.client.adapters |
Contains all classes to interact with date adapters implemented by CHART.JS to be abstract from date time java script library to use.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
org.pepstock.charba.client.defaults |
Contains all interfaces need to provide defaults values of the chart options.
|
org.pepstock.charba.client.defaults.chart |
Contains the default values of chart options based on type of chart instance.
|
org.pepstock.charba.client.defaults.globals |
Contains the default values of chart options for all chart types (CHART.JS options defaults).
|
org.pepstock.charba.client.options |
Contains all elements to configure charts at global level (know as chart global options).
|
Modifier and Type | Interface and Description |
---|---|
interface |
DateAdaptersOptionsFactory<T extends DateAdapterOptions>
Factory interface to get the date adapter options (form chart or from default global ones) related to the date adapter.
|
Modifier and Type | Class and Description |
---|---|
class |
LuxonOptions
Simple class to map LUXON options to provide to date time adapter.
|
Modifier and Type | Method and Description |
---|---|
<T extends DateAdapterOptions> |
DateAdapter.getOptions(DateAdaptersOptionsFactory<T> factory)
Returns the options used to configure the date adapter, using a factory to have the same object.
If the factory instance is null , returns null . |
Modifier and Type | Method and Description |
---|---|
DateAdapterOptions |
DateAdapter.getOptions()
Returns the options used to configure the date adapter.
|
Constructor and Description |
---|
DateAdapter(DateAdapterOptions options)
Creates a date adapter using the options passed as argument.
At the moment ONLY LUXON is enabled to using options to act on dates actions. |
Modifier and Type | Method and Description |
---|---|
<T extends DateAdapterOptions> |
Adapters.getDate(DateAdaptersOptionsFactory<T> factory)
Returns the date adapter options, if exist.
It uses a factory instance to create a date adapter options. If factory argument is not consistent, null is returned. |
<T extends DateAdapterOptions> |
Adapters.setDate(T options)
Sets the date adapters options.
|
Modifier and Type | Method and Description |
---|---|
<T extends DateAdapterOptions> |
IsDefaultAdapters.getDate(DateAdaptersOptionsFactory<T> factory)
Returns the date adapter options, if exist.
It uses a factory instance to create a date adapter options. If factory argument is not consistent, null is returned. |
Modifier and Type | Method and Description |
---|---|
<T extends DateAdapterOptions> |
DefaultChartAdapters.getDate(DateAdaptersOptionsFactory<T> factory) |
Modifier and Type | Method and Description |
---|---|
<T extends DateAdapterOptions> |
DefaultAdapters.getDate(DateAdaptersOptionsFactory<T> factory) |
Modifier and Type | Method and Description |
---|---|
<T extends DateAdapterOptions> |
Adapters.getDate(DateAdaptersOptionsFactory<T> factory)
Returns the date adapter options, if exist.
It uses a factory instance to create a date adapter options. If factory argument is not consistent, null is returned. |
<T extends DateAdapterOptions> |
Adapters.setDate(T options)
Sets the date adapters options.
|