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 Summary
Constructors 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
-
InjectableTextResource
public 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.
-
InjectableTextResource
public 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.
-
InjectableTextResource
public 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.
-
-