public class ExternalSVGResourcePrototype extends Object implements ExternalSVGResource
ExternalSVGResource.Validated
Constructor and Description |
---|
ExternalSVGResourcePrototype(String name,
String url,
SVGResource[] cache,
int index)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the SVG resource name
|
void |
getSvg(com.google.gwt.resources.client.ResourceCallback<SVGResource> callback)
Possibly fire off an HTTPRequest for the SVG resource.
|
public ExternalSVGResourcePrototype(String name, String url, SVGResource[] cache, int index)
name
- The resource nameurl
- The resource URLcache
- A cache of loaded resourceindex
- The index for this resource in the cachepublic String getName()
getName
in interface com.google.gwt.resources.client.ResourcePrototype
public void getSvg(com.google.gwt.resources.client.ResourceCallback<SVGResource> callback) throws com.google.gwt.resources.client.ResourceException
getSvg
in interface ExternalSVGResource
callback
- The request callbackcom.google.gwt.resources.client.ResourceException
Copyright © 2018. All Rights Reserved.