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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The image URI bound property.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setImageURI(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 Details

    • IMAGE_URI_PROPERTY

      static final String IMAGE_URI_PROPERTY
      The image URI bound property.
  • Method Details

    • getImageURI

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

      void setImageURI(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: