Class ListBuilderImpl<M,​I>

    • Constructor Detail

      • ListBuilderImpl

        public ListBuilderImpl​(java.lang.String label)
        Instantiate.
        Parameters:
        label - Label.
    • Method Detail

      • isUpdateItemAddRow

        public static <R> boolean isUpdateItemAddRow​(javafx.scene.control.TableCell<R,​?> tableCell)
        Indicates if add row (configuring TableCell for add row).
        Type Parameters:
        R - Row object type.
        Parameters:
        tableCell - TableCell.
        Returns:
        true if add row.
      • addItem

        public ListBuilder<M,​I> addItem​(java.util.function.Supplier<I> itemFactory)
        Description copied from interface: ListBuilder
        Provides means to add an item to the list.
        Specified by:
        addItem in interface ListBuilder<M,​I>
        Parameters:
        itemFactory - Supplier for the new item.
        Returns:
        this.