Class EmbeddedResources
- java.lang.Object
- 
- org.pepstock.charba.client.resources.AbstractResources
- 
- org.pepstock.charba.client.resources.EmbeddedResources
 
 
- 
 public final class EmbeddedResources extends AbstractResources Java script resources container to reference LUXON as date time library (synchronous mode).
 It has been invoked in order to have an java script injection, needed to CHARBA, where CHART.JS and date library will be load in embedded mode.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Field SummaryFields Modifier and Type Field Description static EmbeddedResourcesINSTANCEStatic reference to LUXON resources which is injecting the LUXON library.static EmbeddedResourcesINSTANCE_WITHOUT_DATE_LIBRARYStatic reference to LUXON resources which is NOT injecting the LUXON library, because LUXON date library could be used in other libraries and to avoid to inject the library more than once.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinject()Injects CHART.JS, date adapter and library if not already injected.
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final EmbeddedResources INSTANCE Static reference to LUXON resources which is injecting the LUXON library.
 - 
INSTANCE_WITHOUT_DATE_LIBRARYpublic static final EmbeddedResources INSTANCE_WITHOUT_DATE_LIBRARY Static reference to LUXON resources which is NOT injecting the LUXON library, because LUXON date library could be used in other libraries and to avoid to inject the library more than once.
 
- 
 - 
Method Detail- 
injectpublic void inject() Injects CHART.JS, date adapter and library if not already injected.- Specified by:
- injectin class- AbstractResources
 
 
- 
 
-