Class LeafView

java.lang.Object
io.deephaven.multiviewwidget.views.LeafView
All Implemented Interfaces:
Deflatable<ViewTab>, ViewTab

public class LeafView extends Object implements 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
  • Constructor Details

  • Method Details

    • getViewTabName

      @NotNull public @NotNull String getViewTabName()
      Specified by:
      getViewTabName in interface ViewTab
    • getBaseTable

      @NotNull public @NotNull Table getBaseTable()
    • getTabColor

      @Nullable public @Nullable Color getTabColor()
      Specified by:
      getTabColor in interface ViewTab
    • getHasTotals

      public boolean getHasTotals()
    • getViewTabPanel

      @NotNull public @NotNull JPanel getViewTabPanel(@NotNull @NotNull WidgetContext widgetContext)
      Description copied from interface: ViewTab
      Get the component associated with this ViewTab.
      Specified by:
      getViewTabPanel in interface ViewTab
      Parameters:
      widgetContext - the context to create the component with.
      Returns:
      the component.
    • onGlobalFiltersChanged

      public void onGlobalFiltersChanged(Collection<String> changedColumns, boolean lazy)
      Specified by:
      onGlobalFiltersChanged in interface ViewTab
    • updateIfDirty

      public void updateIfDirty(boolean synchronous, boolean refresh)
      Specified by:
      updateIfDirty in interface ViewTab
    • setIsDirty

      public void setIsDirty(boolean isDirty)
      Specified by:
      setIsDirty in interface ViewTab
    • getIsDirty

      public boolean getIsDirty()
      Specified by:
      getIsDirty in interface ViewTab
    • setHasError

      public void setHasError(boolean hasError)
      Specified by:
      setHasError in interface ViewTab
    • getHasError

      public boolean getHasError()
      Specified by:
      getHasError in interface ViewTab
    • getGlobalFilters

      public Map<String,SelectFilter> getGlobalFilters()
    • getSortOrdering

      @NotNull public @NotNull Collection<SortDefinition> getSortOrdering()
    • getPriorityColumns

      @NotNull public @NotNull Collection<String> getPriorityColumns()
    • getFormats

      @NotNull public @NotNull FormatDefinition getFormats()
    • deflate

      public Inflatable<ViewTab> deflate(@NotNull @NotNull ExportedObjectClient client)
      Description copied from interface: Deflatable
      Convert this object into an Inflatable suitable for serialization.
      Specified by:
      deflate in interface Deflatable<ViewTab>
      Parameters:
      client - the ExportedObjectClient we are deflating for.
      Returns:
      an Inflatable for serializing to the client