Class DateAdapterModule
- java.lang.Object
-
- org.pepstock.charba.client.adapters.DateAdapterModule
-
public final class DateAdapterModule extends Object
Every date adapter needs to have a module with some attributes of date adapter itself.
It provides a single point of glass on date adapter.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateAdapterModuleget()Returns the singleton instance of module.voidinjectionComplete(DateAdapterInjectionComplete injectionComplete)Is invoked when the date adapter has been injected.
It can be invoked only by the resources type of the module.booleanisInjected()Returns if the date adapter has been injected.
-
-
-
Method Detail
-
get
public static DateAdapterModule get()
Returns the singleton instance of module.- Returns:
- the singleton instance of module
-
isInjected
public boolean isInjected()
Returns if the date adapter has been injected.- Returns:
false, the date adapter has not been injected
-
injectionComplete
public void injectionComplete(DateAdapterInjectionComplete injectionComplete)
Is invoked when the date adapter has been injected.
It can be invoked only by the resources type of the module.- Parameters:
injectionComplete- empty object which can be created only by resources type
-
-