public class ModelLessRepeater extends AbstractRepeater
Modifier and Type | Field and Description |
---|---|
protected AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> |
_typeExtensionPoint
Extension point to use to get available element types
|
_repositoryData
Constructor and Description |
---|
ModelLessRepeater(AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> typeExtensionPoint,
RepositoryData repositoryData)
Creates a model free repeater
|
Modifier and Type | Method and Description |
---|---|
List<? extends ModelLessRepeaterEntry> |
getEntries()
Retrieves the repeater entries, sorted by position
|
ModelLessRepeaterEntry |
getEntry(int position)
Retrieves the repeater entry at the given position.
|
copyTo, getSize, hasEntry, moveEntries, removeEntry
protected AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> _typeExtensionPoint
public ModelLessRepeater(AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> typeExtensionPoint, RepositoryData repositoryData)
typeExtensionPoint
- the extension point to use to get available element typesrepositoryData
- the repository data to usepublic List<? extends ModelLessRepeaterEntry> getEntries()
Repeater
getEntries
in interface Repeater
getEntries
in class AbstractRepeater
public ModelLessRepeaterEntry getEntry(int position)
Repeater
position
- the position of the entry to retrievenull
if there is no entry at this position