org.eesgmbh.gimv.client.presenter
Interface ImagePresenter.View

All Known Implementing Classes:
ImageViewImpl
Enclosing class:
ImagePresenter

public static interface ImagePresenter.View

The view interface of ImagePresenter.


Method Summary
 void addErrorHandler(ErrorHandler errorHandler)
          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.
 void addLoadHandler(LoadHandler loadHandler)
           
 void changeDimensions(int offsetWidth, int offsetHeight)
           
 void changePosition(int offsetX, int offsetY)
           
 void setDimensions(int width, int height)
           
 void setPosition(int x, int y)
           
 void setUrl(String url)
           
 

Method Detail

setUrl

void setUrl(String url)

setPosition

void setPosition(int x,
                 int y)

changePosition

void changePosition(int offsetX,
                    int offsetY)

setDimensions

void setDimensions(int width,
                   int height)

changeDimensions

void changeDimensions(int offsetWidth,
                      int offsetHeight)

addLoadHandler

void addLoadHandler(LoadHandler loadHandler)

addErrorHandler

void addErrorHandler(ErrorHandler errorHandler)
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.

Parameters:
errorHandler - An implementation of ErrorHandler


Copyright © 2010 - EES GmbH