Package net.officefloor.gef.configurer
Interface ListBuilder<M,I>
-
- All Superinterfaces:
Builder<M,java.util.List<I>,ListBuilder<M,I>>
,ItemBuilder<I>
- All Known Implementing Classes:
ListBuilderImpl
public interface ListBuilder<M,I> extends ItemBuilder<I>, Builder<M,java.util.List<I>,ListBuilder<M,I>>
Builder of a list of models.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBuilder<M,I>
addItem(java.util.function.Supplier<I> itemFactory)
Provides means to add an item to the list.ListBuilder<M,I>
deleteItem()
Allows for deleting an item from the list.-
Methods inherited from interface net.officefloor.gef.configurer.ItemBuilder
flag, text
-
-
-
-
Method Detail
-
addItem
ListBuilder<M,I> addItem(java.util.function.Supplier<I> itemFactory)
Provides means to add an item to the list.- Parameters:
itemFactory
-Supplier
for the new item.- Returns:
this
.
-
deleteItem
ListBuilder<M,I> deleteItem()
Allows for deleting an item from the list.- Returns:
this
.
-
-