Package 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 LUXON date adapters.
It provides all implementations to inject embedded resources for LUXON date adapters.
- Author:
- Andrea "Stock" Stocchero
-
Class Summary Class Description AbstractInjectableResource Defines an object which must inject script or CSS style objects in the DOM document, at runtime.
It must have a name and should be a unique value because it will be used to set the element (script or style) id.AbstractResources Base class to extend in order to have java script injection, needed to CHARBA, where CHART.JS and date library.
Every instance must have a module related to date adapter and library.DateAdapterInjectionComplete Utility object in order to notify a date adapter module that has been inject.
This object can not be instantiated out of this package to avoid that anyone will change the module status without a real injection.DeferredResources Client bundle to reference LUXON as date time library (asynchronous mode).
It has been invoked in order to have a resource client bundle, needed to CHARBA, where CHART.JS and date library must be load in deferred mode.EmbeddedResources 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.EmptyResource Default implementation for an empty resource to inject.
This could be helpful when you don't want to inject a library because are available from another framework.EntryPointStarter Utility to start an entry point leveraging on deferred resources mode.
This helps when the GWT application is leveraging on code splitting.
InjectableTextResource Default implementation for an injectable resource related to a text resource.ResourcesType Utility to set which kind of resources type must be use to load injectable resources.
This utility MUST be called as first statement before using Charba. -
Enum Summary Enum Description ResourceName Enumerates the constants names to use as element id for scripts, mandatory to CHARBA to work properly. -
Exception Summary Exception Description ResourceLoadException Exception created when it's able to load CHART.JS source in deferred mode.