org.vectomatic.dom.svg.ui
Interface ExternalSVGResource
- All Superinterfaces:
- com.google.gwt.resources.client.ResourcePrototype
- All Known Implementing Classes:
- ExternalSVGResourcePrototype
public interface ExternalSVGResource
- extends com.google.gwt.resources.client.ResourcePrototype
Identical to SVGResource
, except the contents of the resource are
not inlined into the compiled output. This is suitable for resources that are
not required as part of program initialization.
Note that by default SVG resources are validated against the SVG 1.1 XSD schema.
You can opt out of validation by setting the validated="false"
attribute on the annotation.
Method Summary |
void |
getSvg(com.google.gwt.resources.client.ResourceCallback<SVGResource> callback)
Starts an asynchronous request to retrieve the root element of the SVG resource. |
Methods inherited from interface com.google.gwt.resources.client.ResourcePrototype |
getName |
getSvg
void getSvg(com.google.gwt.resources.client.ResourceCallback<SVGResource> callback)
throws com.google.gwt.resources.client.ResourceException
- Starts an asynchronous request to retrieve the root element of the SVG resource.
- Parameters:
callback
- The callback interface to invoke once the resource has been retrieved
- Throws:
com.google.gwt.resources.client.ResourceException
Copyright © 2012. All Rights Reserved.