|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable portaview.model.DomainModel portaview.model.ImageModel
Abstract implementation of an image model.
Constructor Summary | |
ImageModel()
Constructs an ImageModel associated with no image. |
|
ImageModel(java.awt.Image img)
Constructs an ImageModel associated with a given image. |
Method Summary | |
java.awt.Image |
getImage()
|
void |
handleError(java.lang.Exception exception,
java.net.URL url,
java.lang.String method)
Handles the error for the async call to the master when retrieving the picture. |
void |
handleResult(java.lang.Object result,
java.net.URL url,
java.lang.String method)
Handles the result for the async call to master when retrieving the picture. |
void |
setImage(java.awt.Image image)
Sets the image |
Methods inherited from class portaview.model.DomainModel |
forceNotifyObservers |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageModel()
public ImageModel(java.awt.Image img)
img
- Image object.Method Detail |
public java.awt.Image getImage()
public void setImage(java.awt.Image image)
image
- the image to set.public void handleResult(java.lang.Object result, java.net.URL url, java.lang.String method)
handleResult
in interface org.apache.xmlrpc.AsyncCallback
AsyncCallback.handleResult(java.lang.Object, java.net.URL, java.lang.String)
public void handleError(java.lang.Exception exception, java.net.URL url, java.lang.String method)
handleError
in interface org.apache.xmlrpc.AsyncCallback
AsyncCallback.handleError(java.lang.Exception, java.net.URL, java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |