org.onebusaway.presentation.impl.resources
Class DataResourceImpl
java.lang.Object
org.onebusaway.presentation.impl.resources.ResourcePrototypeImpl
org.onebusaway.presentation.impl.resources.DataResourceImpl
- All Implemented Interfaces:
- com.google.gwt.resources.client.ImageResource, com.google.gwt.resources.client.ResourcePrototype, LocalResource, ResourceWithUrl
public class DataResourceImpl
- extends ResourcePrototypeImpl
- implements com.google.gwt.resources.client.ImageResource, ResourceWithUrl, LocalResource
Nested classes/interfaces inherited from interface com.google.gwt.resources.client.ImageResource |
com.google.gwt.resources.client.ImageResource.ImageOptions, com.google.gwt.resources.client.ImageResource.RepeatStyle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gwt.resources.client.ResourcePrototype |
getName |
DataResourceImpl
public DataResourceImpl(ClientBundleContext context,
ClientBundleImpl parentBundle,
String name,
URL localUrl)
getUrl
public String getUrl()
- Specified by:
getUrl
in interface ResourceWithUrl
refresh
protected void refresh()
- Overrides:
refresh
in class ResourcePrototypeImpl
getHeight
public int getHeight()
- Specified by:
getHeight
in interface com.google.gwt.resources.client.ImageResource
getLeft
public int getLeft()
- Specified by:
getLeft
in interface com.google.gwt.resources.client.ImageResource
getTop
public int getTop()
- Specified by:
getTop
in interface com.google.gwt.resources.client.ImageResource
getURL
public String getURL()
- Specified by:
getURL
in interface com.google.gwt.resources.client.ImageResource
getWidth
public int getWidth()
- Specified by:
getWidth
in interface com.google.gwt.resources.client.ImageResource
isAnimated
public boolean isAnimated()
- Specified by:
isAnimated
in interface com.google.gwt.resources.client.ImageResource
getSafeUri
public com.google.gwt.safehtml.shared.SafeUri getSafeUri()
- Specified by:
getSafeUri
in interface com.google.gwt.resources.client.ImageResource
Copyright © 2012 OneBusAway. All Rights Reserved.