org.zkoss.util.media
Interface Photo


public interface Photo

Represents an object is associated with images.

Author:
tomyeh

Method Summary
 Image getAvatar()
          Returns the avatar (icon) of this object.
 Image getPhoto()
          Returns the photo of this object.
 void setAvatar(Image avatar)
          Sets the avator (icon) of this object.
 void setPhoto(Image photo)
          Sets the photo of this object.
 

Method Detail

getPhoto

Image getPhoto()
Returns the photo of this object.


setPhoto

void setPhoto(Image photo)
              throws ModificationException
Sets the photo of this object.

Throws:
ModificationException

getAvatar

Image getAvatar()
Returns the avatar (icon) of this object.


setAvatar

void setAvatar(Image avatar)
               throws ModificationException
Sets the avator (icon) of this object.

Throws:
ModificationException


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo