org.eesgmbh.gimv.client.view
Class ImageViewImpl
java.lang.Object
org.eesgmbh.gimv.client.view.ImageViewImpl
- All Implemented Interfaces:
- ImagePresenter.View
public class ImageViewImpl
- extends Object
- implements ImagePresenter.View
An implementation of ImagePresenter.View.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageViewImpl
public ImageViewImpl(Image image)
setUrl
public void setUrl(String url)
- Specified by:
setUrl in interface ImagePresenter.View
changePosition
public void changePosition(int offsetX,
int offsetY)
- Specified by:
changePosition in interface ImagePresenter.View
setPosition
public void setPosition(int x,
int y)
- Specified by:
setPosition in interface ImagePresenter.View
changeDimensions
public void changeDimensions(int offsetWidth,
int offsetHeight)
- Specified by:
changeDimensions in interface ImagePresenter.View
setDimensions
public void setDimensions(int width,
int height)
- Specified by:
setDimensions in interface ImagePresenter.View
addLoadHandler
public void addLoadHandler(LoadHandler loadHandler)
- Specified by:
addLoadHandler in interface ImagePresenter.View
addErrorHandler
public void addErrorHandler(ErrorHandler errorHandler)
- Description copied from interface:
ImagePresenter.View
- Adds an error handler to the view, which will be
invoked, if the image could not be obtained from the
server under the given URL.
- Specified by:
addErrorHandler in interface ImagePresenter.View
- Parameters:
errorHandler - An implementation of ErrorHandler
Copyright © 2010 - EES GmbH