Class InjectableTextResource
- java.lang.Object
- 
- org.pepstock.charba.client.resources.AbstractInjectableResource
- 
- org.pepstock.charba.client.resources.InjectableTextResource
 
 
- 
 public final class InjectableTextResource extends AbstractInjectableResource Default implementation for an injectable resource related to a text resource.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Constructor Description InjectableTextResource(com.google.gwt.resources.client.TextResource resource)Creates an injectable resources using the name of text resource and the text of it.InjectableTextResource(String name, com.google.gwt.resources.client.TextResource resource)Creates an injectable resources using the text of it and the name, passed as argument.InjectableTextResource(Key key, com.google.gwt.resources.client.TextResource resource)Creates an injectable resources using the text of it and the name as key, passed as argument.
 
- 
- 
- 
Constructor Detail- 
InjectableTextResourcepublic InjectableTextResource(com.google.gwt.resources.client.TextResource resource) Creates an injectable resources using the name of text resource and the text of it.- Parameters:
- resource- text resource to be injected.
 
 - 
InjectableTextResourcepublic InjectableTextResource(Key key, com.google.gwt.resources.client.TextResource resource) Creates an injectable resources using the text of it and the name as key, passed as argument.- Parameters:
- key- name of injectable resource as key , should be a unique value in the DOM.
- resource- text resource to be injected.
 
 - 
InjectableTextResourcepublic InjectableTextResource(String name, com.google.gwt.resources.client.TextResource resource) Creates an injectable resources using the text of it and the name, passed as argument.- Parameters:
- name- name of injectable resource, should be a unique value in the DOM.
- resource- text resource to be injected.
 
 
- 
 
-