Class RollupView
java.lang.Object
io.deephaven.multiviewwidget.views.RollupView
- All Implemented Interfaces:
Deflatable<ViewTab>,ViewTab
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRollupView(@NotNull String name, @NotNull Table table, @Nullable Color tabColor, @NotNull Set<String> groupingColumns, @Nullable RollupDefinition defaultRollup, @NotNull Map<Class<?>, AggType> aggsByType, @NotNull Map<String, Set<AggType>> aggsByColumn, @NotNull List<AggSortDefinition> sortOrdering, @Nullable FormatDefinition formats, @NotNull List<ViewLink> linkViews, boolean startCollapsed) -
Method Summary
Modifier and TypeMethodDescriptiondeflate(ExportedObjectClient client) Convert this object into an Inflatable suitable for serialization.getDefaultAggForType(Class<?> dataType) getDefaultColumnAggs(String name) booleanboolean@Nullable Color@NotNull String@NotNull JComponentgetViewTabPanel(@NotNull WidgetContext widgetContext) Get the component associated with thisViewTab.booleanvoidonGlobalFiltersChanged(Collection<String> changedColumns, boolean lazy) voidsetHasError(boolean hasError) voidsetIsDirty(boolean isDirty) voidupdateIfDirty(boolean synchronous, boolean refresh) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.multiviewwidget.views.ViewTab
onGlobalFiltersChanged, possiblyNullDeflateTable, updateIfDirty
-
Constructor Details
-
RollupView
public RollupView(@NotNull @NotNull String name, @NotNull @NotNull Table table, @Nullable @Nullable Color tabColor, @NotNull @NotNull Set<String> groupingColumns, @Nullable @Nullable RollupDefinition defaultRollup, @NotNull @NotNull Map<Class<?>, AggType> aggsByType, @NotNull @NotNull Map<String, Set<AggType>> aggsByColumn, @NotNull @NotNull List<AggSortDefinition> sortOrdering, @Nullable @Nullable FormatDefinition formats, @NotNull @NotNull List<ViewLink> linkViews, boolean startCollapsed)
-
-
Method Details
-
getViewTabName
- Specified by:
getViewTabNamein interfaceViewTab
-
getTabColor
- Specified by:
getTabColorin interfaceViewTab
-
getViewTabPanel
Description copied from interface:ViewTabGet the component associated with thisViewTab.- Specified by:
getViewTabPanelin interfaceViewTab- Parameters:
widgetContext- the context to create the component with.- Returns:
- the component.
-
onGlobalFiltersChanged
- Specified by:
onGlobalFiltersChangedin interfaceViewTab
-
updateIfDirty
public void updateIfDirty(boolean synchronous, boolean refresh) - Specified by:
updateIfDirtyin interfaceViewTab
-
setIsDirty
public void setIsDirty(boolean isDirty) - Specified by:
setIsDirtyin interfaceViewTab
-
getIsDirty
public boolean getIsDirty()- Specified by:
getIsDirtyin interfaceViewTab
-
setHasError
public void setHasError(boolean hasError) - Specified by:
setHasErrorin interfaceViewTab
-
getHasError
public boolean getHasError()- Specified by:
getHasErrorin interfaceViewTab
-
getBaseTable
-
getCurrentRollup
-
getGroupableColumns
-
getDefaultColumnAggs
-
getDefaultAggForType
-
getGlobalFilters
-
getFormats
-
getLinkViews
-
getSortDirectives
-
isStartCollapsed
public boolean isStartCollapsed() -
deflate
Description copied from interface:DeflatableConvert this object into an Inflatable suitable for serialization.- Specified by:
deflatein interfaceDeflatable<ViewTab>- Parameters:
client- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-