Class TwoTablesSectionBuilder.Builder<T,V>
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.builders.TwoTablesSectionBuilder.Builder<T,V>
- All Implemented Interfaces:
IColumnBuilder<V,,EditableTable<V>, TwoTablesSectionBuilder.FinalBuilder<T, V>> ITableBuilder<TwoTablesSectionBuilder.FinalBuilder<T,,V>, TwoTablesSectionBuilder.ToolBarBuilder<T, V>> ITableListElementsBuilder<T,,V, TwoTablesSectionBuilder.ColumnBuilder<T, V>> IToolBarBuilder<V,,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>> TwoTablesSectionBuilder.ColumnBuilder<T,,V> TwoTablesSectionBuilder.FinalBuilder<T,,V> TwoTablesSectionBuilder.TableListElementsBuilder<T,,V> TwoTablesSectionBuilder.ToolBarBuilder<T,V>
- Enclosing class:
TwoTablesSectionBuilder
public static class TwoTablesSectionBuilder.Builder<T,V>
extends Object
implements TwoTablesSectionBuilder.TableListElementsBuilder<T,V>, TwoTablesSectionBuilder.ColumnBuilder<T,V>, TwoTablesSectionBuilder.FinalBuilder<T,V>, TwoTablesSectionBuilder.ToolBarBuilder<T,V>
-
Method Summary
Modifier and TypeMethodDescriptioncheckbox()columns(Consumer<EditableTable<V>> columns) static <T1,V1> TwoTablesSectionBuilder.TableListElementsBuilder <T1, V1> create(TableProperties<T1, V1, EditableTable<V1>> tableProperties, TableToolBarProperties<V1> toolbarProperties) customAddElementAction(Function<Table<V>, V> customAction) customCopyElementAction(BiFunction<Table<V>, V, V> customCopyElementAction) customMoveDownElementAction(BiConsumer<Table<V>, V> customMoveDownElementAction) customMoveUpElementAction(BiConsumer<Table<V>, V> customMoveUpElementAction) customRefreshTableAction(Consumer<Table<V>> customRefreshAction) customRemoveElementAction(BiConsumer<Table<V>, List<V>> customRemoveElementsAction) customToolItem(ToolItemProperties<?> customToolItemProperties) defaultAddElementAction(Supplier<V> createNewElement) defaultCopyElementAction(UnaryOperator<V> defaultCopyElementAction) elementsExtractor(Function<T, List<V>> elementsExtractor) end()height(int height) selectElementsFromTableToolItem(SelectElementsFromTableToolItemProperties<V> selectElementsProperties) style(int style) toolbar()virtual()width(int width)
-
Method Details
-
create
public static <T1,V1> TwoTablesSectionBuilder.TableListElementsBuilder<T1,V1> create(TableProperties<T1, V1, EditableTable<V1>> tableProperties, TableToolBarProperties<V1> toolbarProperties) -
elementsExtractor
public TwoTablesSectionBuilder.ColumnBuilder<T,V> elementsExtractor(Function<T, List<V>> elementsExtractor) - Specified by:
elementsExtractorin interfaceITableListElementsBuilder<T,V, TwoTablesSectionBuilder.ColumnBuilder<T, V>>
-
columns
- Specified by:
columnsin interfaceIColumnBuilder<V,EditableTable<V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
height
- Specified by:
heightin interfaceITableBuilder<T,V>
-
width
- Specified by:
widthin interfaceITableBuilder<T,V>
-
style
- Specified by:
stylein interfaceITableBuilder<T,V>
-
checkbox
- Specified by:
checkboxin interfaceITableBuilder<T,V>
-
virtual
- Specified by:
virtualin interfaceITableBuilder<T,V>
-
syncUpdate
- Specified by:
syncUpdatein interfaceITableBuilder<T,V>
-
toolbar
- Specified by:
toolbarin interfaceITableBuilder<T,V>
-
end
- Specified by:
endin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
selectElementsFromTableToolItem
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> selectElementsFromTableToolItem(SelectElementsFromTableToolItemProperties<V> selectElementsProperties) - Specified by:
selectElementsFromTableToolItemin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
customToolItem
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> customToolItem(ToolItemProperties<?> customToolItemProperties) - Specified by:
customToolItemin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
defaultAddElementAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> defaultAddElementAction(Supplier<V> createNewElement) - Specified by:
defaultAddElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
customAddElementAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> customAddElementAction(Function<Table<V>, V> customAction) - Specified by:
customAddElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
defaultRemoveElementAction
- Specified by:
defaultRemoveElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
customRemoveElementAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> customRemoveElementAction(BiConsumer<Table<V>, List<V>> customRemoveElementsAction) - Specified by:
customRemoveElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
defaultMoveUpElementAction
- Specified by:
defaultMoveUpElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
customMoveUpElementAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> customMoveUpElementAction(BiConsumer<Table<V>, V> customMoveUpElementAction) - Specified by:
customMoveUpElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
defaultRefreshTableAction
- Specified by:
defaultRefreshTableActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
customRefreshTableAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> customRefreshTableAction(Consumer<Table<V>> customRefreshAction) - Specified by:
customRefreshTableActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
defaultMoveDownElementAction
- Specified by:
defaultMoveDownElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
customMoveDownElementAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> customMoveDownElementAction(BiConsumer<Table<V>, V> customMoveDownElementAction) - Specified by:
customMoveDownElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
defaultCopyElementAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> defaultCopyElementAction(UnaryOperator<V> defaultCopyElementAction) - Specified by:
defaultCopyElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
customCopyElementAction
public TwoTablesSectionBuilder.ToolBarBuilder<T,V> customCopyElementAction(BiFunction<Table<V>, V, V> customCopyElementAction) - Specified by:
customCopyElementActionin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-
showTextAndIcon
- Specified by:
showTextAndIconin interfaceIToolBarBuilder<V,TwoTablesSectionBuilder.ToolBarBuilder<T, V>, TwoTablesSectionBuilder.FinalBuilder<T, V>>
-