Class LeafView
java.lang.Object
io.deephaven.multiviewwidget.views.LeafView
- All Implemented Interfaces:
Deflatable<ViewTab>,ViewTab
A plain-table view with totals table. This object exists on both the server and client side; only the client-side
will ever attempt to construct/access the
LeafViewPanel-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLeafView(@NotNull String name, @NotNull Table liveTable, @Nullable Color tabColor, @NotNull Collection<SortDefinition> sortOrdering, @NotNull Collection<String> priorityColumns, @NotNull FormatDefinition formats, boolean includeTotals) -
Method Summary
Modifier and TypeMethodDescriptiondeflate(@NotNull ExportedObjectClient client) Convert this object into an Inflatable suitable for serialization.@NotNull Table@NotNull FormatDefinitionbooleanbooleanboolean@NotNull Collection<String>@NotNull Collection<SortDefinition>@Nullable Color@NotNull String@NotNull JPanelgetViewTabPanel(@NotNull WidgetContext widgetContext) Get the component associated with thisViewTab.voidonGlobalFiltersChanged(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
-
LeafView
public LeafView(@NotNull @NotNull String name, @NotNull @NotNull Table liveTable, @Nullable @Nullable Color tabColor, @NotNull @NotNull Collection<SortDefinition> sortOrdering, @NotNull @NotNull Collection<String> priorityColumns, @NotNull @NotNull FormatDefinition formats, boolean includeTotals)
-
-
Method Details
-
getViewTabName
- Specified by:
getViewTabNamein interfaceViewTab
-
getBaseTable
-
getTabColor
- Specified by:
getTabColorin interfaceViewTab
-
getHasTotals
public boolean getHasTotals() -
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
-
getGlobalFilters
-
getSortOrdering
-
getPriorityColumns
-
getFormats
-
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
-