Class StaticFilterBuilderImpl
java.lang.Object
io.deephaven.multiviewwidget.impl.filter.StaticFilterBuilderImpl
- All Implemented Interfaces:
FilterViewFactory,StaticFilterBuilder,ViewFactory
-
Constructor Summary
ConstructorsConstructorDescriptionStaticFilterBuilderImpl(@NotNull WidgetBuilder parentBuilder, @NotNull String name) -
Method Summary
Modifier and TypeMethodDescription@NotNull FilterItemBuilderCreate a filter with the specified name.@NotNull StaticFilterBuilderaddFilterItem(@NotNull CheckboxFilterComponent item) Add aCheckboxFilterComponentcreated via aFilterItemBuilderto the currently activeGroupFilterComponent.@NotNull StaticFilterBuilderAdd a spacer widget to visually separate items.@NotNull StaticFilterBuilderendGroup()Complete a filter group.@NotNull WidgetBuilderGet the parent builder in its current state.@NotNull StaticFilterBuilderGet the parentStaticFilterBuilderto add more clauses.@NotNull StaticFilterBuilderAdd a named group to the top of the group stack.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.multiviewwidget.builder.filter.FilterViewFactory
addSpacer, group, group, groupMethods 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, globalFilterBucket, globalFilterBucket
-
Constructor Details
-
StaticFilterBuilderImpl
public StaticFilterBuilderImpl(@NotNull @NotNull WidgetBuilder parentBuilder, @NotNull @NotNull String name)
-
-
Method Details
-
getBuilder
Description copied from interface:ViewFactoryGet the parent builder in its current state. May be used to store intermediary states of the builder in order to separate widget-creation into multiple distinct sections- Specified by:
getBuilderin interfaceFilterViewFactory- Specified by:
getBuilderin interfaceViewFactory- Returns:
- the parent builder
-
getFilterBuilder
Description copied from interface:FilterViewFactoryGet the parentStaticFilterBuilderto add more clauses.- Specified by:
getFilterBuilderin interfaceFilterViewFactory- Returns:
- the parent builder
-
group
@NotNull public @NotNull StaticFilterBuilder group(@Nullable @Nullable String name, @NotNull @NotNull Layout orientation) Description copied from interface:FilterViewFactoryAdd a named group to the top of the group stack. The panel will be rendered with a border containing the name. Items will be laid out as specified. Subsequent calls toFilterViewFactory.addFilter(String)will add to this group.- Specified by:
groupin interfaceFilterViewFactory- Returns:
- this
StaticFilterBuilder
-
endGroup
Description copied from interface:FilterViewFactoryComplete a filter group. The group will be added to the panel and popped from the current stack. Subsequent invocations of other methods will apply to the previous group, or the root group if there were none.- Specified by:
endGroupin interfaceFilterViewFactory- Returns:
- this
StaticFilterBuilder
-
addSpacer
Description copied from interface:FilterViewFactoryAdd a spacer widget to visually separate items.- Specified by:
addSpacerin interfaceFilterViewFactory- Parameters:
orientation- the orientation of the spacer.- Returns:
- this
StaticFilterBuilder
-
addFilterItem
@NotNull public @NotNull StaticFilterBuilder addFilterItem(@NotNull @NotNull CheckboxFilterComponent item) Description copied from interface:StaticFilterBuilderAdd aCheckboxFilterComponentcreated via aFilterItemBuilderto the currently activeGroupFilterComponent. Note: This methods is not intended for customer use.- Specified by:
addFilterItemin interfaceStaticFilterBuilder- Parameters:
item- the item to add.- Returns:
- this
StaticFilterBuilder
-
addFilter
Description copied from interface:FilterViewFactoryCreate a filter with the specified name.- Specified by:
addFilterin interfaceFilterViewFactory- Parameters:
name- the name- Returns:
- a new
FilterItemBuilderto define the filter
-