|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.gui.controlx.list.ListModelIteratorImpl
public class ListModelIteratorImpl
Constructor Summary | |
---|---|
ListModelIteratorImpl(AbstractListModel model,
List list)
|
Method Summary | |
---|---|
String |
getGroupName()
get group name |
String |
getId()
An id to identify the current row |
Object |
getValue(String name)
get named value |
protected Object |
getValue(String name,
Object node)
get value from a specified object |
Object |
getValueObject()
The current object representing a row. |
ValueProvider |
getValueProvider()
|
boolean |
hasNext()
checks if there is next record |
boolean |
hasNextInGroup()
checks if there are more records in the current group |
Object |
next()
move next |
Object |
nextGroup()
jump to next group |
void |
remove()
|
void |
setValueProvider(ValueProvider valueProvider)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListModelIteratorImpl(AbstractListModel model, List list)
Method Detail |
---|
public Object getValue(String name)
getValue
in interface ListModelIterator
name
- its a key to which value is attached in this recordprotected Object getValue(String name, Object node)
name
- its a key to which value is attached in this recordnode
- public Object getValueObject()
ListModelIterator
getValueObject
in interface ListModelIterator
ListModelIterator.getValueObject()
public String getGroupName()
getGroupName
in interface ListModelIterator
public Object next()
next
in interface Iterator
public Object nextGroup()
nextGroup
in interface ListModelIterator
public boolean hasNext()
hasNext
in interface Iterator
public boolean hasNextInGroup()
hasNextInGroup
in interface ListModelIterator
public String getId()
ListModelIterator
getId
in interface ListModelIterator
public void remove()
remove
in interface Iterator
public void setValueProvider(ValueProvider valueProvider)
public ValueProvider getValueProvider()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |