|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.cms.ui.ItemListModel
A ListModel
that iterates over the passed in ItemCollection
This is an easy starting place for lists that need to dispaly items.
Field Summary | |
static String |
versionId
|
Constructor Summary | |
ItemListModel(ItemCollection collection)
Construct a new GroupListModel |
Method Summary | |
protected ContentItem |
getCurrentItem()
This provides protected access to the current content item This can be used by code that needs to override the behavior of getKey or getElement |
Object |
getElement()
This returns the Name of the item |
String |
getKey()
This returns the item ID as a String |
boolean |
next()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public ItemListModel(ItemCollection collection)
GroupListModel
Method Detail |
public boolean next()
next
in interface com.arsdigita.bebop.list.ListModel
public Object getElement()
getElement
in interface com.arsdigita.bebop.list.ListModel
public String getKey()
getKey
in interface com.arsdigita.bebop.list.ListModel
protected ContentItem getCurrentItem()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |