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
-
-
Field Summary
-
Fields inherited from class org.onebusaway.presentation.impl.resources.ResourcePrototypeImpl
_context, _initialized, _localFile, _localFileLength, _localUrl, _parentBundle
-
-
Constructor Summary
Constructors Constructor Description DataResourceImpl(ClientBundleContext context, ClientBundleImpl parentBundle, String name, URL localUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()intgetLeft()com.google.gwt.safehtml.shared.SafeUrigetSafeUri()intgetTop()StringgetUrl()StringgetURL()intgetWidth()booleanisAnimated()protected voidrefresh()-
Methods inherited from class org.onebusaway.presentation.impl.resources.ResourcePrototypeImpl
constructURL, getLastModifiedTime, getLocalUrl, getName, isUpToDate, setLocalFile, setUpToDate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onebusaway.presentation.impl.resources.LocalResource
getLastModifiedTime, getLocalUrl
-
-
-
-
Constructor Detail
-
DataResourceImpl
public DataResourceImpl(ClientBundleContext context, ClientBundleImpl parentBundle, String name, URL localUrl)
-
-
Method Detail
-
getUrl
public String getUrl()
- Specified by:
getUrlin interfaceResourceWithUrl
-
refresh
protected void refresh()
- Overrides:
refreshin classResourcePrototypeImpl
-
getHeight
public int getHeight()
- Specified by:
getHeightin interfacecom.google.gwt.resources.client.ImageResource
-
getLeft
public int getLeft()
- Specified by:
getLeftin interfacecom.google.gwt.resources.client.ImageResource
-
getTop
public int getTop()
- Specified by:
getTopin interfacecom.google.gwt.resources.client.ImageResource
-
getURL
public String getURL()
- Specified by:
getURLin interfacecom.google.gwt.resources.client.ImageResource
-
getWidth
public int getWidth()
- Specified by:
getWidthin interfacecom.google.gwt.resources.client.ImageResource
-
isAnimated
public boolean isAnimated()
- Specified by:
isAnimatedin interfacecom.google.gwt.resources.client.ImageResource
-
getSafeUri
public com.google.gwt.safehtml.shared.SafeUri getSafeUri()
- Specified by:
getSafeUriin interfacecom.google.gwt.resources.client.ImageResource
-
-