Package | Description |
---|---|
org.pepstock.charba.client.resources |
Contains the fundamental java script resources to inject in order to use Charba.
It provides all implementations to inject embedded resources for all 3 date adapters, available by CHART.JS (MOMENT, LUXON and DATE.FNS). |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDeferredResources
Base class to extend in order to have a resource client bundle, needed to CHARBA, where CHART.JS and date library must be load in deferred mode.
Every instance must have a module related to date adapter and library. |
class |
AbstractEmbeddedResources
Base class to extend in order to have an java script injection, needed to CHARBA, where CHART.JS and date library will be load in embedded mode.
Every instance must have a module related to date adapter and library. |
class |
DatefnsDeferredResources
Client bundle to reference DATE-FNS as date time library (asynchronous mode).
|
class |
DatefnsEmbeddedResources
Java script resources container to reference DATE-FNS as date time library (synchronous mode).
|
class |
DeferredResources
Client bundle to reference MOMENT as date time library (asynchronous mode).
|
class |
EmbeddedResources
Java script resources container to reference MOMENT as date time library (synchronous mode).
|
class |
LuxonDeferredResources
Client bundle to reference LUXON as date time library (asynchronous mode).
|
class |
LuxonEmbeddedResources
Java script resources container to reference LUXON as date time library (synchronous mode).
|
Modifier and Type | Method and Description |
---|---|
static AbstractResources |
ResourcesType.getClientBundle()
Returns the resources type to use to inject java script code.
If the resources type was not already set, an exception will be throw. |
Modifier and Type | Method and Description |
---|---|
static void |
ResourcesType.setClientBundle(AbstractResources resources)
Sets the resources type to use to inject java script code.
If the resources type was already set or if is null an exception will be throw. |