nl.gx.webmanager.cms.mediarepository
Interface ImageSizeModel


public interface ImageSizeModel

This class provides the interface for a size model used in the ObjectManager. A size model is a definition of possible sizes (width and height) of an image. When a size model is assosiated with an image in the ObjectManager, the editor may choose one of the predefined sizes (width and height combintation) of the sizemodel.

Author:
ivol

Method Summary
 int getId()
          Returns the id of this image size model
 ImageSize[] getImageSizes()
          Returns an array of all image sizes defined by this image size model
 java.lang.String getTitle()
          Returns the title of this image size model
 void setImageSizes(ImageSize[] imageSizes)
          Sets the image sizes assosiated with this image size model
 void setTitle(java.lang.String title)
          Sets the title of this image size model
 

Method Detail

getId

int getId()
Returns the id of this image size model

Returns:
the id of this image size model

getTitle

java.lang.String getTitle()
Returns the title of this image size model

Returns:
the title of this image size model

setTitle

void setTitle(java.lang.String title)
Sets the title of this image size model

Parameters:
title - the title of this image size model to set

getImageSizes

ImageSize[] getImageSizes()
Returns an array of all image sizes defined by this image size model

Returns:
an array of all image sizes defined by this image size model

setImageSizes

void setImageSizes(ImageSize[] imageSizes)
Sets the image sizes assosiated with this image size model

Parameters:
imageSizes - image sizes assosiated with this image size model to set


Copyright © 2007-2011 GX Software BV. All Rights Reserved.