|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.gadgets.client.IntrinsicFeature
public class IntrinsicFeature
Provides access to intrinsic APIs provided by the container that are not part of a feature-specific API.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.gadgets.client.GadgetFeature |
|---|
GadgetFeature.FeatureName, GadgetFeature.MayRequire |
| Method Summary | |
|---|---|
void |
fetchContent(java.lang.String url,
ContentFetchedHandler contentFetchedHandler)
Fetches the content of the provided URL and, when complete, calls the ContentFetchedHandler.onContentFetched(ContentFetchedEvent) method
with the content of the fetched URL. |
void |
fetchContent(java.lang.String url,
ContentFetchedHandler contentFetchedHandler,
int millis)
Fetches the content of the provided URL and, when complete, calls the ContentFetchedHandler.onContentFetched(ContentFetchedEvent) method
with the content of the fetched URL. |
void |
fetchXmlContent(java.lang.String url,
XmlContentFetchedHandler contentFetchedHandler)
Fetches the content of the provided URL and when complete calls the XmlContentFetchedHandler.onXmlContentFetched(XmlContentFetchedEvent)
method with the content of the fetched URL. |
void |
fetchXmlContent(java.lang.String url,
XmlContentFetchedHandler contentFetchedHandler,
int millis)
Fetches the content of the provided URL and when complete calls the XmlContentFetchedHandler.onXmlContentFetched(XmlContentFetchedEvent)
method with the content of the fetched URL. |
java.lang.String |
getCachedUrl(java.lang.String url)
Returns a proxy URL that can be used to access a given URL. |
java.lang.String |
getCachedUrl(java.lang.String url,
int refreshIntervalSeconds)
Returns a proxy URL that can be used to access a given URL with a specified refresh interval specified in seconds. |
java.lang.String |
getImageUrl(java.lang.String url)
Returns a proxy URL that can be used to access the given image's URL. |
java.lang.String |
getImageUrl(java.lang.String url,
int refreshIntervalSeconds)
Returns a proxy URL that can be used to access a given image's URL with a specified refresh interval specified in seconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void fetchContent(java.lang.String url,
ContentFetchedHandler contentFetchedHandler)
ContentFetchedHandler.onContentFetched(ContentFetchedEvent) method
with the content of the fetched URL. The fetched content is cached on the
Gadget Container.
public void fetchContent(java.lang.String url,
ContentFetchedHandler contentFetchedHandler,
int millis)
ContentFetchedHandler.onContentFetched(ContentFetchedEvent) method
with the content of the fetched URL. The fetched content is cached on the
Gadget Container with a specified refresh interval specified in seconds.
public void fetchXmlContent(java.lang.String url,
XmlContentFetchedHandler contentFetchedHandler)
XmlContentFetchedHandler.onXmlContentFetched(XmlContentFetchedEvent)
method with the content of the fetched URL. The content will then be parsed
as XML content. The fetched content is cached on the Gadget Container.
public void fetchXmlContent(java.lang.String url,
XmlContentFetchedHandler contentFetchedHandler,
int millis)
XmlContentFetchedHandler.onXmlContentFetched(XmlContentFetchedEvent)
method with the content of the fetched URL. The content will then be parsed
as XML content. The fetched content is cached on the Gadget Container with
a specified refresh interval specified in seconds.
public java.lang.String getCachedUrl(java.lang.String url)
public java.lang.String getCachedUrl(java.lang.String url,
int refreshIntervalSeconds)
public java.lang.String getImageUrl(java.lang.String url)
public java.lang.String getImageUrl(java.lang.String url,
int refreshIntervalSeconds)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||