com.guiseframework.model
Interface ImageModel

All Superinterfaces:
Model, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable
All Known Subinterfaces:
ImageComponent, PendingImageComponent, PendingImageModel
All Known Implementing Classes:
AbstractImageComponent, CachedImageModel, DefaultImageModel, Image, ImageActionControl, ImageBooleanSelectActionControl, PendingImage, PendingImageActionControl, Picture

public interface ImageModel
extends Model

A model for an image.

Author:
Garret Wilson

Field Summary
static java.lang.String IMAGE_URI_PROPERTY
          The image URI bound property.
 
Fields inherited from interface com.guiseframework.model.Model
PLAIN_TEXT_CONTENT_TYPE, XHTML_CONTENT_TYPE, XHTML_FRAGMENT_CONTENT_TYPE
 
Method Summary
 java.net.URI getImageURI()
           
 void setImageURI(java.net.URI newImageURI)
          Sets the URI of the image.
 
Methods inherited from interface com.globalmentor.beans.PropertyBindable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.globalmentor.beans.PropertyConstrainable
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, hasVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener
 

Field Detail

IMAGE_URI_PROPERTY

static final java.lang.String IMAGE_URI_PROPERTY
The image URI bound property.

Method Detail

getImageURI

java.net.URI getImageURI()
Returns:
The image URI, which may be a resource URI, or null if there is no image URI.

setImageURI

void setImageURI(java.net.URI newImageURI)
Sets the URI of the image. This is a bound property.

Parameters:
newImageURI - The new URI of the image, which may be a resource URI.
See Also:
IMAGE_URI_PROPERTY


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.