com.arsdigita.cms.ui
Class DefaultImageBrowserModel

java.lang.Object
  extended bycom.arsdigita.cms.ui.DefaultImageBrowserModel
All Implemented Interfaces:
ImageBrowserModel

public class DefaultImageBrowserModel
extends Object
implements ImageBrowserModel

An ImageBrowserModel which displays all images in the given ImageAssetCollection

Version:
$Id: //cms/dev/src/com/arsdigita/cms/ui/DefaultImageBrowserModel.java#5 $
Author:
Stanislav Freidin

Field Summary
static String versionId
           
 
Constructor Summary
DefaultImageBrowserModel(ImageAssetCollection images)
          Construct a new DefaultImageBrowserModel
 
Method Summary
 String getActionLabel()
           
 ImageAsset getImageAsset()
           
 boolean nextRow()
          Advance to the next row, if possible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DefaultImageBrowserModel

public DefaultImageBrowserModel(ImageAssetCollection images)
Construct a new DefaultImageBrowserModel

Parameters:
images - The ImageAssetCollection whose images will be displayed
Method Detail

nextRow

public boolean nextRow()
Advance to the next row, if possible

Specified by:
nextRow in interface ImageBrowserModel
Returns:
true if the current row is valid; false if there are no more rows

getImageAsset

public ImageAsset getImageAsset()
Specified by:
getImageAsset in interface ImageBrowserModel
Returns:
the current image asset

getActionLabel

public String getActionLabel()
Specified by:
getActionLabel in interface ImageBrowserModel
Returns:
the label for the action link


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC