Interface LeafViewBuilder
- All Superinterfaces:
ViewFactory
- All Known Implementing Classes:
LeafViewBuilderImpl
A builder to define a Leaf View. See
ViewFactory.addLeafView(String, Table).-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull LeafViewBuilderleafColumnOrder(@NotNull String... leafFrontCols) Identifies columns which should be displayed toward the beginning of the resultant columns@NotNull LeafViewBuilderleafColumnOrder(@NotNull Collection<String> leafFrontCols) Identifies columns which should be displayed toward the beginning of the resultant columnsdefault @NotNull LeafViewBuilderleafFormatColumns(@NotNull String... leafFormats) Defines a number of column-level formats which will be applied to the resultant table.@NotNull LeafViewBuilderleafFormatColumns(@NotNull Collection<String> leafFormats) Defines a number of column-level formats which will be applied to the resultant table.@NotNull LeafViewBuilderleafFormatColumnWhere(@NotNull String leafFormatCol, @NotNull String leafFormatCondition, @NotNull String leafFormatColor) Defines a conditional columnar format.default @NotNull LeafViewBuilderleafSortAscending(@NotNull String... leafSortCols) Identifies columns used for sort-ordering of the resultant table@NotNull LeafViewBuilderleafSortAscending(@NotNull Collection<String> leafSortCols) Identifies columns used for sort-ordering of the resultant tabledefault @NotNull LeafViewBuilderleafSortDescending(@NotNull String... leafSortCols) Identifies columns used for sort-ordering of the resultant table@NotNull LeafViewBuilderleafSortDescending(@NotNull Collection<String> leafSortCols) Identifies columns used for sort-ordering of the resultant table@NotNull LeafViewBuilderwithTotals(boolean includeTotals) Identifies if the view should include a totals row.Methods inherited from interface io.deephaven.multiviewwidget.builder.ViewFactory
addAggView, addAggView, addGlobalFilter, addGlobalFilter, addLeafView, addLeafView, addPivotView, addPivotView, addPivotView, addPivotView, addPivotView, addPivotView, addPivotView, addPivotView, addPlotView, addPlotView, addPlotView, addPlotView, addRollupView, addRollupView, addStaticFilter, build, collapseGlobalFilter, collapseGlobalFilter, getBuilder, globalFilterBucket, globalFilterBucket
-
Method Details
-
withTotals
Identifies if the view should include a totals row. This is 'true' by default.- Parameters:
includeTotals- if the view should include totals.- Returns:
- this
PivotViewBuilder
-
leafColumnOrder
@NotNull @ScriptApi @NotNull LeafViewBuilder leafColumnOrder(@NotNull @NotNull Collection<String> leafFrontCols) Identifies columns which should be displayed toward the beginning of the resultant columns- Parameters:
leafFrontCols- column name(s) which should be shown near the beginning of the resultant columns- Returns:
- this
LeafViewBuilder
-
leafColumnOrder
@NotNull @ScriptApi default @NotNull LeafViewBuilder leafColumnOrder(@NotNull @NotNull String... leafFrontCols) Identifies columns which should be displayed toward the beginning of the resultant columns- Parameters:
leafFrontCols- column name(s) which should be shown near the beginning of the resultant columns- Returns:
- this
LeafViewBuilder
-
leafSortAscending
@NotNull @ScriptApi @NotNull LeafViewBuilder leafSortAscending(@NotNull @NotNull Collection<String> leafSortCols) Identifies columns used for sort-ordering of the resultant table- Parameters:
leafSortCols- column name(s) which will identify the resultant sorting- Returns:
- this
LeafViewBuilder
-
leafSortAscending
@NotNull @ScriptApi default @NotNull LeafViewBuilder leafSortAscending(@NotNull @NotNull String... leafSortCols) Identifies columns used for sort-ordering of the resultant table- Parameters:
leafSortCols- column name(s) which will identify the resultant sorting- Returns:
- this
LeafViewBuilder
-
leafSortDescending
@NotNull @ScriptApi @NotNull LeafViewBuilder leafSortDescending(@NotNull @NotNull Collection<String> leafSortCols) Identifies columns used for sort-ordering of the resultant table- Parameters:
leafSortCols- column name(s) which will identify the resultant sorting- Returns:
- this
LeafViewBuilder
-
leafSortDescending
@NotNull @ScriptApi default @NotNull LeafViewBuilder leafSortDescending(@NotNull @NotNull String... leafSortCols) Identifies columns used for sort-ordering of the resultant table- Parameters:
leafSortCols- column name(s) which will identify the resultant sorting- Returns:
- this
LeafViewBuilder
-
leafFormatColumns
@NotNull @ScriptApi @NotNull LeafViewBuilder leafFormatColumns(@NotNull @NotNull Collection<String> leafFormats) Defines a number of column-level formats which will be applied to the resultant table. The formatting is identical to that defined byTable.formatColumns(String...)- Parameters:
leafFormats- Columnar formatting to be applied to the resultant table- Returns:
- this
LeafViewBuilder
-
leafFormatColumns
@NotNull @ScriptApi default @NotNull LeafViewBuilder leafFormatColumns(@NotNull @NotNull String... leafFormats) Defines a number of column-level formats which will be applied to the resultant table. The formatting is identical to that defined byTable.formatColumns(String...)- Parameters:
leafFormats- Columnar formatting to be applied to the resultant table- Returns:
- this
LeafViewBuilder
-
leafFormatColumnWhere
@NotNull @ScriptApi @NotNull LeafViewBuilder leafFormatColumnWhere(@NotNull @NotNull String leafFormatCol, @NotNull @NotNull String leafFormatCondition, @NotNull @NotNull String leafFormatColor) Defines a conditional columnar format. SeeTable.formatColumnWhere(String, String, String)- Parameters:
leafFormatCol- the columns which will have conditional formatting appliedleafFormatCondition- the condition used to identify if the color should be appliedleafFormatColor- the color to conditionally apply- Returns:
- this
LeafViewBuilder
-